	.file	"179830842.c"
	.intel_syntax noprefix
	.text
	.globl	g
	.data
	.align 4
	.type	g, @object
	.size	g, 4
g:
	.long	10
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.long	10
	.globl	A
	.bss
	.align 32
	.type	A, @object
	.size	A, 40
A:
	.zero	40
	.section	.rodata
.LC0:
	.string	"the_stack_data/179830842.c"
.LC1:
	.string	"g == h"
	.text
	.globl	t_fun
	.type	t_fun, @function
t_fun:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, A[rip]
	call	pthread_mutex_lock@PLT
	mov	DWORD PTR g[rip], 31
	mov	DWORD PTR h[rip], 17
	lea	rdi, A[rip]
	call	pthread_mutex_unlock@PLT
	lea	rdi, A[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR g[rip]
	mov	eax, DWORD PTR h[rip]
	cmp	edx, eax
	je	.L2
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 17
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	lea	rdi, A[rip]
	call	pthread_mutex_unlock@PLT
	lea	rdi, A[rip]
	call	pthread_mutex_lock@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR g[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR h[rip], eax
	lea	rdi, A[rip]
	call	pthread_mutex_unlock@PLT
	lea	rdi, A[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR g[rip]
	mov	eax, DWORD PTR h[rip]
	cmp	edx, eax
	je	.L3
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 26
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L3:
	lea	rdi, A[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	t_fun, .-t_fun
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -96[rbp]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	ecx, 0
	lea	rdx, t_fun[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	add	DWORD PTR -100[rbp], 1
.L6:
	cmp	DWORD PTR -100[rbp], 9
	jle	.L7
	lea	rdi, A[rip]
	call	pthread_mutex_lock@PLT
	mov	edx, DWORD PTR g[rip]
	mov	eax, DWORD PTR h[rip]
	cmp	edx, eax
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 40
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L8:
	lea	rdi, A[rip]
	call	pthread_mutex_unlock@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 6
__PRETTY_FUNCTION__.1:
	.string	"t_fun"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"179830842.c"
	.text
	.global	g
	.data
	.align	2
	.type	g, %object
	.size	g, 4
g:
	.word	10
	.global	h
	.align	2
	.type	h, %object
	.size	h, 4
h:
	.word	10
	.global	A
	.bss
	.align	2
	.type	A, %object
	.size	A, 24
A:
	.space	24
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/179830842.c\000"
	.align	2
.LC1:
	.ascii	"g == h\000"
	.text
	.align	2
	.global	t_fun
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_fun, %function
t_fun:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L5
	bl	pthread_mutex_lock
	ldr	r3, .L5+4
	mov	r2, #31
	str	r2, [r3]
	ldr	r3, .L5+8
	mov	r2, #17
	str	r2, [r3]
	ldr	r0, .L5
	bl	pthread_mutex_unlock
	ldr	r0, .L5
	bl	pthread_mutex_lock
	ldr	r3, .L5+4
	ldr	r2, [r3]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L5+12
	mov	r2, #17
	ldr	r1, .L5+16
	ldr	r0, .L5+20
	bl	__assert_fail
.L2:
	ldr	r0, .L5
	bl	pthread_mutex_unlock
	ldr	r0, .L5
	bl	pthread_mutex_lock
	ldr	r2, .L5+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L5+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r0, .L5
	bl	pthread_mutex_unlock
	ldr	r0, .L5
	bl	pthread_mutex_lock
	ldr	r3, .L5+4
	ldr	r2, [r3]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
	ldr	r3, .L5+12
	mov	r2, #26
	ldr	r1, .L5+16
	ldr	r0, .L5+20
	bl	__assert_fail
.L3:
	ldr	r0, .L5
	bl	pthread_mutex_unlock
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	A
	.word	g
	.word	h
	.word	__PRETTY_FUNCTION__.4883
	.word	.LC0
	.word	.LC1
	.size	t_fun, .-t_fun
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L8
.L9:
	sub	r2, fp, #48
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	add	r0, r2, r3
	mov	r3, #0
	ldr	r2, .L13+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L8:
	ldr	r3, [fp, #-52]
	cmp	r3, #9
	ble	.L9
	ldr	r0, .L13+8
	bl	pthread_mutex_lock
	ldr	r3, .L13+12
	ldr	r2, [r3]
	ldr	r3, .L13+16
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L10
	ldr	r3, .L13+20
	mov	r2, #40
	ldr	r1, .L13+24
	ldr	r0, .L13+28
	bl	__assert_fail
.L10:
	ldr	r0, .L13+8
	bl	pthread_mutex_unlock
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	t_fun
	.word	A
	.word	g
	.word	h
	.word	__PRETTY_FUNCTION__.4893
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4883, %object
	.size	__PRETTY_FUNCTION__.4883, 6
__PRETTY_FUNCTION__.4883:
	.ascii	"t_fun\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4893, %object
	.size	__PRETTY_FUNCTION__.4893, 5
__PRETTY_FUNCTION__.4893:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
