	.file	"locked_vs_unlocked1.c"
	.section	.debug_abbrev,"",@progbits
.Ldebug_abbrev0:
	.section	.debug_info,"",@progbits
.Ldebug_info0:
	.section	.debug_line,"",@progbits
.Ldebug_line0:
	.text
.Ltext0:
	.cfi_sections	.debug_frame
.globl mx
	.bss
	.align 4
	.type	mx, @object
	.size	mx, 24
mx:
	.zero	24
.globl x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.text
.globl child_fn
	.type	child_fn, @function
child_fn:
.LFB0:
	.file 1 "locked_vs_unlocked1.c"
	.loc 1 17 0
	.cfi_startproc
	pushl	%ebp
	.cfi_def_cfa_offset 8
	.cfi_offset 5, -8
	movl	%esp, %ebp
	.cfi_def_cfa_register 5
	subl	$24, %esp
	.loc 1 18 0
	cmpl	$0, 8(%ebp)
	je	.L2
	movl	$mx, (%esp)
	call	pthread_mutex_lock
.L2:
	.loc 1 19 0
	movl	$1, x
	.loc 1 20 0
	cmpl	$0, 8(%ebp)
	je	.L3
	movl	$mx, (%esp)
	call	pthread_mutex_unlock
.L3:
	.loc 1 21 0
	movl	$0, %eax
	.loc 1 22 0
	leave
	.cfi_restore 5
	.cfi_def_cfa 4, 4
	ret
	.cfi_endproc
.LFE0:
	.size	child_fn, .-child_fn
	.section	.rodata
.LC0:
	.string	"pthread_create1"
.LC1:
	.string	"pthread join1"
.LC2:
	.string	"pthread join2"
	.text
.globl main
	.type	main, @function
main:
.LFB1:
	.loc 1 25 0
	.cfi_startproc
	pushl	%ebp
	.cfi_def_cfa_offset 8
	.cfi_offset 5, -8
	movl	%esp, %ebp
	.cfi_def_cfa_register 5
	andl	$-16, %esp
	subl	$32, %esp
	.loc 1 26 0
	cmpl	$1, 8(%ebp)
	setg	%al
	movzbl	%al, %eax
	movl	%eax, 28(%esp)
	.loc 1 29 0
	cmpl	$0, 28(%esp)
	jne	.L6
	movl	$1, %eax
	jmp	.L7
.L6:
	movl	$0, %eax
.L7:
	movl	%eax, 12(%esp)
	movl	$child_fn, 8(%esp)
	movl	$0, 4(%esp)
	leal	24(%esp), %eax
	movl	%eax, (%esp)
	call	pthread_create
	testl	%eax, %eax
	je	.L8
	.loc 1 30 0
	movl	$.LC0, (%esp)
	call	perror
	.loc 1 31 0
	movl	$1, (%esp)
	call	exit
.L8:
	.loc 1 33 0
	movl	$1, (%esp)
	call	sleep
	.loc 1 34 0
	cmpl	$0, 28(%esp)
	je	.L9
	movl	$1, %eax
	jmp	.L10
.L9:
	movl	$0, %eax
.L10:
	movl	%eax, 12(%esp)
	movl	$child_fn, 8(%esp)
	movl	$0, 4(%esp)
	leal	20(%esp), %eax
	movl	%eax, (%esp)
	call	pthread_create
	testl	%eax, %eax
	je	.L11
	.loc 1 35 0
	movl	$.LC0, (%esp)
	call	perror
	.loc 1 36 0
	movl	$1, (%esp)
	call	exit
.L11:
	.loc 1 39 0
	movl	24(%esp), %eax
	movl	$0, 4(%esp)
	movl	%eax, (%esp)
	call	pthread_join
	testl	%eax, %eax
	je	.L12
	.loc 1 40 0
	movl	$.LC1, (%esp)
	call	perror
	.loc 1 41 0
	movl	$1, (%esp)
	call	exit
