	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_alloc_op               ## -- Begin function acpi_ps_alloc_op
	.p2align	4, 0x90
_acpi_ps_alloc_op:                      ## @acpi_ps_alloc_op
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_ACPI_PARSEOP_GENERIC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r15
	xorl	%eax, %eax
	callq	_ACPI_FUNCTION_ENTRY
	movl	%r14d, %edi
	callq	_acpi_ps_get_opcode_info
	movl	(%rax), %eax
	movq	_AML_DEFER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_ACPI_PARSEOP_DEFERRED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_AML_NAMED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_ACPI_PARSEOP_NAMED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_AML_INT_BYTELIST_OP@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	_ACPI_PARSEOP_BYTELIST@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %r15
LBB0_7:
	cmpq	(%rbx), %r15
	jne	LBB0_8
## %bb.9:
	movq	_acpi_gbl_ps_node_cache@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_acpi_gbl_ps_node_ext_cache@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edi
	callq	_acpi_os_acquire_object
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_acpi_ps_init_op
	movq	%r15, (%rbx)
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_PARSEOP_GENERIC,8,3       ## @ACPI_PARSEOP_GENERIC
	.comm	_AML_DEFER,4,2                  ## @AML_DEFER
	.comm	_ACPI_PARSEOP_DEFERRED,8,3      ## @ACPI_PARSEOP_DEFERRED
	.comm	_AML_NAMED,4,2                  ## @AML_NAMED
	.comm	_ACPI_PARSEOP_NAMED,8,3         ## @ACPI_PARSEOP_NAMED
	.comm	_AML_INT_BYTELIST_OP,4,2        ## @AML_INT_BYTELIST_OP
	.comm	_ACPI_PARSEOP_BYTELIST,8,3      ## @ACPI_PARSEOP_BYTELIST
	.comm	_acpi_gbl_ps_node_cache,4,2     ## @acpi_gbl_ps_node_cache
	.comm	_acpi_gbl_ps_node_ext_cache,4,2 ## @acpi_gbl_ps_node_ext_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_alloc_op               ; -- Begin function acpi_ps_alloc_op
	.p2align	2
_acpi_ps_alloc_op:                      ; @acpi_ps_alloc_op
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x20, _ACPI_PARSEOP_GENERIC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ACPI_PARSEOP_GENERIC@GOTPAGEOFF]
	ldr	x21, [x20]
	bl	_ACPI_FUNCTION_ENTRY
	mov	x0, x19
	bl	_acpi_ps_get_opcode_info
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _AML_DEFER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AML_DEFER@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ACPI_PARSEOP_DEFERRED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACPI_PARSEOP_DEFERRED@GOTPAGEOFF]
Lloh7:
	ldr	x21, [x8]
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x9, _AML_NAMED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AML_NAMED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ACPI_PARSEOP_NAMED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ACPI_PARSEOP_NAMED@GOTPAGEOFF]
Lloh13:
	ldr	x21, [x8]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _AML_INT_BYTELIST_OP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AML_INT_BYTELIST_OP@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _ACPI_PARSEOP_BYTELIST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ACPI_PARSEOP_BYTELIST@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	w8, w19
	csel	x21, x9, x21, eq
LBB0_5:
Lloh20:
	adrp	x8, _acpi_gbl_ps_node_cache@GOTPAGE
Lloh21:
	ldr	x8, [x8, _acpi_gbl_ps_node_cache@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh22:
	adrp	x10, _acpi_gbl_ps_node_ext_cache@GOTPAGE
Lloh23:
	ldr	x10, [x10, _acpi_gbl_ps_node_ext_cache@GOTPAGEOFF]
	cmp	x21, x9
	csel	x8, x8, x10, eq
	ldr	w0, [x8]
	bl	_acpi_os_acquire_object
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_ps_init_op
	str	x21, [x20]
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_PARSEOP_GENERIC,8,3       ; @ACPI_PARSEOP_GENERIC
	.comm	_AML_DEFER,4,2                  ; @AML_DEFER
	.comm	_ACPI_PARSEOP_DEFERRED,8,3      ; @ACPI_PARSEOP_DEFERRED
	.comm	_AML_NAMED,4,2                  ; @AML_NAMED
	.comm	_ACPI_PARSEOP_NAMED,8,3         ; @ACPI_PARSEOP_NAMED
	.comm	_AML_INT_BYTELIST_OP,4,2        ; @AML_INT_BYTELIST_OP
	.comm	_ACPI_PARSEOP_BYTELIST,8,3      ; @ACPI_PARSEOP_BYTELIST
	.comm	_acpi_gbl_ps_node_cache,4,2     ; @acpi_gbl_ps_node_cache
	.comm	_acpi_gbl_ps_node_ext_cache,4,2 ; @acpi_gbl_ps_node_ext_cache
.subsections_via_symbols
