	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ps_get_arguments
_acpi_ps_get_arguments:                 ## @acpi_ps_get_arguments
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, -56(%rbp)
	movq	_ps_get_arguments@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_3
## %bb.1:
	movl	$3097, %ecx                     ## imm = 0xC19
	btl	%eax, %ecx
	jae	LBB0_2
## %bb.18:
	movl	52(%rbx), %edi
	addq	$8, %rbx
	callq	_GET_CURRENT_ARG_TYPE
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_acpi_ps_get_next_simple_arg
LBB0_38:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$7, %eax
	jne	LBB0_3
## %bb.19:
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_acpi_ps_get_next_namepath
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
LBB0_21:
	movl	$0, 52(%rbx)
	jmp	LBB0_38
LBB0_3:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	52(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	leaq	8(%rbx), %r12
	leaq	-56(%rbp), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	52(%rbx), %edi
	callq	_INCREMENT_ARG_LIST
	movl	52(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	testl	%eax, %eax
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 40(%rbx)
	jne	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rdi
	movl	24(%rbx), %esi
	callq	_ACPI_PTR_DIFF
	cltq
	movq	%rax, 56(%rbx)
	movl	52(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r13, %rcx
	callq	_acpi_ps_get_next_arg
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	56(%rbx), %rax
	movq	%rax, 16(%rsi)
	movq	%r14, %rdi
	callq	_acpi_ps_append_arg
	jmp	LBB0_10
LBB0_11:
	movl	44(%rbx), %eax
	movq	_ACPI_IMODE_LOAD_PASS2@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jg	LBB0_27
## %bb.12:
	movq	_ACPI_PARSE_DISASSEMBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_27
## %bb.13:
	movl	(%r14), %edi
	leal	-129(%rdi), %ecx
	cmpl	$8, %ecx
	ja	LBB0_22
## %bb.14:
	movl	$385, %edx                      ## imm = 0x181
	btl	%ecx, %edx
	jae	LBB0_22
## %bb.15:
	movq	_ACPI_IMODE_LOAD_PASS1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	movq	8(%rbx), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	subq	%rdi, %rsi
	sarq	$2, %rsi
	movl	48(%rbx), %edx
	callq	_acpi_ps_link_module_code
LBB0_17:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	movl	$0, 40(%rbx)
LBB0_27:
	movl	(%r14), %edi
LBB0_28:
	addl	$-129, %edi
	cmpl	$11, %edi
	ja	LBB0_38
## %bb.29:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_31:
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.32:
	movl	(%rax), %eax
	movq	_AML_NAME_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.33:
	movl	44(%rbx), %eax
	cmpl	(%r15), %eax
	jg	LBB0_38
## %bb.34:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%r14)
	movq	8(%rbx), %rax
	subq	%rcx, %rax
	jmp	LBB0_35
LBB0_36:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movq	8(%rbx), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_38
LBB0_30:
	movq	16(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	8(%rbx), %rax
	subq	16(%rbx), %rax
LBB0_35:
	sarq	$2, %rax
	movq	%rax, (%r14)
	movq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	movl	$0, 40(%rbx)
	jmp	LBB0_38
LBB0_22:
	movq	_ACPI_IMODE_LOAD_PASS1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
## %bb.23:
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movq	_AML_SCOPE_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.24:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_acpi_ps_get_opcode_info
	movl	(%rax), %eax
	movq	_AML_CLASS_EXECUTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.25:
	cmpq	$0, -56(%rbp)
	jne	LBB0_27
## %bb.26:
	movl	24(%rbx), %eax
	shll	$2, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %edi
	subl	%eax, %edi
	addl	$16, %edi
	callq	_ACPI_WARNING
	jmp	LBB0_27
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_36
	.long	L0_0_set_31
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_31
	.long	L0_0_set_30
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_38
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ps_get_arguments,4,2           ## @ps_get_arguments
	.comm	_ACPI_IMODE_LOAD_PASS2,4,2      ## @ACPI_IMODE_LOAD_PASS2
	.comm	_ACPI_PARSE_DISASSEMBLE,4,2     ## @ACPI_PARSE_DISASSEMBLE
	.comm	_ACPI_IMODE_LOAD_PASS1,4,2      ## @ACPI_IMODE_LOAD_PASS1
	.comm	_ACPI_DB_PARSE,4,2              ## @ACPI_DB_PARSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pass1: Skipping an If/Else/While body\n"

	.comm	_AML_SCOPE_OP,4,2               ## @AML_SCOPE_OP
	.comm	_AML_CLASS_EXECUTE,4,2          ## @AML_CLASS_EXECUTE
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AML_NAME_OP,4,2                ## @AML_NAME_OP
	.no_dead_strip	_acpi_ps_get_arguments
.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_arguments
_acpi_ps_get_arguments:                 ; @acpi_ps_get_arguments
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _ps_get_arguments@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_get_arguments@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_8
; %bb.1:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #3097
	tst	w9, w10
	b.eq	LBB0_4
; %bb.2:
	add	x21, x19, #8
	ldr	w0, [x19, #52]
	bl	_GET_CURRENT_ARG_TYPE
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_acpi_ps_get_next_simple_arg
LBB0_3:
Lloh3:
	adrp	x8, _AE_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	cmp	w8, #7
	b.ne	LBB0_8
; %bb.5:
	add	x1, x19, #8
	mov	x0, x19
	mov	x2, x20
	mov	w3, #1
	bl	_acpi_ps_get_next_namepath
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_7:
	str	wzr, [x19, #52]
	b	LBB0_3
LBB0_8:
	ldr	w0, [x19, #52]
	bl	_GET_CURRENT_ARG_TYPE
	cbz	w0, LBB0_16
; %bb.9:
	add	x22, x19, #8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x19, #52]
	bl	_INCREMENT_ARG_LIST
	ldr	w0, [x19, #52]
	bl	_GET_CURRENT_ARG_TYPE
	cbz	w0, LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #24]
	bl	_ACPI_PTR_DIFF
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x19, #56]
	ldr	w0, [x19, #52]
	bl	_GET_CURRENT_ARG_TYPE
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_acpi_ps_get_next_arg
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #56]
	str	x8, [x1, #16]
	mov	x0, x20
	bl	_acpi_ps_append_arg
	b	LBB0_10
LBB0_16:
	ldr	w8, [x19, #44]
Lloh6:
	adrp	x22, _ACPI_IMODE_LOAD_PASS2@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ACPI_IMODE_LOAD_PASS2@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	b.gt	LBB0_22
; %bb.17:
	ldr	w9, [x19]
Lloh8:
	adrp	x10, _ACPI_PARSE_DISASSEMBLE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ACPI_PARSE_DISASSEMBLE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_22
; %bb.18:
	ldr	w0, [x20]
	sub	w9, w0, #129
	cmp	w9, #8
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #385
	and	w9, w9, w10
	ccmp	w9, #0, #4, ls
	b.eq	LBB0_33
; %bb.19:
Lloh11:
	adrp	x9, _ACPI_IMODE_LOAD_PASS1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ACPI_IMODE_LOAD_PASS1@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.20:
	ldr	x8, [x19, #8]
	sub	x8, x8, x21
	asr	x1, x8, #2
	ldr	w2, [x19, #48]
	mov	x0, x21
	bl	_acpi_ps_link_module_code
LBB0_21:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
	str	wzr, [x19, #40]
LBB0_22:
	ldr	w0, [x20]
LBB0_23:
	sub	w8, w0, #129
	cmp	w8, #11
	b.hi	LBB0_3
; %bb.24:
Lloh16:
	adrp	x9, lJTI0_0@PAGE
Lloh17:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_25:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.26:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _AML_NAME_OP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AML_NAME_OP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.27:
	ldr	w8, [x19, #44]
	ldr	w9, [x22]
	cmp	w8, w9
	b.gt	LBB0_3
; %bb.28:
	str	x21, [x20, #8]
	ldr	x8, [x19, #8]
	sub	x8, x8, x21
	b	LBB0_32
LBB0_29:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
; %bb.30:
	ldr	x9, [x19, #8]
	str	x9, [x8]
	b	LBB0_3
LBB0_31:
	ldr	x8, [x19, #16]
	str	x8, [x20, #8]
	ldp	x8, x9, [x19, #8]
	sub	x8, x8, x9
LBB0_32:
	asr	x8, x8, #2
	str	x8, [x20]
	ldr	x8, [x19, #8]
	str	x8, [x19, #16]
	str	wzr, [x19, #40]
	b	LBB0_3
LBB0_33:
Lloh21:
	adrp	x9, _ACPI_IMODE_LOAD_PASS1@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ACPI_IMODE_LOAD_PASS1@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.34:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _AML_SCOPE_OP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AML_SCOPE_OP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_22
; %bb.35:
	bl	_acpi_ps_get_opcode_info
	ldr	w8, [x0]
Lloh27:
	adrp	x9, _AML_CLASS_EXECUTE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AML_CLASS_EXECUTE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	ldr	x10, [sp, #8]
	cmp	w8, w9
	ccmp	x10, #0, #0, eq
	b.ne	LBB0_22
; %bb.36:
	ldr	w8, [x19, #24]
	sub	w8, w21, w8, lsl #2
	add	w0, w8, #16
	bl	_ACPI_WARNING
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_29-LBB0_3)>>2
	.byte	(LBB0_25-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_25-LBB0_3)>>2
	.byte	(LBB0_31-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_25-LBB0_3)>>2
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ps_get_arguments,4,2           ; @ps_get_arguments
	.comm	_ACPI_IMODE_LOAD_PASS2,4,2      ; @ACPI_IMODE_LOAD_PASS2
	.comm	_ACPI_PARSE_DISASSEMBLE,4,2     ; @ACPI_PARSE_DISASSEMBLE
	.comm	_ACPI_IMODE_LOAD_PASS1,4,2      ; @ACPI_IMODE_LOAD_PASS1
	.comm	_ACPI_DB_PARSE,4,2              ; @ACPI_DB_PARSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pass1: Skipping an If/Else/While body\n"

	.comm	_AML_SCOPE_OP,4,2               ; @AML_SCOPE_OP
	.comm	_AML_CLASS_EXECUTE,4,2          ; @AML_CLASS_EXECUTE
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AML_NAME_OP,4,2                ; @AML_NAME_OP
	.no_dead_strip	_acpi_ps_get_arguments
.subsections_via_symbols
