	.file	"extr_snprintf.c_leading_pad.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	leading_pad, @function
leading_pad:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR [rdx]
	test	esi, esi
	jle	.L2
	mov	r12d, edi
	test	edi, edi
	jne	.L26
.L2:
	xor	r12d, r12d
	test	ebp, ebp
	setne	r12b
	cmp	esi, r12d
	jg	.L27
	test	ebp, ebp
	jne	.L28
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	rsi, r13
	mov	edi, ebp
	call	dopr_outch@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L6
	sub	eax, 1
	mov	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	test	ebp, ebp
	jne	.L29
.L3:
	movsx	edi, r12b
	mov	rdx, r13
	call	dopr_outchmulti@PLT
	mov	DWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	sub	esi, r12d
	mov	rdx, r13
	mov	edi, 32
	call	dopr_outchmulti@PLT
	mov	DWORD PTR [rbx], r12d
	test	ebp, ebp
	je	.L1
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L6:
	je	.L1
	add	eax, 1
	mov	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rsi, rcx
	mov	edi, ebp
	call	dopr_outch@PLT
	mov	eax, DWORD PTR [rbx]
	lea	esi, -1[rax]
	mov	DWORD PTR [rbx], esi
	test	esi, esi
	jg	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	leading_pad, .-leading_pad
	.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_snprintf.c_leading_pad.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	leading_pad, %function
leading_pad:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r2]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r0, #0
	cmpne	ip, #0
	mov	r4, r2
	mov	r5, r1
	mov	r7, r3
	bgt	.L16
	subs	r6, r1, #0
	movne	r6, #1
	cmp	ip, r6
	bgt	.L17
	cmp	r5, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r1, r7
	mov	r0, r5
	bl	dopr_outch
	ldr	r3, [r4]
	cmp	r3, #0
	ble	.L6
	sub	r3, r3, #1
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	mov	r2, r3
	mov	r0, #32
	sub	r1, ip, r6
	bl	dopr_outchmulti
	cmp	r5, #0
	str	r6, [r4]
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L18
.L16:
	cmp	r1, #0
	mov	r6, r0
	bne	.L19
.L3:
	mov	r2, r7
	mov	r1, ip
	and	r0, r6, #255
	bl	dopr_outchmulti
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	addne	r3, r3, #1
	strne	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	mov	r0, r1
	mov	r1, r3
	bl	dopr_outch
	ldr	ip, [r4]
	sub	ip, ip, #1
	cmp	ip, #0
	str	ip, [r4]
	pople	{r4, r5, r6, r7, r8, pc}
	b	.L3
	.size	leading_pad, .-leading_pad
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
