	.file	"extr_psutils.c_acpi_ps_alloc_op.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ps_alloc_op
	.type	acpi_ps_alloc_op, @function
acpi_ps_alloc_op:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR ACPI_PARSEOP_GENERIC[rip]
	call	ACPI_FUNCTION_ENTRY@PLT
	mov	edi, ebp
	call	acpi_ps_get_opcode_info@PLT
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR AML_DEFER[rip], eax
	je	.L2
	mov	rbx, QWORD PTR ACPI_PARSEOP_DEFERRED[rip]
.L3:
	cmp	QWORD PTR ACPI_PARSEOP_GENERIC[rip], rbx
	je	.L13
.L5:
	mov	edi, DWORD PTR acpi_gbl_ps_node_ext_cache[rip]
	call	acpi_os_acquire_object@PLT
	mov	r12, rax
.L6:
	test	r12, r12
	je	.L1
	mov	esi, ebp
	mov	rdi, r12
	call	acpi_ps_init_op@PLT
	mov	QWORD PTR [r12], rbx
.L1:
	mov	rax, r12
	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
.L2:
	.cfi_restore_state
	test	DWORD PTR AML_NAMED[rip], eax
	je	.L4
	mov	rbx, QWORD PTR ACPI_PARSEOP_NAMED[rip]
	cmp	QWORD PTR ACPI_PARSEOP_GENERIC[rip], rbx
	jne	.L5
.L13:
	mov	edi, DWORD PTR acpi_gbl_ps_node_cache[rip]
	call	acpi_os_acquire_object@PLT
	mov	r12, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	DWORD PTR AML_INT_BYTELIST_OP[rip], ebp
	jne	.L3
	mov	rbx, QWORD PTR ACPI_PARSEOP_BYTELIST[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	acpi_ps_alloc_op, .-acpi_ps_alloc_op
	.comm	acpi_gbl_ps_node_ext_cache,4,4
	.comm	acpi_gbl_ps_node_cache,4,4
	.comm	AML_NAMED,4,4
	.comm	AML_INT_BYTELIST_OP,4,4
	.comm	AML_DEFER,4,4
	.comm	ACPI_PARSEOP_NAMED,8,8
	.comm	ACPI_PARSEOP_GENERIC,8,8
	.comm	ACPI_PARSEOP_DEFERRED,8,8
	.comm	ACPI_PARSEOP_BYTELIST,8,8
	.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_psutils.c_acpi_ps_alloc_op.c"
	.text
	.align	2
	.global	acpi_ps_alloc_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ps_alloc_op, %function
acpi_ps_alloc_op:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r4, .L13
	ldr	r6, [r4]
	bl	ACPI_FUNCTION_ENTRY
	mov	r0, r5
	bl	acpi_ps_get_opcode_info
	ldr	r2, .L13+4
	ldr	r3, [r0]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L2
	ldr	r3, .L13+8
	ldr	r6, [r3]
.L3:
	ldr	r3, [r4]
	cmp	r3, r6
	ldreq	r3, .L13+12
	ldrne	r3, .L13+16
	ldr	r0, [r3]
	bl	acpi_os_acquire_object
	cmp	r0, #0
	mov	r4, r0
	beq	.L1
	mov	r1, r5
	bl	acpi_ps_init_op
	str	r6, [r4]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, .L13+20
	ldr	r2, [r2]
	tst	r3, r2
	ldrne	r3, .L13+24
	ldrne	r6, [r3]
	bne	.L3
.L4:
	ldr	r3, .L13+28
	ldr	r3, [r3]
	cmp	r3, r5
	ldreq	r3, .L13+32
	ldreq	r6, [r3]
	b	.L3
.L14:
	.align	2
.L13:
	.word	ACPI_PARSEOP_GENERIC
	.word	AML_DEFER
	.word	ACPI_PARSEOP_DEFERRED
	.word	acpi_gbl_ps_node_cache
	.word	acpi_gbl_ps_node_ext_cache
	.word	AML_NAMED
	.word	ACPI_PARSEOP_NAMED
	.word	AML_INT_BYTELIST_OP
	.word	ACPI_PARSEOP_BYTELIST
	.size	acpi_ps_alloc_op, .-acpi_ps_alloc_op
	.comm	acpi_gbl_ps_node_ext_cache,4,4
	.comm	acpi_gbl_ps_node_cache,4,4
	.comm	AML_NAMED,4,4
	.comm	AML_INT_BYTELIST_OP,4,4
	.comm	AML_DEFER,4,4
	.comm	ACPI_PARSEOP_NAMED,4,4
	.comm	ACPI_PARSEOP_GENERIC,4,4
	.comm	ACPI_PARSEOP_DEFERRED,4,4
	.comm	ACPI_PARSEOP_BYTELIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
