	.file	"extr_25321.c_mk_fmt_string.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%%%dx%%%d$n%%%dx%%%d$n%%%dx%%%d$n%%%dx%%%d$n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s%s"
	.text
	.p2align 4
	.globl	mk_fmt_string
	.type	mk_fmt_string, @function
mk_fmt_string:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 12[rsp], edi
	mov	edi, 128
	mov	QWORD PTR 24[rsp], rdx
	mov	QWORD PTR 16[rsp], rcx
	call	xmalloc@PLT
	mov	edi, 516
	movsx	r15, eax
	xor	eax, eax
	call	xmalloc@PLT
	mov	edi, 1024
	movsx	r12, eax
	xor	eax, eax
	call	xmalloc@PLT
	mov	rdx, QWORD PTR 24[rsp]
	xor	r9d, r9d
	xor	r11d, r11d
	xor	r10d, r10d
	cdqe
	mov	esi, r11d
	mov	ecx, r13d
	mov	edi, r10d
	mov	QWORD PTR [rsp], rax
	mov	r8, rdx
	xor	eax, eax
	mov	edx, r9d
	call	OCT@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	r10d, 0
	mov	r11d, 0
	mov	r9d, 0
	sub	edi, 1
	cmp	edi, 15
	ja	.L4
	mov	rax, r15
	lea	esi, [r15+rdi]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, rax
	add	rax, 1
	mov	BYTE PTR [rdx], 65
	mov	edx, esi
	sub	edx, eax
	cmp	edx, 15
	jbe	.L3
.L2:
	xor	edx, edx
	xor	r8d, r8d
	xor	edi, edi
	xor	esi, esi
	lea	r14d, 1[rdx]
	mov	BYTE PTR [rax], dl
	mov	ecx, r13d
	mov	BYTE PTR 4[rax], r14b
	lea	r14d, 2[rdx]
	add	edx, 3
	mov	BYTE PTR 1[rax], r8b
	mov	BYTE PTR 2[rax], dil
	mov	BYTE PTR 3[rax], sil
	mov	BYTE PTR 5[rax], r8b
	mov	BYTE PTR 6[rax], dil
	mov	BYTE PTR 7[rax], sil
	mov	BYTE PTR 8[rax], r14b
	mov	BYTE PTR 9[rax], r8b
	mov	BYTE PTR 10[rax], dil
	mov	BYTE PTR 11[rax], sil
	mov	BYTE PTR 12[rax], dl
	mov	edx, r9d
	mov	BYTE PTR 13[rax], r8b
	mov	r8, QWORD PTR 16[rsp]
	mov	BYTE PTR 14[rax], dil
	mov	edi, r10d
	mov	BYTE PTR 15[rax], sil
	mov	esi, r11d
	mov	BYTE PTR 16[rax], 0
	xor	eax, eax
	call	OCT@PLT
	mov	esi, ebx
	mov	edi, r13d
	xor	eax, eax
	call	TOWCALC@PLT
	xor	r9d, r9d
	add	ebx, eax
	mov	edi, r9d
	mov	r14d, eax
	xor	eax, eax
	mov	esi, ebx
	call	TOWCALC@PLT
	xor	r11d, r11d
	add	ebx, eax
	mov	DWORD PTR 16[rsp], eax
	mov	edi, r11d
	xor	eax, eax
	mov	esi, ebx
	call	TOWCALC@PLT
	xor	r10d, r10d
	mov	DWORD PTR 12[rsp], eax
	mov	edi, r10d
	lea	esi, [rbx+rax]
	xor	eax, eax
	call	TOWCALC@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	lea	ecx, 3[rbp]
	mov	r8d, ebp
	push	rcx
	.cfi_def_cfa_offset 112
	mov	rdi, r12
	mov	ecx, r14d
	mov	esi, 516
	push	rax
	.cfi_def_cfa_offset 120
	lea	eax, 2[rbp]
	push	rax
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR 44[rsp]
	lea	eax, 1[rbp]
	push	rdx
	.cfi_def_cfa_offset 136
	lea	rdx, .LC0[rip]
	push	rax
	.cfi_def_cfa_offset 144
	mov	r9d, DWORD PTR 64[rsp]
	xor	eax, eax
	call	snprintf@PLT
	mov	rbx, QWORD PTR 48[rsp]
	add	rsp, 48
	.cfi_def_cfa_offset 96
	xor	eax, eax
	mov	r8, r12
	mov	rcx, r15
	mov	esi, 1024
	lea	rdx, .LC1[rip]
	mov	rdi, rbx
	call	snprintf@PLT
	mov	rdi, r15
	call	free@PLT
	mov	rdi, r12
	call	free@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, rbx
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, r15
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	mk_fmt_string, .-mk_fmt_string
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_25321.c_mk_fmt_string.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%%%dx%%%d$n%%%dx%%%d$n%%%dx%%%d$n%%%dx%%%d$n\000"
	.align	2