.L12:
	.loc 1 44 0
	movl	20(%esp), %eax
	movl	$0, 4(%esp)
	movl	%eax, (%esp)
	call	pthread_join
	testl	%eax, %eax
	je	.L13
	.loc 1 45 0
	movl	$.LC2, (%esp)
	call	perror
	.loc 1 46 0
	movl	$1, (%esp)
	call	exit
.L13:
	.loc 1 49 0
	movl	$0, %eax
	.loc 1 50 0
	leave
	.cfi_restore 5
	.cfi_def_cfa 4, 4
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
.Letext0:
	.file 2 "/usr/include/bits/pthreadtypes.h"
	.section	.debug_info
	.long	0x228
	.value	0x3
	.long	.Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.long	.LASF32
	.byte	0x1
	.long	.LASF33
	.long	.LASF34
	.long	.Ltext0
	.long	.Letext0
	.long	.Ldebug_line0
	.uleb128 0x2
	.byte	0x1
	.byte	0x8
	.long	.LASF0
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.long	.LASF1
	.uleb128 0x2
	.byte	0x4
	.byte	0x7
	.long	.LASF2
	.uleb128 0x2
	.byte	0x4
	.byte	0x7
	.long	.LASF3
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.long	.LASF4
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.long	.LASF5
	.uleb128 0x3
	.byte	0x4
	.byte	0x5
	.string	"int"
	.uleb128 0x2
	.byte	0x8
	.byte	0x5
	.long	.LASF6
	.uleb128 0x2
	.byte	0x8
	.byte	0x7
	.long	.LASF7
	.uleb128 0x2
	.byte	0x4
	.byte	0x5
	.long	.LASF8
	.uleb128 0x4
	.byte	0x4
	.uleb128 0x5
	.byte	0x4
	.long	0x73
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.long	.LASF9
	.uleb128 0x6
	.long	.LASF10
	.byte	0x2
	.byte	0x24
	.long	0x3a
	.uleb128 0x7
	.long	.LASF14
	.byte	0x4
	.byte	0x2
	.byte	0x2f
	.long	0x9e
	.uleb128 0x8
	.long	.LASF16
	.byte	0x2
	.byte	0x30
	.long	0x9e
	.sleb128 0
	.byte	0x0
	.uleb128 0x5
	.byte	0x4
	.long	0x85
	.uleb128 0x6
	.long	.LASF11
	.byte	0x2
	.byte	0x31
	.long	0x85
	.uleb128 0x9
	.byte	0x4
	.byte	0x2
	.byte	0x42
	.long	0xce
	.uleb128 0xa
	.long	.LASF12
	.byte	0x2
	.byte	0x43
	.long	0x4f
	.uleb128 0xa
	.long	.LASF13
	.byte	0x2
	.byte	0x44
	.long	0xa4
	.byte	0x0
	.uleb128 0x7
	.long	.LASF15
	.byte	0x18
	.byte	0x2
	.byte	0x39
	.long	0x11d
	.uleb128 0x8
	.long	.LASF17
	.byte	0x2
	.byte	0x3a
	.long	0x4f
	.sleb128 0
	.uleb128 0x8
	.long	.LASF18
	.byte	0x2
	.byte	0x3b
	.long	0x33
	.sleb128 4
	.uleb128 0x8
	.long	.LASF19
	.byte	0x2
	.byte	0x3c
	.long	0x4f
	.sleb128 8
	.uleb128 0x8
	.long	.LASF20
	.byte	0x2
	.byte	0x3f
	.long	0x4f
	.sleb128 12
	.uleb128 0x8
	.long	.LASF21
	.byte	0x2
	.byte	0x40
	.long	0x33
	.sleb128 16
	.uleb128 0xb
	.long	0xaf
	.sleb128 20
	.byte	0x0
	.uleb128 0x9
	.byte	0x18
	.byte	0x2
	.byte	0x37
	.long	0x147
	.uleb128 0xa
	.long	.LASF22
	.byte	0x2
	.byte	0x46
	.long	0xce
	.uleb128 0xa
	.long	.LASF23
	.byte	0x2
	.byte	0x47
	.long	0x147
	.uleb128 0xa
	.long	.LASF24
	.byte	0x2
	.byte	0x48
	.long	0x64
	.byte	0x0
	.uleb128 0xc
	.long	0x73
	.long	0x157
	.uleb128 0xd
	.long	0x33
	.byte	0x17
	.byte	0x0
	.uleb128 0x6
	.long	.LASF25
	.byte	0x2
	.byte	0x49
	.long	0x11d
	.uleb128 0xe
	.byte	0x1
	.long	.LASF26
	.byte	0x1
	.byte	0x10
	.byte	0x1
	.long	0x6b
	.long	.LFB0
	.long	.LFE0
	.byte	0x1
	.byte	0x9c
	.long	0x18c
	.uleb128 0xf
	.string	"arg"
	.byte	0x1
	.byte	0x10
	.long	0x6b
	.byte	0x2
	.byte	0x91
	.sleb128 0
	.byte	0x0
	.uleb128 0xe
	.byte	0x1
	.long	.LASF27
	.byte	0x1
	.byte	0x18
	.byte	0x1
	.long	0x4f
	.long	.LFB1
	.long	.LFE1
	.byte	0x1
	.byte	0x9c
	.long	0x1ed
	.uleb128 0x10
	.long	.LASF28
	.byte	0x1
	.byte	0x18
	.long	0x4f
	.byte	0x2
	.byte	0x91
	.sleb128 0
	.uleb128 0x10
	.long	.LASF29
	.byte	0x1
	.byte	0x18
	.long	0x1ed
	.byte	0x2
	.byte	0x91
	.sleb128 4
	.uleb128 0x11
	.string	"sw"
	.byte	0x1
	.byte	0x1a
	.long	0x4f
	.byte	0x2
	.byte	0x74
	.sleb128 28
	.uleb128 0x12
	.long	.LASF30
	.byte	0x1
	.byte	0x1b
	.long	0x7a
	.byte	0x2
	.byte	0x74
	.sleb128 24
	.uleb128 0x12
	.long	.LASF31
	.byte	0x1
	.byte	0x1b
	.long	0x7a
	.byte	0x2
	.byte	0x74
	.sleb128 20
	.byte	0x0
	.uleb128 0x5
	.byte	0x4
	.long	0x6d
	.uleb128 0x13
	.string	"mx"
	.byte	0x1
	.byte	0xc
	.long	0x157
	.byte	0x1
	.byte	0x1
	.uleb128 0x13
	.string	"x"
	.byte	0x1
	.byte	0xe
	.long	0x4f
	.byte	0x1
	.byte	0x1
	.uleb128 0x14
	.string	"mx"
	.byte	0x1
	.byte	0xc
	.long	0x157
	.byte	0x1
	.byte	0x5
	.byte	0x3
	.long	mx
	.uleb128 0x14
	.string	"x"
	.byte	0x1
	.byte	0xe
	.long	0x4f
	.byte	0x1
	.byte	0x5
	.byte	0x3
	.long	x
	.byte	0x0
	.section	.debug_abbrev
	.uleb128 0x1
	.uleb128 0x11
	.byte	0x1
	.uleb128 0x25
	.uleb128 0xe
	.uleb128 0x13
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x1b
	.uleb128 0xe
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x10
	.uleb128 0x6
	.byte	0x0
	.byte	0x0
	.uleb128 0x2
	.uleb128 0x24
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0xe
	.byte	0x0
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x24
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0x8
	.byte	0x0
	.byte	0x0
	.uleb128 0x4
	.uleb128 0xf
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.uleb128 0x5
	.uleb128 0xf
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x6
	.uleb128 0x16
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x7
	.uleb128 0x13
	.byte	0x1
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x8
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x38
	.uleb128 0xd
	.byte	0x0
	.byte	0x0
	.uleb128 0x9
	.uleb128 0x17
	.byte	0x1
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xa
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x38
	.uleb128 0xd
	.byte	0x0
	.byte	0x0
	.uleb128 0xc
	.uleb128 0x1
	.byte	0x1
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xd
	.uleb128 0x21
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2f
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.uleb128 0xe
	.uleb128 0x2e
	.byte	0x1
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x27
	.uleb128 0xc
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x40
	.uleb128 0xa
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xf
	.uleb128 0x5
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x10
	.uleb128 0x5
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x11
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x12
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x13
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3c
	.uleb128 0xc
	.byte	0x0
	.byte	0x0
	.uleb128 0x14
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,"",@progbits
	.long	0x31
	.value	0x2
	.long	.Ldebug_info0
	.long	0x22c
	.long	0x162
	.string	"child_fn"
	.long	0x18c
	.string	"main"
	.long	0x20a
	.string	"mx"
	.long	0x21b
	.string	"x"
	.long	0x0
	.section	.debug_pubtypes,"",@progbits
	.long	0x79
	.value	0x2
	.long	.Ldebug_info0
	.long	0x22c
	.long	0x7a
	.string	"pthread_t"
	.long	0x85
	.string	"__pthread_internal_slist"
	.long	0xa4
	.string	"__pthread_slist_t"
	.long	0xce
	.string	"__pthread_mutex_s"
	.long	0x157
	.string	"pthread_mutex_t"
	.long	0x0
	.section	.debug_aranges,"",@progbits
	.long	0x1c
	.value	0x2
	.long	.Ldebug_info0
	.byte	0x4
	.byte	0x0
	.value	0x0
	.value	0x0
	.long	.Ltext0
	.long	.Letext0-.Ltext0
	.long	0x0
	.long	0x0
	.section	.debug_str,"MS",@progbits,1
