	.file	"extr_libpe_utils.c_libpe_align.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	libpe_align
	.type	libpe_align, @function
libpe_align:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	xor	edi, edi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdx, rdx
	je	.L2
	lea	rax, -1[rdx]
	xor	edi, edi
	test	rax, rdx
	sete	dil
.L2:
	call	assert@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	call	roundup@PLT
	mov	r12, rax
	cmp	rbx, rax
	jl	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L9:
	.cfi_restore_state
	mov	rsi, rax
	mov	rdi, r13
	sub	rsi, rbx
	call	libpe_pad@PLT
	test	rax, rax
	mov	rax, -1
	cmovs	r12, rax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	libpe_align, .-libpe_align
	.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_libpe_utils.c_libpe_align.c"
	.text
	.align	2
	.global	libpe_align
	.syntax unified
	.arm
	.fpu softvfp
	.type	libpe_align, %function
libpe_align:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r2, #0
	mov	r6, r0
	mov	r5, r1
	moveq	r0, r4
	beq	.L2
	sub	r3, r4, #1
	tst	r3, r4
	moveq	r0, #1
	movne	r0, #0
.L2:
	bl	assert
	mov	r1, r4
	mov	r0, r5
	bl	roundup
	cmp	r5, r0
	mov	r4, r0
	blt	.L7
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L7:
	sub	r1, r0, r5
	mov	r0, r6
	bl	libpe_pad
	cmp	r0, #0
	mvnlt	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
	.size	libpe_align, .-libpe_align
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
