	.file	"738507.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/738507.c"
.LC1:
	.string	"r == 111111111"
	.text
	.globl	test1
	.type	test1, @function
test1:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 10
	mov	esi, 49
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 9
	mov	BYTE PTR [rax], 97
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 111111111
	je	.L3
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 22
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test1, .-test1
	.section	.rodata
.LC2:
	.string	"r == 0"
	.text
	.globl	test2
	.type	test2, @function
test2:
.LFB7:
	.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
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 9
	mov	BYTE PTR [rax], 97
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 9
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 29
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L6:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	test2, .-test2
	.globl	test3
	.type	test3, @function
test3:
.LFB8:
	.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
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 10
	mov	esi, 32
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 9
	mov	BYTE PTR [rax], 45
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	BYTE PTR [rax], 45
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 38
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L9:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	test3, .-test3
	.section	.rodata
.LC3:
	.string	"test1"
.LC4:
	.string	"test2"
.LC5:
	.string	"test3"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	edi, 10
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -20[rbp], 2
	je	.L11
	mov	eax, 1
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	test1
.L13:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	test2
.L14:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	test3
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 6
__PRETTY_FUNCTION__.2:
	.string	"test1"
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 6
__PRETTY_FUNCTION__.1:
	.string	"test2"
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 6
__PRETTY_FUNCTION__.0:
	.string	"test3"
	.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	"738507.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/738507.c\000"
	.align	2
.LC1:
	.ascii	"r == 111111111\000"
	.text
	.align	2
	.global	test1
	.syntax unified
	.arm
	.fpu softvfp
	.type	test1, %function
test1:
	@ 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]
	mov	r2, #10
	mov	r1, #49
	ldr	r0, [fp, #-16]
	bl	memset
	ldr	r3, [fp, #-16]
	add	r3, r3, #9
	mov	r2, #97
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	atol
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L4
	cmp	r3, r2
	beq	.L3
	ldr	r3, .L4+4
	mov	r2, #22
	ldr	r1, .L4+8
	ldr	r0, .L4+12
	bl	__assert_fail
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	111111111
	.word	__PRETTY_FUNCTION__.4977
	.word	.LC0
	.word	.LC1
	.size	test1, .-test1
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r == 0\000"
	.text
	.align	2
	.global	test2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test2, %function
test2:
	@ 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	r3, [fp, #-16]
	add	r3, r3, #9
	mov	r2, #97
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #9
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L9
	mov	r2, #29
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	__assert_fail
.L8:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	__PRETTY_FUNCTION__.4982
	.word	.LC0
	.word	.LC2
	.size	test2, .-test2
	.align	2
	.global	test3
	.syntax unified
	.arm
	.fpu softvfp
	.type	test3, %function
test3:
	@ 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]
	mov	r2, #10
	mov	r1, #32
	ldr	r0, [fp, #-16]
	bl	memset
	ldr	r3, [fp, #-16]
	add	r3, r3, #9
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	mov	r2, #45
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	atol
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L14
	mov	r2, #38
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	__assert_fail
.L13:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	__PRETTY_FUNCTION__.4987
	.word	.LC0
	.word	.LC2
	.size	test3, .-test3
	.section	.rodata
	.align	2
.LC3:
	.ascii	"test1\000"
	.align	2
.LC4:
	.ascii	"test2\000"
	.align	2
.LC5:
	.ascii	"test3\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-20]
	mov	r0, #10
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L17
	mov	r3, #1
	b	.L18
.L17:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L22
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r0, [fp, #-8]
	bl	test1
.L19:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L22+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r0, [fp, #-8]
	bl	test2
.L20:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L22+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-8]
	bl	test3
.L21:
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4977, %object
	.size	__PRETTY_FUNCTION__.4977, 6
__PRETTY_FUNCTION__.4977:
	.ascii	"test1\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4982, %object
	.size	__PRETTY_FUNCTION__.4982, 6
__PRETTY_FUNCTION__.4982:
	.ascii	"test2\000"
	.align	2
	.type	__PRETTY_FUNCTION__.4987, %object
	.size	__PRETTY_FUNCTION__.4987, 6
__PRETTY_FUNCTION__.4987:
	.ascii	"test3\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
