	.file	"22012959.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/22012959.c"
.LC1:
	.string	"buf1[i] == 0"
.LC2:
	.string	"\033[31m%s\033[0m"
.LC3:
	.string	"buf2[i] == 0"
.LC4:
	.string	"%s"
	.text
	.globl	red_printf
	.type	red_printf, @function
red_printf:
.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, 2240
	mov	QWORD PTR -2232[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L2
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L2:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	lea	rax, -2192[rbp]
	mov	edx, 1000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1184[rbp]
	mov	edx, 1000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -2216[rbp], 8
	mov	DWORD PTR -2212[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -2208[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -2200[rbp], rax
	lea	rcx, -2216[rbp]
	mov	rdx, QWORD PTR -2232[rbp]
	lea	rax, -2192[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	vsnprintf@PLT
	mov	DWORD PTR -2220[rbp], 999
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -2220[rbp]
	cdqe
	movzx	eax, BYTE PTR -2192[rbp+rax]
	test	al, al
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 25
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L4:
	sub	DWORD PTR -2220[rbp], 1
.L3:
	cmp	DWORD PTR -2220[rbp], 949
	jg	.L5
	lea	rdx, -2192[rbp]
	lea	rax, -1184[rbp]
	mov	rcx, rdx
	lea	rdx, .LC2[rip]
	mov	esi, 1000
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -2220[rbp], 999
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -2220[rbp]
	cdqe
	movzx	eax, BYTE PTR -1184[rbp+rax]
	test	al, al
	je	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 33
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L7:
	sub	DWORD PTR -2220[rbp], 1
.L6:
	cmp	DWORD PTR -2220[rbp], 949
	jg	.L8
	lea	rax, -1184[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	red_printf, .-red_printf
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
	.string	"red_printf"
	.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	"22012959.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/22012959.c\000"
	.align	2
.LC1:
	.ascii	"buf1[i] == 0\000"
	.align	2
.LC2:
	.ascii	"\033[31m%s\033[0m\000"
	.align	2
.LC3:
	.ascii	"buf2[i] == 0\000"
	.align	2
.LC4:
	.ascii	"%s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	red_printf
	.syntax unified
	.arm
	.fpu softvfp
	.type	red_printf, %function
red_printf:
	@ args = 4, pretend = 16, frame = 2024
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2016
	sub	sp, sp, #8
	ldr	r3, [fp, #4]
	str	r3, [fp, #-2024]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1008
	mov	r2, #1000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	add	r3, fp, #8
	str	r3, [fp, #-2016]
	sub	r0, fp, #2000
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [fp, #-2016]
	ldr	r2, [fp, #-2024]
	mov	r1, #1000
	bl	vsnprintf
	ldr	r3, .L9+4
	str	r3, [fp, #-2012]
	b	.L2
.L4:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2012]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L9+8
	mov	r2, #25
	ldr	r1, .L9+12
	ldr	r0, .L9+16
	bl	__assert_fail
.L3:
	ldr	r3, [fp, #-2012]
	sub	r3, r3, #1
	str	r3, [fp, #-2012]
.L2:
	ldr	r3, [fp, #-2012]
	ldr	r2, .L9+20
	cmp	r3, r2
	bgt	.L4
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r0, fp, #1008
	ldr	r2, .L9+24
	mov	r1, #1000
	bl	snprintf
	ldr	r3, .L9+4
	str	r3, [fp, #-2012]
	b	.L5
.L7:
	sub	r2, fp, #1008
	ldr	r3, [fp, #-2012]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, .L9+8
	mov	r2, #33
	ldr	r1, .L9+12
	ldr	r0, .L9+28
	bl	__assert_fail
.L6:
	ldr	r3, [fp, #-2012]
	sub	r3, r3, #1
	str	r3, [fp, #-2012]
.L5:
	ldr	r3, [fp, #-2012]
	ldr	r2, .L9+20
	cmp	r3, r2
	bgt	.L7
	sub	r3, fp, #1008
	mov	r1, r3
	ldr	r0, .L9+32
	bl	printf
	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, lr}
	add	sp, sp, #16
	bx	lr
.L10:
	.align	2
.L9:
	.word	.LC5
	.word	999
	.word	__PRETTY_FUNCTION__.5316
	.word	.LC0
	.word	.LC1
	.word	949
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	red_printf, .-red_printf
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5316, %object
	.size	__PRETTY_FUNCTION__.5316, 11
__PRETTY_FUNCTION__.5316:
	.ascii	"red_printf\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
