	.file	"extr_b_print.c_fmtint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0x"
.LC1:
	.string	"0"
.LC2:
	.string	""
.LC3:
	.string	"0123456789ABCDEF"
.LC4:
	.string	"0123456789abcdef"
	.text
	.p2align 4
	.type	fmtint, @function
fmtint:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rdi
	mov	rdi, r8
	push	r14
	.cfi_offset 14, -32
	mov	r14, rsi
	push	r13
	.cfi_offset 13, -40
	mov	r13, rcx
	push	r12
	.cfi_offset 12, -48
	mov	r12d, r9d
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 72
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -72[rbp], r8
	call	DECIMAL_SIZE@PLT
	mov	rdi, rsp
	mov	rsi, QWORD PTR -72[rbp]
	lea	r9d, 3[rax]
	movsx	rax, r9d
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rdi, rax
	and	rdx, -16
	mov	rax, rdi
	cmp	rsp, rax
	je	.L3
.L77:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L77
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L78
.L4:
	mov	ecx, DWORD PTR 24[rbp]
	mov	r11d, 0
	mov	QWORD PTR -80[rbp], rsp
	mov	eax, DWORD PTR DP_F_UNSIGNED[rip]
	test	ecx, ecx
	mov	ecx, esi
	cmovns	r11d, DWORD PTR 24[rbp]
	test	DWORD PTR 32[rbp], eax
	je	.L79
	mov	DWORD PTR -88[rbp], 0
	mov	DWORD PTR -92[rbp], 0