.LASF22:
	.string	"__data"
.LASF29:
	.string	"argv"
.LASF17:
	.string	"__lock"
.LASF15:
	.string	"__pthread_mutex_s"
.LASF19:
	.string	"__owner"
.LASF34:
	.string	"/root/genprog-many-bugs/valgrind-bug-12474-12475/valgrind/helgrind/tests"
.LASF20:
	.string	"__kind"
.LASF25:
	.string	"pthread_mutex_t"
.LASF14:
	.string	"__pthread_internal_slist"
.LASF10:
	.string	"pthread_t"
.LASF0:
	.string	"unsigned char"
.LASF23:
	.string	"__size"
.LASF26:
	.string	"child_fn"
.LASF3:
	.string	"long unsigned int"
.LASF1:
	.string	"short unsigned int"
.LASF27:
	.string	"main"
.LASF2:
	.string	"unsigned int"
.LASF33:
	.string	"locked_vs_unlocked1.c"
.LASF7:
	.string	"long long unsigned int"
.LASF12:
	.string	"__spins"
.LASF32:
	.string	"GNU C 4.4.5 20101112 (Red Hat 4.4.5-2)"
.LASF30:
	.string	"child1"
.LASF31:
	.string	"child2"
.LASF6:
	.string	"long long int"
.LASF9:
	.string	"char"
.LASF11:
	.string	"__pthread_slist_t"
.LASF24:
	.string	"__align"
.LASF21:
	.string	"__nusers"
.LASF18:
	.string	"__count"
.LASF5:
	.string	"short int"
.LASF28:
	.string	"argc"
.LASF8:
	.string	"long int"
.LASF13:
	.string	"__list"
.LASF16:
	.string	"__next"
.LASF4:
	.string	"signed char"
	.ident	"GCC: (GNU) 4.4.5 20101112 (Red Hat 4.4.5-2)"
	.section	.note.GNU-stack,"",@progbits
