	.file	"559375.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"format:%s,string:%s\n"
	.text
	.globl	chk0
	.type	chk0, @function
chk0:
.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, 224
	mov	QWORD PTR -216[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
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rax
	lea	rdi, string.1[rip]
	call	vsprintf@PLT
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, string.1[rip]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	chk0, .-chk0
	.section	.rodata
.LC1:
	.string	"fd:%d,format:%s,string:%s\n"
	.text
	.globl	chk1
	.type	chk1, @function
chk1:
.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, 224
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[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	.L5
	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
.L5:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 16
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rax
	lea	rdi, string.0[rip]
	call	vsprintf@PLT
	mov	rdx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -212[rbp]
	lea	rcx, string.0[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	chk1, .-chk1
	.section	.rodata
.LC2:
	.string	"varargs test"
.LC3:
	.string	"\nchk0/0:"
.LC4:
	.string	"arg0"
.LC5:
	.string	"chk0 %s"
.LC6:
	.string	"\nchk0/1:"
.LC7:
	.string	"arg1"
.LC8:
	.string	"chk0 %s %s"
.LC9:
	.string	"\nchk0/2:"
.LC10:
	.string	"arg2"
.LC11:
	.string	"chk0 %s %s %s"
.LC12:
	.string	"\nchk1/0:"
.LC13:
	.string	"chk1 %s"
.LC14:
	.string	"\nchk1/1:"
.LC15:
	.string	"chk1 %s %s"
.LC16:
	.string	"\nchk1/2:"
.LC17:
	.string	"chk1 %s %s %s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	chk0
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdx, .LC7[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	chk0
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rcx, .LC10[rip]
	lea	rdx, .LC7[rip]
	lea	rsi, .LC4[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	chk0
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdx, .LC4[rip]
	lea	rsi, .LC13[rip]
	mov	edi, 253
	mov	eax, 0
	call	chk1
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rcx, .LC7[rip]
	lea	rdx, .LC4[rip]
	lea	rsi, .LC15[rip]
	mov	edi, 253
	mov	eax, 0
	call	chk1
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	r8, .LC10[rip]
	lea	rcx, .LC7[rip]
	lea	rdx, .LC4[rip]
	lea	rsi, .LC17[rip]
	mov	edi, 253
	mov	eax, 0
	call	chk1
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.local	string.1
	.comm	string.1,256,32
	.local	string.0
	.comm	string.0,256,32
	.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	"559375.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"format:%s,string:%s\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	chk0
	.syntax unified
	.arm
	.fpu softvfp
	.type	chk0, %function
chk0:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, .L3+4
	bl	vsprintf
	ldr	r2, .L3+4
	ldr	r1, [fp, #-16]
	ldr	r0, .L3+8
	bl	printf
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L4:
	.align	2
.L3:
	.word	.LC1
	.word	string.5124
	.word	.LC0
	.size	chk0, .-chk0
	.section	.rodata
	.align	2
.LC2:
	.ascii	"fd:%d,format:%s,string:%s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	chk1
	.syntax unified
	.arm
	.fpu softvfp
	.type	chk1, %function
chk1:
	@ args = 4, pretend = 12, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #20
	str	r0, [fp, #-20]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, .L7+4
	bl	vsprintf
	ldr	r3, .L7+4
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, .L7+8
	bl	printf
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #12
	bx	lr
.L8:
	.align	2
.L7:
	.word	.LC3
	.word	string.5130
	.word	.LC2
	.size	chk1, .-chk1
	.section	.rodata
	.align	2
.LC4:
	.ascii	"varargs test\000"
	.align	2
.LC5:
	.ascii	"\012chk0/0:\000"
	.align	2
.LC6:
	.ascii	"arg0\000"
	.align	2
.LC7:
	.ascii	"chk0 %s\000"
	.align	2
.LC8:
	.ascii	"\012chk0/1:\000"
	.align	2
.LC9:
	.ascii	"arg1\000"
	.align	2
.LC10:
	.ascii	"chk0 %s %s\000"
	.align	2
.LC11:
	.ascii	"\012chk0/2:\000"
	.align	2
.LC12:
	.ascii	"arg2\000"
	.align	2
.LC13:
	.ascii	"chk0 %s %s %s\000"
	.align	2
.LC14:
	.ascii	"\012chk1/0:\000"
	.align	2
.LC15:
	.ascii	"chk1 %s\000"
	.align	2
.LC16:
	.ascii	"\012chk1/1:\000"
	.align	2
.LC17:
	.ascii	"chk1 %s %s\000"
	.align	2
.LC18:
	.ascii	"\012chk1/2:\000"
	.align	2
.LC19:
	.ascii	"chk1 %s %s %s\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, .L11
	bl	puts
	ldr	r0, .L11+4
	bl	puts
	ldr	r1, .L11+8
	ldr	r0, .L11+12
	bl	chk0
	ldr	r0, .L11+16
	bl	puts
	ldr	r2, .L11+20
	ldr	r1, .L11+8
	ldr	r0, .L11+24
	bl	chk0
	ldr	r0, .L11+28
	bl	puts
	ldr	r3, .L11+32
	ldr	r2, .L11+20
	ldr	r1, .L11+8
	ldr	r0, .L11+36
	bl	chk0
	ldr	r0, .L11+40
	bl	puts
	ldr	r2, .L11+8
	ldr	r1, .L11+44
	mov	r0, #253
	bl	chk1
	ldr	r0, .L11+48
	bl	puts
	ldr	r3, .L11+20
	ldr	r2, .L11+8
	ldr	r1, .L11+52
	mov	r0, #253
	bl	chk1
	ldr	r0, .L11+56
	bl	puts
	ldr	r3, .L11+32
	str	r3, [sp]
	ldr	r3, .L11+20
	ldr	r2, .L11+8
	ldr	r1, .L11+60
	mov	r0, #253
	bl	chk1
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.local	string.5124
	.comm	string.5124,256,4
	.local	string.5130
	.comm	string.5130,256,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