.LC1:
	.ascii	"%s%s\000"
	.text
	.align	2
	.global	mk_fmt_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	mk_fmt_string, %function
mk_fmt_string:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	sub	sp, sp, #44
	mov	r0, #128
	mov	r9, r2
	mov	r6, r1
	mov	r10, r3
	ldr	r5, [sp, #80]
	bl	xmalloc
	mov	r7, r0
	mov	r0, #516
	bl	xmalloc
	mov	r8, r0
	mov	r0, #1024
	bl	xmalloc
	mov	r4, #0
	mov	ip, r0
	str	r9, [sp]
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	mov	r9, ip
	bl	OCT
	sub	r0, fp, #1
	cmp	r0, #15
	mov	ip, r7
	bhi	.L2
	mov	r1, #65
	add	r0, r7, r0
.L3:
	mov	r3, ip
	add	ip, ip, #1
	sub	r2, r0, ip
	cmp	r2, #15
	strb	r1, [r3]
	bls	.L3
.L2:
	mov	fp, #0
	mov	r1, #1
	mov	r2, #2
	mov	r3, #3
	strb	r4, [ip]
	strb	r4, [ip, #1]
	strb	r4, [ip, #2]
	strb	r4, [ip, #3]
	strb	r4, [ip, #5]
	strb	r4, [ip, #6]
	strb	r4, [ip, #7]
	strb	r4, [ip, #9]
	strb	r4, [ip, #10]
	strb	r4, [ip, #11]
	strb	r4, [ip, #13]
	strb	r4, [ip, #14]
	strb	r4, [ip, #15]
	strb	r1, [ip, #4]
	strb	r2, [ip, #8]
	strb	r3, [ip, #12]
	strb	fp, [ip, #16]
	mov	r3, fp
	mov	r2, fp
	mov	r1, fp
	str	r10, [sp]
	mov	r0, fp
	bl	OCT
	mov	r1, r5
	mov	r0, fp
	bl	TOWCALC
	add	r5, r5, r0
	mov	r4, r0
	mov	r1, r5
	mov	r0, fp
	bl	TOWCALC
	add	r5, r5, r0
	mov	r1, r5
	str	r0, [sp, #36]
	mov	r0, fp
	bl	TOWCALC
	mov	r10, r0
	mov	r0, fp
	add	r1, r5, r10
	bl	TOWCALC
	ldr	r3, [sp, #36]
	add	ip, r6, #3
	add	r1, r6, #2
	add	r2, r6, #1
	str	ip, [sp, #24]
	str	r3, [sp, #4]
	str	r0, [sp, #20]
	mov	r3, r4
	str	r1, [sp, #16]
	str	r2, [sp, #8]
	mov	r1, #516
	mov	r0, r8
	ldr	r2, .L8
	str	r10, [sp, #12]
	str	r6, [sp]
	bl	snprintf
	mov	r3, r7
	mov	r1, #1024
	ldr	r2, .L8+4
	mov	r0, r9
	str	r8, [sp]
	bl	snprintf
	mov	r0, r7
	bl	free
	mov	r0, r8
	bl	free
	mov	r0, r9
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	mk_fmt_string, .-mk_fmt_string
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
