	.file	"extr_libdwarf_rw.c__dwarf_write_padding_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_dwarf_write_padding_alloc
	.type	_dwarf_write_padding_alloc, @function
_dwarf_write_padding_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	xor	edi, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	setg	dil
	call	assert@PLT
	mov	rdi, QWORD PTR [rbx]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	add	esi, esi
	mov	DWORD PTR [r15], esi
	movsx	rsi, esi
	call	realloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L8
.L2:
	mov	eax, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [r15]
	add	eax, r12d
	cmp	eax, esi
	jg	.L4
	mov	ecx, r12d
	mov	edx, r13d
	mov	rsi, rbp
	call	_dwarf_write_padding@PLT
	mov	eax, DWORD PTR DW_DLE_NONE[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR DW_DLE_MEMORY[rip]
	mov	rsi, r14
	call	DWARF_SET_ERROR@PLT
	mov	eax, DWORD PTR DW_DLE_MEMORY[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_dwarf_write_padding_alloc, .-_dwarf_write_padding_alloc
	.comm	DW_DLE_NONE,4,4
	.comm	DW_DLE_MEMORY,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_libdwarf_rw.c__dwarf_write_padding_alloc.c"
	.text
	.align	2
	.global	_dwarf_write_padding_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	_dwarf_write_padding_alloc, %function
_dwarf_write_padding_alloc:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r1]
	mov	r4, r1
	cmp	r0, #0
	movle	r0, #0
	movgt	r0, #1
	mov	r5, r2
	mov	r8, r3
	ldr	r7, [sp, #24]
	bl	assert
	ldr	ip, [r6]
	b	.L2
.L4:
	mov	r0, ip
	str	r1, [r4]
	bl	realloc
	cmp	r0, #0
	mov	ip, r0
	str	r0, [r6]
	beq	.L8
.L2:
	ldr	lr, [r5]
	ldr	r3, [r4]
	add	lr, r7, lr
	cmp	lr, r3
	lsl	r1, r3, #1
	bgt	.L4
	mov	r3, r7
	mov	r2, r8
	mov	r1, r5
	mov	r0, ip
	bl	_dwarf_write_padding
	ldr	r3, .L9
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r4, .L9+4
	ldr	r1, [sp, #28]
	ldr	r2, [r4]
	bl	DWARF_SET_ERROR
	ldr	r0, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	DW_DLE_NONE
	.word	DW_DLE_MEMORY
	.size	_dwarf_write_padding_alloc, .-_dwarf_write_padding_alloc
	.comm	DW_DLE_NONE,4,4
	.comm	DW_DLE_MEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
