	.file	"781097.c"
	.intel_syntax noprefix
	.text
	.globl	bar
	.type	bar, @function
bar:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR d.0[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR d.0[rip], edx
	cmp	DWORD PTR -4[rbp], eax
	je	.L2
	call	abort@PLT
.L2:
	cmp	DWORD PTR -4[rbp], 47
	jle	.L3
	cmp	DWORD PTR -4[rbp], 57
	jle	.L5
.L3:
	call	abort@PLT
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bar, .-bar
	.globl	foo
	.type	foo, @function
foo:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r12
	push	rbx
	sub	rsp, 288
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -200[rbp], rsi
	mov	QWORD PTR -192[rbp], rdx
	mov	QWORD PTR -184[rbp], rcx
	mov	QWORD PTR -176[rbp], r8
	mov	QWORD PTR -168[rbp], r9
	test	al, al
	je	.L7
	movaps	XMMWORD PTR -160[rbp], xmm0
	movaps	XMMWORD PTR -144[rbp], xmm1
	movaps	XMMWORD PTR -128[rbp], xmm2
	movaps	XMMWORD PTR -112[rbp], xmm3
	movaps	XMMWORD PTR -96[rbp], xmm4
	movaps	XMMWORD PTR -80[rbp], xmm5
	movaps	XMMWORD PTR -64[rbp], xmm6
	movaps	XMMWORD PTR -48[rbp], xmm7
.L7:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -216[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	mov	QWORD PTR -304[rbp], rdx
	mov	QWORD PTR -296[rbp], 0
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -256[rbp], rdx
	movsx	rdx, eax
	mov	QWORD PTR -320[rbp], rdx
	mov	QWORD PTR -312[rbp], 0
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rbx, eax
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cdqe
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -248[rbp], rax
	mov	DWORD PTR -240[rbp], 8
	mov	DWORD PTR -236[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rax, -208[rbp]
	mov	QWORD PTR -224[rbp], rax
	mov	eax, DWORD PTR -240[rbp]
	cmp	eax, 47
	ja	.L11
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -240[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -240[rbp]
	add	edx, 8
	mov	DWORD PTR -240[rbp], edx
	jmp	.L12
.L11:
	mov	rax, QWORD PTR -232[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -232[rbp], rdx
.L12:
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -248[rbp]
	mov	rcx, rdx
	mov	rdx, rbx
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	DWORD PTR -260[rbp], 0
	jmp	.L13
.L14:
	mov	rdx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	bar
	add	DWORD PTR -260[rbp], 1
.L13:
	mov	eax, DWORD PTR -260[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L14
	mov	eax, DWORD PTR -240[rbp]
	cmp	eax, 47
	ja	.L15
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR -240[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -240[rbp]
	add	edx, 8
	mov	DWORD PTR -240[rbp], edx
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -232[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -232[rbp], rdx
.L16:
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -248[rbp]
	mov	rcx, rdx
	mov	rdx, rbx
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	DWORD PTR -260[rbp], 0
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -260[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	call	bar
	add	DWORD PTR -260[rbp], 1
.L17:
	mov	eax, DWORD PTR -260[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L18
	mov	rsp, r12
	nop
	mov	rax, QWORD PTR -216[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	foo, .-foo
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 5
	mov	ecx, DWORD PTR -84[rbp]
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	movsx	rbx, ecx
	movsx	rax, ecx
	mov	rsi, rax
	mov	edi, 0
	movsx	rax, ecx
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rsi, rax
	and	rsi, -4096
	mov	rdx, rsp
	sub	rdx, rsi
.L21:
	cmp	rsp, rdx
	je	.L22
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L21
.L22:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L23
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L23:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, ecx
	mov	r8, rax
	mov	r9d, 0
	movsx	rax, ecx
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L24:
	cmp	rsp, rdx
	je	.L25
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L24
.L25:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L26
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L26:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR [rax], 48
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 1[rax], 49
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 2[rax], 50
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 3[rax], 51
	mov	rax, QWORD PTR -72[rbp]
	mov	BYTE PTR 4[rax], 52
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 53
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR 1[rax], 54
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR 2[rax], 55
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR 3[rax], 56
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR 4[rax], 57
	mov	r14, rsp
	mov	eax, 16
	sub	rax, 1
	add	rax, rbx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L27:
	cmp	rsp, rdx
	je	.L28
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L27
.L28:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L29
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L29:
	mov	rax, rsp
	lea	r12, [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, r12
	mov	rdx, rbx
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, 16
	sub	rax, 1
	add	rax, rbx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L30:
	cmp	rsp, rdx
	je	.L31
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L30
.L31:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L32
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L32:
	mov	rax, rsp
	lea	r13, [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	rdx, r13
	mov	rsi, r12
	mov	edi, eax
	mov	eax, 0
	call	foo
	mov	rsp, r14
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.data
	.align 4
	.type	d.0, @object
	.size	d.0, 4
d.0:
	.long	48
	.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	"781097.c"
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L6
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L6
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L2
	bl	abort
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	ble	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #57
	ble	.L5
.L3:
	bl	abort
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	d.4203
	.size	bar, .-bar
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 4, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #4]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r5, ip
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-20]
	add	r3, fp, #8
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r2, r3, #4
	str	r2, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r0, r2
	mov	r2, r5
	mov	r1, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L9
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	bar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L9:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-32]
	add	r2, r3, #4
	str	r2, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r0, r2
	mov	r2, r5
	mov	r1, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L11
.L12:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	bar
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L11:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L12
	mov	sp, r4
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, lr}
	add	sp, sp, #16
	bx	lr
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #24
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-36]
	ldr	ip, [fp, #-36]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	sub	r3, ip, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r4, ip
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	mov	r2, #49
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-32]
	mov	r2, #50
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-32]
	mov	r2, #51
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-32]
	mov	r2, #52
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	mov	r2, #53
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	mov	r2, #54
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-28]
	mov	r2, #55
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-28]
	mov	r2, #56
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-28]
	mov	r2, #57
	strb	r2, [r3, #4]
	mov	r7, sp
	add	r3, r4, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r5, r3, #0
	ldr	r3, [fp, #-32]
	mov	r0, r5
	mov	r2, r4
	mov	r1, r3
	bl	memcpy
	add	r3, r4, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r6, r3, #0
	ldr	r3, [fp, #-28]
	mov	r0, r6
	mov	r2, r4
	mov	r1, r3
	bl	memcpy
	mov	r2, r6
	mov	r1, r5
	ldr	r0, [fp, #-36]
	bl	foo
	mov	sp, r7
	mov	r0, #0
	bl	exit
.L19:
	.align	2
.L18:
	.word	.LC1
	.size	main, .-main
	.data
	.align	2
	.type	d.4203, %object
	.size	d.4203, 4
d.4203:
	.word	48
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