.L5:
	lea	rax, .LC2[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR DP_F_NUM[rip]
	test	DWORD PTR 32[rbp], eax
	je	.L7
	lea	rax, .LC1[rip]
	mov	QWORD PTR -72[rbp], rax
	cmp	r12d, 8
	je	.L7
	cmp	r12d, 16
	lea	rdx, .LC0[rip]
	lea	rax, .LC2[rip]
	cmove	rax, rdx
	mov	QWORD PTR -72[rbp], rax
.L7:
	mov	eax, DWORD PTR DP_F_UP[rip]
	lea	r8, .LC3[rip]
	test	DWORD PTR 32[rbp], eax
	lea	rax, .LC4[rip]
	cmove	r8, rax
	mov	rdi, QWORD PTR -80[rbp]
	xor	esi, esi
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L80:
	cmp	edx, r12d
	jb	.L36
.L8:
	mov	eax, ecx
	xor	edx, edx
	mov	r10d, esi
	add	esi, 1
	div	r12d
	add	rdi, 1
	movzx	edx, BYTE PTR [r8+rdx]
	mov	BYTE PTR -1[rdi], dl
	mov	edx, ecx
	mov	ecx, eax
	cmp	r9d, esi
	jg	.L80
.L36:
	cmp	r9d, esi
	mov	rdi, QWORD PTR -80[rbp]
	mov	ecx, r11d
	cmove	esi, r10d
	movsx	rax, esi
	sub	ecx, esi
	mov	BYTE PTR [rdi+rax], 0
	mov	edi, r11d
	mov	DWORD PTR -84[rbp], ecx
	mov	QWORD PTR -104[rbp], rax
	call	OSSL_MAX@PLT
	mov	r12d, DWORD PTR 16[rbp]
	mov	rdi, QWORD PTR -72[rbp]
	sub	r12d, eax
	sub	r12d, DWORD PTR -88[rbp]
	call	strlen@PLT
	mov	ecx, DWORD PTR -84[rbp]
	xor	edx, edx
	mov	edi, DWORD PTR DP_F_ZERO[rip]
	test	ecx, ecx
	cmovs	ecx, edx
	sub	r12d, eax
	cmovns	edx, r12d
	mov	eax, r12d
	mov	DWORD PTR -84[rbp], ecx
	mov	r12d, edx
	test	DWORD PTR 32[rbp], edi
	jne	.L81
	mov	edi, DWORD PTR DP_F_MINUS[rip]
	test	DWORD PTR 32[rbp], edi
	je	.L14
	neg	r12d
.L13:
	mov	edx, DWORD PTR -92[rbp]
	test	edx, edx
	jne	.L82
.L18:
	mov	rax, QWORD PTR -72[rbp]
	movsx	r8d, BYTE PTR [rax]
	test	r8b, r8b
	je	.L23
	mov	DWORD PTR -88[rbp], r12d
	mov	r12, QWORD PTR -72[rbp]
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L84:
	movsx	r8d, BYTE PTR 1[r12]
	add	r12, 1
	test	r8b, r8b
	je	.L83
.L20:
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	doapr_outch@PLT
	test	eax, eax
	jne	.L84
.L19:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L85
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L79:
	.cfi_restore_state
	test	rsi, rsi
	js	.L86
	mov	eax, DWORD PTR DP_F_PLUS[rip]
	test	DWORD PTR 32[rbp], eax
	jne	.L30
	mov	eax, DWORD PTR 32[rbp]
	and	eax, DWORD PTR DP_F_SPACE[rip]
	mov	DWORD PTR -92[rbp], eax
	jne	.L31
	mov	DWORD PTR -88[rbp], 0
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	test	eax, eax
	jg	.L15
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L16:
	sub	r12d, 1
	je	.L13
.L15:
	mov	r8d, 32
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	doapr_outch@PLT
	test	eax, eax
	jne	.L16
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L81:
	mov	esi, edx
	mov	edi, ecx
	xor	r12d, r12d
	call	OSSL_MAX@PLT
	mov	edx, DWORD PTR -92[rbp]
	mov	DWORD PTR -84[rbp], eax
	test	edx, edx
	je	.L18
.L82:
	mov	r8d, DWORD PTR -92[rbp]
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	doapr_outch@PLT
	test	eax, eax
	jne	.L18
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L83:
	mov	r12d, DWORD PTR -88[rbp]
.L23:
	mov	eax, DWORD PTR -84[rbp]
	test	eax, eax
	jle	.L22
	mov	DWORD PTR -72[rbp], r12d
	mov	r12d, DWORD PTR -84[rbp]
	.p2align 4,,10
	.p2align 3
.L21:
	mov	r8d, 48
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	doapr_outch@PLT
	test	eax, eax
	je	.L19
	sub	r12d, 1
	jne	.L21
	mov	r12d, DWORD PTR -72[rbp]
.L22:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, QWORD PTR -104[rbp]
	mov	DWORD PTR -80[rbp], r12d
	lea	r9, -1[rax+rdi]
	mov	rax, r9
	mov	r12, r9
	sub	rax, rdi
	mov	QWORD PTR -72[rbp], rax
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L25:
	movsx	r8d, BYTE PTR [r12]
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	sub	r12, 1
	call	doapr_outch@PLT
	test	eax, eax
	je	.L19
.L24:
	cmp	QWORD PTR -72[rbp], r12
	jne	.L25
	mov	r12d, DWORD PTR -80[rbp]
	test	r12d, r12d
	jne	.L26
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L87:
	add	r12d, 1
	je	.L27
.L26:
	mov	r8d, 32
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, r15
	call	doapr_outch@PLT
	test	eax, eax
	jne	.L87
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L86:
	mov	DWORD PTR -88[rbp], 1
	neg	ecx
	mov	DWORD PTR -92[rbp], 45
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L78:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L30:
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -92[rbp], 43
	jmp	.L5
.L31:
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -92[rbp], 32
	jmp	.L5
.L27:
	mov	eax, 1
	jmp	.L1
.L85:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fmtint, .-fmtint
	.comm	DP_F_ZERO,4,4
	.comm	DP_F_UP,4,4
	.comm	DP_F_UNSIGNED,4,4
	.comm	DP_F_SPACE,4,4
	.comm	DP_F_PLUS,4,4
	.comm	DP_F_NUM,4,4
	.comm	DP_F_MINUS,4,4
	.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_b_print.c_fmtint.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0x\000"
	.align	2
.LC1:
	.ascii	"0\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"0123456789ABCDEF\000"
	.align	2
.LC4:
	.ascii	"0123456789abcdef\000"
	.global	__aeabi_uidivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fmtint, %function
fmtint:
	@ args = 20, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	mov	r8, r3
	ldr	r3, .L68
	mov	r9, r0
	ldr	r0, [fp, #4]
	mov	r6, r1
	mov	r7, r2
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r4, [fp, #16]
	ldr	r10, [fp, #8]
	bl	DECIMAL_SIZE
	ldr	r1, .L68+4
	add	r3, r0, #10
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r1, [r1]
	bic	r3, r4, r4, asr #31
	ldr	r2, [fp, #20]
	str	r3, [fp, #-60]
	add	r3, r0, #3
	str	r3, [fp, #-52]
	tst	r2, r1
	add	r3, sp, #8
	ldr	r5, [fp, #4]
	str	r3, [fp, #-48]
	bne	.L25
	cmp	r5, #0
	blt	.L62
	ldr	r3, .L68+8
	ldr	r2, [fp, #20]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L26
	ldr	r3, .L68+12
	ldr	r3, [r3]
	ands	r3, r2, r3
	str	r3, [fp, #-80]
	streq	r3, [fp, #-76]
	movne	r3, #1
	strne	r3, [fp, #-76]
	movne	r3, #32
	strne	r3, [fp, #-80]
	b	.L2
.L25:
	mov	r3, #0
	str	r3, [fp, #-76]
	str	r3, [fp, #-80]
.L2:
	ldr	r3, .L68+16
	ldr	r2, [fp, #20]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L28
	cmp	r10, #8
	beq	.L29
	ldr	r3, .L68+20
	cmp	r10, #16
	ldr	r1, .L68+24
	movne	r1, r3
	str	r1, [fp, #-56]
	b	.L4
.L28:
	ldr	r3, .L68+20
	str	r3, [fp, #-56]
.L4:
	ldr	r3, .L68+28
	ldr	r0, [fp, #20]
	ldr	r1, [r3]
	ldr	r3, .L68+32
	tst	r0, r1
	ldr	r2, .L68+36
	moveq	r2, r3
	ldr	r1, [fp, #-48]
	str	r9, [fp, #-64]
	sub	r1, r1, #1
	str	r6, [fp, #-68]
	mov	r4, #0
	mov	r9, r2
	mov	r6, r1
	str	r7, [fp, #-72]
	mov	r7, r10
	ldr	r10, [fp, #-52]
	str	r1, [fp, #-84]
.L5:
	mov	r0, r5
	mov	r1, r7
	bl	__aeabi_uidivmod
	mov	ip, r4
	add	r4, r4, #1
	cmp	r10, r4
	movle	lr, #0
	movgt	lr, #1
	cmp	r5, r7
	movcc	lr, #0
	ldrb	r1, [r9, r1]	@ zero_extendqisi2
	cmp	lr, #0
	mov	r5, r0
	strb	r1, [r6, #1]!
	bne	.L5
	ldr	r3, [fp, #-52]
	ldr	r10, [fp, #-60]
	cmp	r3, r4
	moveq	r4, ip
	ldr	r3, [fp, #-48]
	mov	r1, r4
	strb	lr, [r3, r4]
	mov	r0, r10
	ldr	r9, [fp, #-64]
	ldr	r6, [fp, #-68]
	str	lr, [fp, #-64]
	ldr	r7, [fp, #-72]
	bl	OSSL_MAX
	mov	r5, r0
	ldr	r0, [fp, #-56]
	bl	strlen
	ldr	r3, [fp, #12]
	ldr	r1, [fp, #-76]
	sub	r3, r3, r5
	ldr	r2, .L68+40
	sub	r3, r3, r1
	sub	r0, r3, r0
	ldr	r2, [r2]
	ldr	r3, [fp, #20]
	sub	r1, r10, r4
	tst	r3, r2
	bic	r3, r1, r1, asr #31
	str	r3, [fp, #-52]
	bic	r5, r0, r0, asr #31
	bne	.L63
	ldr	r3, .L68+44
	ldr	r2, [fp, #20]
	ldr	r3, [r3]
	tst	r2, r3
	rsbne	r5, r5, #0
	bne	.L9
	cmp	r0, #0
	ble	.L9
	mov	r10, #32
	b	.L11
.L12:
	subs	r5, r5, #1
	beq	.L9
.L11:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r9
	str	r10, [sp]
	bl	doapr_outch
	cmp	r0, #0
	bne	.L12
.L15:
	mov	r0, #0
.L1:
	ldr	r3, .L68
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L64
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L63:
	mov	r1, r5
	mov	r0, r3
	bl	OSSL_MAX
	ldr	r5, [fp, #-64]
	str	r0, [fp, #-52]
.L9:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L65
.L14:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r0, r3
	ldrne	r10, [fp, #-56]
	bne	.L16
	b	.L19
.L66:
	ldrb	r0, [r10, #1]!	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L19
.L16:
	str	r0, [sp]
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r9
	bl	doapr_outch
	cmp	r0, #0
	bne	.L66
	b	.L15
.L62:
	mov	r3, #1
	str	r3, [fp, #-76]
	mov	r3, #45
	rsb	r5, r5, #0
	str	r3, [fp, #-80]
	b	.L2
.L19:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L18
	str	r4, [fp, #-52]
	mov	r4, r3
	mov	r3, r8
	mov	r10, #48
	mov	r8, r5
	mov	r5, r3
.L17:
	mov	r3, r5
	mov	r2, r7
	mov	r1, r6
	mov	r0, r9
	str	r10, [sp]
	bl	doapr_outch
	cmp	r0, #0
	beq	.L15
	subs	r4, r4, #1
	bne	.L17
	mov	r3, r5
	mov	r5, r8
	mov	r8, r3
	ldr	r4, [fp, #-52]
.L18:
	ldr	r3, [fp, #-48]
	sub	r4, r4, #1
	ldr	r10, [fp, #-84]
	add	r4, r3, r4
	b	.L20
.L21:
	ldrb	r2, [r4], #-1	@ zero_extendqisi2
	mov	r3, r8
	str	r2, [sp]
	mov	r1, r6
	mov	r2, r7
	mov	r0, r9
	bl	doapr_outch
	cmp	r0, #0
	beq	.L15
.L20:
	cmp	r4, r10
	bne	.L21
	cmp	r5, #0
	beq	.L23
	mov	r4, #32
	b	.L22
.L67:
	adds	r5, r5, #1
	beq	.L23
.L22:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r9
	str	r4, [sp]
	bl	doapr_outch
	cmp	r0, #0
	bne	.L67
	b	.L15
.L65:
	and	r3, r3, #255
	str	r3, [sp]
	mov	r2, r7
	mov	r3, r8
	mov	r1, r6
	mov	r0, r9
	bl	doapr_outch
	cmp	r0, #0
	bne	.L14
	b	.L15
.L29:
	ldr	r3, .L68+48
	str	r3, [fp, #-56]
	b	.L4
.L26:
	mov	r3, #1
	str	r3, [fp, #-76]
	mov	r3, #43
	str	r3, [fp, #-80]
	b	.L2
.L23:
	mov	r0, #1
	b	.L1
.L64:
	bl	__stack_chk_fail
.L69:
	.align	2
.L68:
	.word	.LC5
	.word	DP_F_UNSIGNED
	.word	DP_F_PLUS
	.word	DP_F_SPACE
	.word	DP_F_NUM
	.word	.LC2
	.word	.LC0
	.word	DP_F_UP
	.word	.LC4
	.word	.LC3
	.word	DP_F_ZERO
	.word	DP_F_MINUS
	.word	.LC1
	.size	fmtint, .-fmtint
	.comm	DP_F_ZERO,4,4
	.comm	DP_F_UP,4,4
	.comm	DP_F_UNSIGNED,4,4
	.comm	DP_F_SPACE,4,4
	.comm	DP_F_PLUS,4,4
	.comm	DP_F_NUM,4,4
	.comm	DP_F_MINUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
