	.file	"extr_aslprepkg.c_ApCustomPackage.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ApCustomPackage, @function
ApCustomPackage:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdx, QWORD PTR PARSEOP_INTEGER[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 24[rdi]
	mov	rbp, QWORD PTR 16[rax]
	cmp	QWORD PTR 0[rbp], rdx
	jne	.L10
	mov	r12, QWORD PTR 8[rbp]
	xor	ecx, ecx
	mov	rdx, QWORD PTR 8[rax]
	mov	r8, rdi
	mov	rbx, rsi
	mov	edi, DWORD PTR [rsi]
	test	r12, r12
	setne	cl
	add	rcx, 20
	cmp	rcx, rdx
	jg	.L11
	jl	.L12
.L5:
	mov	r8d, DWORD PTR ACPI_RTYPE_STRING[rip]
	mov	edx, DWORD PTR ACPI_RTYPE_INTEGER[rip]
	mov	rsi, rbp
	mov	r9d, 4
	mov	ecx, 16
	call	ApCheckPackageElements@PLT
	mov	rsi, rax
	test	r12, r12
	jg	.L13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	edx, DWORD PTR ACPI_RTYPE_INTEGER[rip]
	xor	r9d, r9d
	xor	r8d, r8d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	ecx, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ApCheckPackageElements@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	ecx, DWORD PTR AslGbl_MsgBuffer[rip]
	mov	esi, DWORD PTR ASL_MSG_RESERVED_OPERAND_TYPE[rip]
	mov	rdx, rbp
	mov	edi, DWORD PTR ASL_ERROR[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	AslError@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, r8
	call	ApPackageTooLarge@PLT
	mov	edi, DWORD PTR [rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, r8
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ApPackageTooSmall@PLT
	.cfi_endproc
.LFE0:
	.size	ApCustomPackage, .-ApCustomPackage
	.comm	PARSEOP_INTEGER,8,8
	.comm	AslGbl_MsgBuffer,4,4
	.comm	ASL_MSG_RESERVED_OPERAND_TYPE,4,4
	.comm	ASL_ERROR,4,4
	.comm	ACPI_RTYPE_STRING,4,4
	.comm	ACPI_RTYPE_INTEGER,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_aslprepkg.c_ApCustomPackage.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ApCustomPackage, %function
ApCustomPackage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, r7, lr}
	ldr	r2, .L14
	ldr	r5, [r3, #8]
	mov	ip, r0
	ldr	r2, [r2]
	ldr	r0, [r5]
	sub	sp, sp, #12
	cmp	r0, r2
	bne	.L10
	ldr	r6, [r5, #4]
	ldr	r2, [r3, #4]
	cmp	r6, #0
	movne	r3, #21
	moveq	r3, #20
	cmp	r3, r2
	mov	r4, r1
	ldr	r0, [r1]
	bgt	.L11
	blt	.L12
.L5:
	mov	r3, #4
	ldr	r2, .L14+4
	ldr	r7, .L14+8
	ldr	r2, [r2]
	mov	r1, r5
	stm	sp, {r2, r3}
	mov	r3, #16
	ldr	r2, [r7]
	bl	ApCheckPackageElements
	cmp	r6, #0
	bgt	.L13
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	mov	r3, #0
	mov	r1, r0
	ldr	r2, [r7]
	ldr	r0, [r4]
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r3, #1
	bl	ApCheckPackageElements
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r2, r5
	ldr	r3, .L14+12
	ldr	r1, .L14+16
	ldr	r0, .L14+20
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r0, [r0]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	AslError
.L12:
	mov	r1, ip
	bl	ApPackageTooLarge
	ldr	r0, [r4]
	b	.L5
.L11:
	mov	r1, ip
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	ApPackageTooSmall
.L15:
	.align	2
.L14:
	.word	PARSEOP_INTEGER
	.word	ACPI_RTYPE_STRING
	.word	ACPI_RTYPE_INTEGER
	.word	AslGbl_MsgBuffer
	.word	ASL_MSG_RESERVED_OPERAND_TYPE
	.word	ASL_ERROR
	.size	ApCustomPackage, .-ApCustomPackage
	.comm	PARSEOP_INTEGER,4,4
	.comm	AslGbl_MsgBuffer,4,4
	.comm	ASL_MSG_RESERVED_OPERAND_TYPE,4,4
	.comm	ASL_ERROR,4,4
	.comm	ACPI_RTYPE_STRING,4,4
	.comm	ACPI_RTYPE_INTEGER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
