	.file	"212643102.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	" %02hhx"
	.text
	.globl	dump
	.type	dump, @function
dump:
.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -8[rbp], 1
.L2:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dump, .-dump
	.section	.rodata
.LC1:
	.string	"&dst[0]: %p\n"
	.align 8
.LC2:
	.string	"snprintf(dst, %zu, \"%s\", \"%s\");\n"
.LC3:
	.string	"return: %d\n"
.LC4:
	.string	"dst:"
	.text
	.globl	test
	.type	test, @function
test:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 88
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	dump
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	test, .-test
	.section	.rodata
.LC5:
	.string	""
.LC6:
	.string	"%-2.2s"
.LC7:
	.string	"A"
.LC8:
	.string	"AB"
.LC9:
	.string	"ABC"
.LC10:
	.string	"%2.2s"
.LC11:
	.string	"%.2s"
.LC12:
	.string	"%-2s"
.LC13:
	.string	"%2s"
.LC14:
	.string	"%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
	lea	rdx, .LC5[rip]
	lea	rsi, .LC6[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC7[rip]
	lea	rsi, .LC6[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC8[rip]
	lea	rsi, .LC6[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC9[rip]
	lea	rsi, .LC6[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC5[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC7[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC8[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC9[rip]
	lea	rsi, .LC10[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC5[rip]
	lea	rsi, .LC11[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC7[rip]
	lea	rsi, .LC11[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC8[rip]
	lea	rsi, .LC11[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC9[rip]
	lea	rsi, .LC11[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC5[rip]
	lea	rsi, .LC12[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC7[rip]
	lea	rsi, .LC12[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC8[rip]
	lea	rsi, .LC12[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC9[rip]
	lea	rsi, .LC12[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC5[rip]
	lea	rsi, .LC13[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC7[rip]
	lea	rsi, .LC13[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC8[rip]
	lea	rsi, .LC13[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC9[rip]
	lea	rsi, .LC13[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC5[rip]
	lea	rsi, .LC14[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC7[rip]
	lea	rsi, .LC14[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC8[rip]
	lea	rsi, .LC14[rip]
	mov	edi, 3
	call	test
	lea	rdx, .LC9[rip]
	lea	rsi, .LC14[rip]
	mov	edi, 3
	call	test
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-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	"212643102.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	" %02hhx\000"
	.text
	.align	2
	.global	dump
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump, %function
dump:
	@ 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	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	dump, .-dump
	.section	.rodata
	.align	2
.LC1:
	.ascii	"&dst[0]: %p\012\000"
	.align	2
.LC2:
	.ascii	"snprintf(dst, %zu, \"%s\", \"%s\");\012\000"
	.align	2
.LC3:
	.ascii	"return: %d\012\000"
	.align	2
.LC4:
	.ascii	"dst:\000"
	.text
	.align	2
	.global	test
	.syntax unified
	.arm
	.fpu softvfp
	.type	test, %function
test:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #88
	ldr	r0, [fp, #-12]
	bl	memset
	ldr	r1, [fp, #-12]
	ldr	r0, .L7
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L7+4
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	snprintf
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L7+8
	bl	printf
	ldr	r0, .L7+12
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	dump
	mov	r0, #10
	bl	putchar
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-12]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	test, .-test
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"%-2.2s\000"
	.align	2
.LC7:
	.ascii	"A\000"
	.align	2
.LC8:
	.ascii	"AB\000"
	.align	2
.LC9:
	.ascii	"ABC\000"
	.align	2
.LC10:
	.ascii	"%2.2s\000"
	.align	2
.LC11:
	.ascii	"%.2s\000"
	.align	2
.LC12:
	.ascii	"%-2s\000"
	.align	2
.LC13:
	.ascii	"%2s\000"
	.align	2
.LC14:
	.ascii	"%s\000"
	.text
	.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
	ldr	r2, .L11
	ldr	r1, .L11+4
	mov	r0, #3
	bl	test
	ldr	r2, .L11+8
	ldr	r1, .L11+4
	mov	r0, #3
	bl	test
	ldr	r2, .L11+12
	ldr	r1, .L11+4
	mov	r0, #3
	bl	test
	ldr	r2, .L11+16
	ldr	r1, .L11+4
	mov	r0, #3
	bl	test
	ldr	r2, .L11
	ldr	r1, .L11+20
	mov	r0, #3
	bl	test
	ldr	r2, .L11+8
	ldr	r1, .L11+20
	mov	r0, #3
	bl	test
	ldr	r2, .L11+12
	ldr	r1, .L11+20
	mov	r0, #3
	bl	test
	ldr	r2, .L11+16
	ldr	r1, .L11+20
	mov	r0, #3
	bl	test
	ldr	r2, .L11
	ldr	r1, .L11+24
	mov	r0, #3
	bl	test
	ldr	r2, .L11+8
	ldr	r1, .L11+24
	mov	r0, #3
	bl	test
	ldr	r2, .L11+12
	ldr	r1, .L11+24
	mov	r0, #3
	bl	test
	ldr	r2, .L11+16
	ldr	r1, .L11+24
	mov	r0, #3
	bl	test
	ldr	r2, .L11
	ldr	r1, .L11+28
	mov	r0, #3
	bl	test
	ldr	r2, .L11+8
	ldr	r1, .L11+28
	mov	r0, #3
	bl	test
	ldr	r2, .L11+12
	ldr	r1, .L11+28
	mov	r0, #3
	bl	test
	ldr	r2, .L11+16
	ldr	r1, .L11+28
	mov	r0, #3
	bl	test
	ldr	r2, .L11
	ldr	r1, .L11+32
	mov	r0, #3
	bl	test
	ldr	r2, .L11+8
	ldr	r1, .L11+32
	mov	r0, #3
	bl	test
	ldr	r2, .L11+12
	ldr	r1, .L11+32
	mov	r0, #3
	bl	test
	ldr	r2, .L11+16
	ldr	r1, .L11+32
	mov	r0, #3
	bl	test
	ldr	r2, .L11
	ldr	r1, .L11+36
	mov	r0, #3
	bl	test
	ldr	r2, .L11+8
	ldr	r1, .L11+36
	mov	r0, #3
	bl	test
	ldr	r2, .L11+12
	ldr	r1, .L11+36
	mov	r0, #3
	bl	test
	ldr	r2, .L11+16
	ldr	r1, .L11+36
	mov	r0, #3
	bl	test
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
