	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ps_get_aml_opcode
_acpi_ps_get_aml_opcode:                ## @acpi_ps_get_aml_opcode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ps_get_aml_opcode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	leaq	16(%rbx), %r14
	movl	16(%rbx), %edi
	movl	20(%rbx), %esi
	callq	_ACPI_PTR_DIFF
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	callq	_acpi_ps_peek_opcode
	movl	%eax, 12(%rbx)
	movl	%eax, %edi
	callq	_acpi_ps_get_opcode_info
	movq	%rax, (%rbx)
	movl	(%rax), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.5:
	movq	_AML_INT_NAMEPATH_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_ARGP_NAMESTRING@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_3
## %bb.2:
	movl	24(%rbx), %edi
	callq	_ACPI_ERROR
	movl	16(%rbx), %edi
	movl	$128, %esi
	callq	_ACPI_DUMP_BUFFER
	incl	16(%rbx)
	movq	_AE_CTRL_PARSE_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_3:
	movl	12(%rbx), %edi
	callq	_acpi_ps_get_opcode_size
	addl	%eax, 16(%rbx)
	movq	(%rbx), %rax
	addq	$4, %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ps_get_aml_opcode,4,2          ## @ps_get_aml_opcode
	.comm	_AML_INT_NAMEPATH_OP,4,2        ## @AML_INT_NAMEPATH_OP
	.comm	_ARGP_NAMESTRING,4,2            ## @ARGP_NAMESTRING
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_CTRL_PARSE_CONTINUE,4,2     ## @AE_CTRL_PARSE_CONTINUE
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_acpi_ps_get_aml_opcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ps_get_aml_opcode
_acpi_ps_get_aml_opcode:                ; @acpi_ps_get_aml_opcode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _ps_get_aml_opcode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_get_aml_opcode@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_PTR
	mov	x20, x19
	ldr	w0, [x20, #16]!
	ldr	w1, [x19, #20]
	bl	_ACPI_PTR_DIFF
	str	x0, [x19, #24]
	mov	x0, x20
	bl	_acpi_ps_peek_opcode
	str	w0, [x19, #12]
	bl	_acpi_ps_get_opcode_info
	str	x0, [x19]
	ldr	w8, [x0]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AML_INT_NAMEPATH_OP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AML_INT_NAMEPATH_OP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #12]
Lloh6:
	adrp	x8, _ARGP_NAMESTRING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARGP_NAMESTRING@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x19, #24]
	bl	_ACPI_ERROR
	ldr	w0, [x19, #16]
	mov	w1, #128
	bl	_ACPI_DUMP_BUFFER
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
Lloh8:
	adrp	x8, _AE_CTRL_PARSE_CONTINUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_CTRL_PARSE_CONTINUE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	w0, [x19, #12]
	bl	_acpi_ps_get_opcode_size
	ldr	w8, [x19, #16]
	add	w8, w8, w0
	str	w8, [x19, #16]
	ldr	x8, [x19]
	add	x8, x8, #4
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh11:
	adrp	x8, _AE_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ps_get_aml_opcode,4,2          ; @ps_get_aml_opcode
	.comm	_AML_INT_NAMEPATH_OP,4,2        ; @AML_INT_NAMEPATH_OP
	.comm	_ARGP_NAMESTRING,4,2            ; @ARGP_NAMESTRING
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_CTRL_PARSE_CONTINUE,4,2     ; @AE_CTRL_PARSE_CONTINUE
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_acpi_ps_get_aml_opcode
.subsections_via_symbols
