	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_get_opcode_info        ## -- Begin function acpi_ps_get_opcode_info
	.p2align	4, 0x90
_acpi_ps_get_opcode_info:               ## @acpi_ps_get_opcode_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_ps_get_opcode_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	movl	%ebx, %eax
	andl	$65280, %eax                    ## imm = 0xFF00
	je	LBB0_1
## %bb.2:
	movq	_AML_EXTENDED_OPCODE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.3:
	movslq	%ebx, %rax
	movq	_MAX_EXTENDED_OPCODE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jae	LBB0_4
LBB0_6:
	movl	%ebx, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	__UNK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_acpi_gbl_short_op_index@GOTPCREL(%rip), %rcx
	movslq	%ebx, %rax
	jmp	LBB0_5
LBB0_4:
	movq	_acpi_gbl_long_op_index@GOTPCREL(%rip), %rcx
LBB0_5:
	shlq	$3, %rax
	addq	(%rcx), %rax
LBB0_7:
	movq	_acpi_gbl_aml_op_info@GOTPCREL(%rip), %rcx
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	(%rcx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ps_get_opcode_info,4,2         ## @ps_get_opcode_info
	.comm	_acpi_gbl_aml_op_info,8,3       ## @acpi_gbl_aml_op_info
	.comm	_acpi_gbl_short_op_index,8,3    ## @acpi_gbl_short_op_index
	.comm	_AML_EXTENDED_OPCODE,4,2        ## @AML_EXTENDED_OPCODE
	.comm	_MAX_EXTENDED_OPCODE,8,3        ## @MAX_EXTENDED_OPCODE
	.comm	_acpi_gbl_long_op_index,8,3     ## @acpi_gbl_long_op_index
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	__UNK,8,3                       ## @_UNK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_get_opcode_info        ; -- Begin function acpi_ps_get_opcode_info
	.p2align	2
_acpi_ps_get_opcode_info:               ; @acpi_ps_get_opcode_info
	.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_opcode_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_get_opcode_info@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
	ands	w8, w19, #0xff00
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _AML_EXTENDED_OPCODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AML_EXTENDED_OPCODE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	sxtw	x8, w19
Lloh6:
	adrp	x9, _MAX_EXTENDED_OPCODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_EXTENDED_OPCODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.hs	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
Lloh9:
	adrp	x8, __UNK@GOTPAGE
Lloh10:
	ldr	x8, [x8, __UNK@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _acpi_gbl_short_op_index@GOTPAGE
Lloh12:
	ldr	x8, [x8, _acpi_gbl_short_op_index@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x8, x8, w19, sxtw #3
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x9, _acpi_gbl_long_op_index@GOTPAGE
Lloh15:
	ldr	x9, [x9, _acpi_gbl_long_op_index@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x8, x9, x8, lsl #3
LBB0_6:
Lloh17:
	adrp	x9, _acpi_gbl_aml_op_info@GOTPAGE
Lloh18:
	ldr	x9, [x9, _acpi_gbl_aml_op_info@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x8, [x8]
	add	x0, x9, x8, lsl #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ps_get_opcode_info,4,2         ; @ps_get_opcode_info
	.comm	_acpi_gbl_aml_op_info,8,3       ; @acpi_gbl_aml_op_info
	.comm	_acpi_gbl_short_op_index,8,3    ; @acpi_gbl_short_op_index
	.comm	_AML_EXTENDED_OPCODE,4,2        ; @AML_EXTENDED_OPCODE
	.comm	_MAX_EXTENDED_OPCODE,8,3        ; @MAX_EXTENDED_OPCODE
	.comm	_acpi_gbl_long_op_index,8,3     ; @acpi_gbl_long_op_index
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	__UNK,8,3                       ; @_UNK
.subsections_via_symbols
