	.file	"extr_asllength.c_CgGenerateAmlOpcodeLength.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CgGenerateAmlOpcodeLength, @function
CgGenerateAmlOpcodeLength:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	eax, DWORD PTR [rdi]
	mov	rbx, rdi
	cmp	eax, 255
	jg	.L2
	mov	DWORD PTR 4[rdi], 1
	mov	edx, DWORD PTR 8[rdi]
	mov	QWORD PTR 24[rdi], 0
	test	DWORD PTR OP_AML_PACKAGE[rip], edx
	jne	.L9
	cmp	eax, 130
	je	.L4
.L15:
	jg	.L5
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	jne	.L1
	mov	DWORD PTR 12[rbx], 8
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	eax, 131
	jne	.L1
	mov	DWORD PTR 12[rbx], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	DWORD PTR 4[rdi], 2
	mov	eax, DWORD PTR 8[rdi]
	mov	QWORD PTR 24[rdi], 0
	test	DWORD PTR OP_AML_PACKAGE[rip], eax
	je	.L1
.L9:
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, rbx
	call	CgGetPackageLenByteCount@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 130
	jne	.L15
.L4:
	mov	DWORD PTR 12[rbx], 4
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	DWORD PTR 12[rbx], 2
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	CgGenerateAmlOpcodeLength, .-CgGenerateAmlOpcodeLength
	.comm	OP_AML_PACKAGE,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_asllength.c_CgGenerateAmlOpcodeLength.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CgGenerateAmlOpcodeLength, %function
CgGenerateAmlOpcodeLength:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	mov	ip, #0
	cmp	r3, #256
	movlt	r1, #1
	movge	r1, #2
	ldr	r2, .L17
	push	{r4, lr}
	ldr	r2, [r2]
	str	r1, [r0, #4]
	ldr	r1, [r0, #8]
	mov	r4, r0
	tst	r1, r2
	str	ip, [r0, #20]
	bne	.L16
.L3:
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L6:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L8:
	mov	r3, #8
	str	r3, [r4, #12]
.L1:
	pop	{r4, pc}
.L16:
	ldr	r1, [r0, #16]
	bl	CgGetPackageLenByteCount
	ldr	r3, [r4]
	str	r0, [r4, #20]
	b	.L3
.L5:
	mov	r3, #1
	str	r3, [r4, #12]
	pop	{r4, pc}
.L9:
	mov	r3, #2
	str	r3, [r4, #12]
	pop	{r4, pc}
.L7:
	mov	r3, #4
	str	r3, [r4, #12]
	pop	{r4, pc}
.L18:
	.align	2
.L17:
	.word	OP_AML_PACKAGE
	.size	CgGenerateAmlOpcodeLength, .-CgGenerateAmlOpcodeLength
	.comm	OP_AML_PACKAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
