	.file	"extr_printf.c_ui2a.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ui2a, @function
ui2a:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	r8d, 1
	mov	ebx, edx
	cmp	edi, esi
	jb	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	imul	r8d, esi
	mov	eax, edi
	xor	edx, edx
	div	r8d
	cmp	eax, esi
	jnb	.L3
	test	r8d, r8d
	je	.L19
.L2:
	xor	r10d, r10d
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, edi
	xor	edx, edx
	div	r8d
	mov	edi, edx
	mov	r9d, eax
	xor	edx, edx
	mov	eax, r8d
	div	esi
	test	r10d, r10d
	jne	.L5
	test	r9d, r9d
	jg	.L5
	cmp	esi, r8d
	jbe	.L7
	lea	edx, 48[r9]
	lea	r11, 1[rcx]
	mov	BYTE PTR [rcx], dl
.L4:
	mov	BYTE PTR [r11], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, 48
	cmp	r9d, 9
	jle	.L8
	cmp	ebx, 1
	sbb	edx, edx
	and	edx, 32
	add	edx, 55
.L8:
	add	edx, r9d
	lea	r11, 1[rcx]
	add	r10d, 1
	mov	BYTE PTR [rcx], dl
	cmp	esi, r8d
	ja	.L4
	mov	rcx, r11
.L7:
	mov	r8d, eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r11, rcx
	mov	BYTE PTR [r11], 0
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ui2a, .-ui2a
	.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_printf.c_ui2a.c"
	.text
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ui2a, %function
ui2a:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, r1
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	mov	r8, r1
	mov	r4, #1
	mov	r9, r2
	mov	r7, r3
	bcc	.L2
.L3:
	mul	r4, r8, r4
	mov	r0, r5
	mov	r1, r4
	bl	__aeabi_uidiv
	cmp	r0, r8
	bcs	.L3
	cmp	r4, #0
	beq	.L19
.L2:
	mov	r10, #0
.L10:
	mov	r0, r5
	mov	r1, r4
	bl	__aeabi_uidivmod
	mov	r6, r0
	mov	r5, r1
	mov	r0, r4
	mov	r1, r8
	bl	__aeabi_uidiv
	cmp	r6, #0
	movle	r3, #0
	movgt	r3, #1
	cmp	r10, #0
	movne	r3, #1
	cmp	r3, #0
	bne	.L5
	cmp	r8, r4
	bls	.L20
	mov	r3, r7
	add	r6, r6, #48
	strb	r6, [r3], #1
.L4:
	mov	r2, #0
	strb	r2, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	cmp	r6, #9
	movle	r2, #48
	ble	.L8
	cmp	r9, #0
	movne	r2, #55
	moveq	r2, #87
.L8:
	mov	r3, r7
	add	r6, r2, r6
	cmp	r8, r4
	strb	r6, [r3], #1
	add	r10, r10, #1
	bhi	.L4
	mov	r7, r3
.L7:
	mov	r4, r0
	b	.L10
.L20:
	mov	r10, r3
	b	.L7
.L19:
	mov	r3, r7
	b	.L4
	.size	ui2a, .-ui2a
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
