	.file	"220455512.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"before lock #1\n"
.LC1:
	.string	"the_stack_data/220455512.c"
.LC2:
	.string	"r == 0"
.LC3:
	.string	"before lock #2\n"
.LC4:
	.string	"before lock #3\n"
.LC5:
	.string	"before unlock #1\n"
.LC6:
	.string	"before unlock #2\n"
.LC7:
	.string	"before unlock #3\n"
.LC8:
	.string	"before unlock #4\n"
	.text
	.globl	nearly_main
	.type	nearly_main, @function
nearly_main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -52[rbp]
	mov	rdi, rax
	call	pthread_mutexattr_init@PLT
	mov	DWORD PTR -56[rbp], eax
	lea	rax, -52[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	pthread_mutexattr_settype@PLT
	mov	DWORD PTR -56[rbp], eax
	lea	rdx, -52[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_mutex_init@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_lock@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L2
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 28
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L2:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_lock@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L3
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 30
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_lock@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 32
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L4:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 35
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 37
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L6:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 39
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L7:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	pthread_mutex_unlock@PLT
	mov	DWORD PTR -56[rbp], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nearly_main, .-nearly_main
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	nearly_main
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 12
__PRETTY_FUNCTION__.0:
	.string	"nearly_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	"220455512.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"before lock #1\012\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/220455512.c\000"
	.align	2
.LC2:
	.ascii	"r == 0\000"
	.align	2
.LC3:
	.ascii	"before lock #2\012\000"
	.align	2
.LC4:
	.ascii	"before lock #3\012\000"
	.align	2
.LC5:
	.ascii	"before unlock #1\012\000"
	.align	2
.LC6:
	.ascii	"before unlock #2\012\000"
	.align	2
.LC7:
	.ascii	"before unlock #3\012\000"
	.align	2
.LC8:
	.ascii	"before unlock #4\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nearly_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	nearly_main, %function
nearly_main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #36
	mov	r0, r3
	bl	pthread_mutexattr_init
	str	r0, [fp, #-40]
	sub	r3, fp, #36
	mov	r1, #1
	mov	r0, r3
	bl	pthread_mutexattr_settype
	str	r0, [fp, #-40]
	sub	r2, fp, #36
	sub	r3, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	pthread_mutex_init
	str	r0, [fp, #-40]
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L9+8
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_lock
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L9+12
	mov	r2, #28
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	__assert_fail
.L2:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L9+24
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_lock
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L9+12
	mov	r2, #30
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	__assert_fail
.L3:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L9+28
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_lock
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L9+12
	mov	r2, #32
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	__assert_fail
.L4:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L9+32
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_unlock
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L9+12
	mov	r2, #35
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	__assert_fail
.L5:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L9+36
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_unlock
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L9+12
	mov	r2, #37
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	__assert_fail
.L6:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L9+40
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_unlock
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L9+12
	mov	r2, #39
	ldr	r1, .L9+16
	ldr	r0, .L9+20
	bl	__assert_fail
.L7:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L9+44
	bl	fwrite
	sub	r3, fp, #32
	mov	r0, r3
	bl	pthread_mutex_unlock
	str	r0, [fp, #-40]
	nop
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC9
	.word	stderr
	.word	.LC0
	.word	__PRETTY_FUNCTION__.6010
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	nearly_main, .-nearly_main
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	nearly_main
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6010, %object
	.size	__PRETTY_FUNCTION__.6010, 12
__PRETTY_FUNCTION__.6010:
	.ascii	"nearly_main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
