	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_get_next_arg           ## -- Begin function acpi_ps_get_next_arg
	.p2align	4, 0x90
_acpi_ps_get_next_arg:                  ## @acpi_ps_get_next_arg
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ps_get_next_arg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE_PTR
	leal	-128(%r14), %eax
	cmpl	$16, %eax
	ja	LBB0_17
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_AML_BYTE_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ps_alloc_op
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_acpi_ps_get_next_simple_arg
	jmp	LBB0_31
LBB0_5:
	movl	4(%r12), %eax
	cmpl	(%r12), %eax
	jge	LBB0_30
## %bb.6:
	movq	_ACPI_VAR_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	jmp	LBB0_30
LBB0_7:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_acpi_ps_peek_opcode
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_acpi_ps_is_leading_char
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %edi
	callq	_acpi_ps_is_prefix_char
	testl	%eax, %eax
	je	LBB0_35
LBB0_10:
	movq	_AML_INT_NAMEPATH_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ps_alloc_op
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_12:
	movl	4(%r13), %eax
	movq	_AML_UNLOAD_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.13:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_acpi_ps_get_next_namepath
	movl	%eax, %ebx
	movl	(%r15), %eax
	movq	_AML_INT_METHODCALL_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.14:
	movq	%r15, %rdi
	callq	_acpi_ps_free_op
	xorl	%r15d, %r15d
	jmp	LBB0_33
LBB0_15:
	movl	$1, (%r13)
	jmp	LBB0_30
LBB0_16:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_acpi_ps_get_next_namepath
	movl	%eax, %ebx
	jmp	LBB0_33
LBB0_17:
	movl	%r14d, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_18:
	movq	%r12, %rdi
	callq	_acpi_ps_get_next_package_end
	movl	%eax, (%r12)
	jmp	LBB0_30
LBB0_19:
	movl	4(%r12), %eax
	cmpl	(%r12), %eax
	jge	LBB0_30
## %bb.20:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r12), %eax
	movq	%r15, %r13
	movq	%rbx, %r14
	cmpl	%eax, 4(%r12)
	jge	LBB0_34
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_acpi_ps_get_next_field
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, %r15
	testq	%r14, %r14
	je	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rbx, 8(%r14)
	movq	%r13, %r15
	jmp	LBB0_21
LBB0_26:
	movl	4(%r12), %eax
	cmpl	(%r12), %eax
	jge	LBB0_30
## %bb.27:
	movq	_AML_INT_BYTELIST_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ps_alloc_op
	movq	%rax, %r15
	testq	%rax, %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_29
## %bb.28:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_29:
	movl	(%r12), %edi
	movl	4(%r12), %esi
	callq	_ACPI_PTR_DIFF
	movl	%eax, 4(%r15)
	movl	4(%r12), %eax
	movl	%eax, (%r15)
	movl	(%r12), %eax
	movl	%eax, 4(%r12)
	jmp	LBB0_32
LBB0_30:
	xorl	%r15d, %r15d
LBB0_31:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_32:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_33:
	movq	%r15, (%r14)
	movl	%ebx, %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
LBB0_34:
	movl	%eax, 4(%r12)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_33
LBB0_35:
	movl	$1, (%r13)
	xorl	%r15d, %r15d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_33
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_18
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_19
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_26
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ps_get_next_arg,4,2            ## @ps_get_next_arg
	.comm	_AML_BYTE_OP,4,2                ## @AML_BYTE_OP
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_AML_INT_BYTELIST_OP,4,2        ## @AML_INT_BYTELIST_OP
	.comm	_AML_INT_NAMEPATH_OP,4,2        ## @AML_INT_NAMEPATH_OP
	.comm	_AML_UNLOAD_OP,4,2              ## @AML_UNLOAD_OP
	.comm	_AML_INT_METHODCALL_OP,4,2      ## @AML_INT_METHODCALL_OP
	.comm	_ACPI_VAR_ARGS,4,2              ## @ACPI_VAR_ARGS
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ## @AE_AML_OPERAND_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_get_next_arg           ; -- Begin function acpi_ps_get_next_arg
	.p2align	2
_acpi_ps_get_next_arg:                  ; @acpi_ps_get_next_arg
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _ps_get_next_arg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ps_get_next_arg@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE_PTR
	sub	w8, w24, #128
	cmp	w8, #16
	b.hi	LBB0_17
; %bb.1:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh8:
	adrp	x8, _AML_BYTE_OP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AML_BYTE_OP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_acpi_ps_alloc_op
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_acpi_ps_get_next_simple_arg
	b	LBB0_32
LBB0_5:
	ldp	w9, w8, [x21]
	cmp	w8, w9
	b.ge	LBB0_31
; %bb.6:
	mov	x22, #0
Lloh14:
	adrp	x8, _ACPI_VAR_ARGS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACPI_VAR_ARGS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x23]
	b	LBB0_32
LBB0_7:
	mov	x0, x21
	bl	_acpi_ps_peek_opcode
	cbz	w0, LBB0_10
; %bb.8:
	mov	x22, x0
	bl	_acpi_ps_is_leading_char
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_acpi_ps_is_prefix_char
	cbz	w0, LBB0_15
LBB0_10:
Lloh17:
	adrp	x8, _AML_INT_NAMEPATH_OP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AML_INT_NAMEPATH_OP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_acpi_ps_alloc_op
	mov	x22, x0
	cbnz	x0, LBB0_12
; %bb.11:
Lloh20:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_12:
	ldr	w8, [x23, #4]
Lloh23:
	adrp	x9, _AML_UNLOAD_OP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _AML_UNLOAD_OP@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.13:
	mov	w3, #1
	bl	_acpi_ps_get_next_namepath
	mov	x20, x0
	ldr	w8, [x22]
Lloh26:
	adrp	x9, _AML_INT_METHODCALL_OP@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AML_INT_METHODCALL_OP@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_32
; %bb.14:
	mov	x0, x22
	bl	_acpi_ps_free_op
	b	LBB0_31
LBB0_15:
	mov	x22, #0
	mov	w8, #1
	str	w8, [x23]
	b	LBB0_32
LBB0_16:
	mov	w3, #0
	bl	_acpi_ps_get_next_namepath
	mov	x20, x0
	b	LBB0_32
LBB0_17:
	mov	x0, x24
	bl	_ACPI_ERROR
	mov	x22, #0
Lloh29:
	adrp	x8, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
	b	LBB0_32
LBB0_18:
	mov	x0, x21
	bl	_acpi_ps_get_next_package_end
	mov	x22, #0
	str	w0, [x21]
	b	LBB0_32
LBB0_19:
	ldp	w9, w8, [x21]
	cmp	w8, w9
	b.ge	LBB0_31
; %bb.20:
	mov	x25, #0
	mov	x26, #0
Lloh32:
	adrp	x24, _AE_NO_MEMORY@GOTPAGE
Lloh33:
	ldr	x24, [x24, _AE_NO_MEMORY@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	ldp	w8, w9, [x21]
	mov	x25, x22
	mov	x26, x23
	cmp	w9, w8
	b.ge	LBB0_30
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_acpi_ps_get_next_field
	mov	x23, x0
	cbnz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x24]
	bl	_return_ACPI_STATUS
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x22, x23
	cbz	x26, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	str	x23, [x26, #8]
	mov	x22, x25
	b	LBB0_21
LBB0_26:
	ldp	w9, w8, [x21]
	cmp	w8, w9
	b.ge	LBB0_31
; %bb.27:
Lloh34:
	adrp	x8, _AML_INT_BYTELIST_OP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AML_INT_BYTELIST_OP@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_acpi_ps_alloc_op
	mov	x22, x0
	cbnz	x0, LBB0_29
; %bb.28:
Lloh37:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_29:
	ldp	w0, w1, [x21]
	bl	_ACPI_PTR_DIFF
	str	w0, [x22, #4]
	ldr	w8, [x21, #4]
	str	w8, [x22]
	ldr	w8, [x21]
LBB0_30:
	str	w8, [x21, #4]
	b	LBB0_32
LBB0_31:
	mov	x22, #0
LBB0_32:
	str	x22, [x19]
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_26-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ps_get_next_arg,4,2            ; @ps_get_next_arg
	.comm	_AML_BYTE_OP,4,2                ; @AML_BYTE_OP
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_AML_INT_BYTELIST_OP,4,2        ; @AML_INT_BYTELIST_OP
	.comm	_AML_INT_NAMEPATH_OP,4,2        ; @AML_INT_NAMEPATH_OP
	.comm	_AML_UNLOAD_OP,4,2              ; @AML_UNLOAD_OP
	.comm	_AML_INT_METHODCALL_OP,4,2      ; @AML_INT_METHODCALL_OP
	.comm	_ACPI_VAR_ARGS,4,2              ; @ACPI_VAR_ARGS
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ; @AE_AML_OPERAND_TYPE
.subsections_via_symbols
