	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ps_build_named_op
_acpi_ps_build_named_op:                ## @acpi_ps_build_named_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	%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, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	_ps_build_named_op@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	movl	24(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	leaq	28(%rbx), %r13
	movq	_ARGP_NAME@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_acpi_ps_append_arg
	movl	24(%rbx), %edi
	callq	_INCREMENT_ARG_LIST
	movl	24(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	leaq	-48(%rbp), %rcx
	callq	_acpi_ps_get_next_arg
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_return_ACPI_STATUS
	jmp	LBB0_5
LBB0_6:
	movl	24(%rbx), %edi
	callq	_GET_CURRENT_ARG_TYPE
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_AE_AML_NO_OPERAND@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_return_ACPI_STATUS
LBB0_8:
	movl	24(%rbx), %edi
	callq	_INCREMENT_ARG_LIST
	movq	$0, 16(%rbx)
	movq	%rbx, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	*8(%rbx)
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_EXCEPTION
	movq	%r14, %rdi
	callq	_return_ACPI_STATUS
LBB0_10:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	jne	LBB0_12
## %bb.11:
	movq	_AE_CTRL_PARSE_CONTINUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_return_ACPI_STATUS
	movq	(%r15), %rsi
LBB0_12:
	addq	$8, %r12
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_acpi_ps_next_parse_state
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	_AE_CTRL_PENDING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_15
## %bb.14:
	movq	_AE_CTRL_PARSE_PENDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_return_ACPI_STATUS
LBB0_15:
	movq	%rbx, %rdi
	callq	_return_ACPI_STATUS
LBB0_16:
	movq	(%r15), %rdi
	movq	(%r12), %rsi
	callq	_acpi_ps_append_arg
	movq	_acpi_gbl_depth@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	_AML_REGION_OP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_18
## %bb.17:
	movq	_AML_DATA_REGION_OP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_19
LBB0_18:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
	movq	(%r15), %rax
	movq	$0, (%rax)
LBB0_19:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_return_ACPI_STATUS
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,8,3                      ## @AE_OK
	.comm	_ps_build_named_op,4,2          ## @ps_build_named_op
	.comm	_ARGP_NAME,8,3                  ## @ARGP_NAME
	.comm	_AE_AML_NO_OPERAND,8,3          ## @AE_AML_NO_OPERAND
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"During name lookup/catalog"

	.comm	_AE_CTRL_PARSE_CONTINUE,8,3     ## @AE_CTRL_PARSE_CONTINUE
	.comm	_AE_CTRL_PENDING,8,3            ## @AE_CTRL_PENDING
	.comm	_AE_CTRL_PARSE_PENDING,8,3      ## @AE_CTRL_PARSE_PENDING
	.comm	_acpi_gbl_depth,4,2             ## @acpi_gbl_depth
	.comm	_AML_REGION_OP,8,3              ## @AML_REGION_OP
	.comm	_AML_DATA_REGION_OP,8,3         ## @AML_DATA_REGION_OP
	.no_dead_strip	_acpi_ps_build_named_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ps_build_named_op
_acpi_ps_build_named_op:                ; @acpi_ps_build_named_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _ps_build_named_op@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_build_named_op@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_ACPI_FUNCTION_TRACE_PTR
	mov	x25, x22
	str	xzr, [x25, #8]!
	str	xzr, [x22, #16]
	ldr	x8, [x21]
	str	x8, [x22]
	ldr	w0, [x21, #24]
	bl	_GET_CURRENT_ARG_TYPE
	cbz	x0, LBB0_6
; %bb.1:
	add	x23, x21, #28
Lloh3:
	adrp	x26, _ARGP_NAME@GOTPAGE
Lloh4:
	ldr	x26, [x26, _ARGP_NAME@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x22
	bl	_acpi_ps_append_arg
	ldr	w0, [x21, #24]
	bl	_INCREMENT_ARG_LIST
	ldr	w0, [x21, #24]
	bl	_GET_CURRENT_ARG_TYPE
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #24]
	bl	_GET_CURRENT_ARG_TYPE
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21, #24]
	bl	_GET_CURRENT_ARG_TYPE
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x23
	bl	_acpi_ps_get_next_arg
	mov	x24, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_return_ACPI_STATUS
	b	LBB0_2
LBB0_6:
	ldr	w0, [x21, #24]
	bl	_GET_CURRENT_ARG_TYPE
	cbnz	x0, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _AE_AML_NO_OPERAND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_AML_NO_OPERAND@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	bl	_return_ACPI_STATUS
LBB0_8:
	ldr	w0, [x21, #24]
	bl	_INCREMENT_ARG_LIST
	str	xzr, [x21, #16]
	ldr	x8, [x21, #8]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_10
; %bb.9:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_EXCEPTION
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_10:
	ldr	x1, [x19]
	cbnz	x1, LBB0_12
; %bb.11:
Lloh10:
	adrp	x8, _AE_CTRL_PARSE_CONTINUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AE_CTRL_PARSE_CONTINUE@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	bl	_return_ACPI_STATUS
	ldr	x1, [x19]
LBB0_12:
	mov	x0, x21
	mov	x2, x22
	bl	_acpi_ps_next_parse_state
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_16
; %bb.13:
Lloh13:
	adrp	x8, _AE_CTRL_PENDING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AE_CTRL_PENDING@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_15
; %bb.14:
Lloh16:
	adrp	x8, _AE_CTRL_PARSE_PENDING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AE_CTRL_PARSE_PENDING@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	bl	_return_ACPI_STATUS
LBB0_15:
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_16:
	ldr	x0, [x19]
	ldr	x1, [x25]
	bl	_acpi_ps_append_arg
Lloh19:
	adrp	x8, _acpi_gbl_depth@GOTPAGE
Lloh20:
	ldr	x8, [x8, _acpi_gbl_depth@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh21:
	adrp	x10, _AML_REGION_OP@GOTPAGE
Lloh22:
	ldr	x10, [x10, _AML_REGION_OP@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_18
; %bb.17:
Lloh24:
	adrp	x10, _AML_DATA_REGION_OP@GOTPAGE
Lloh25:
	ldr	x10, [x10, _AML_DATA_REGION_OP@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_19
LBB0_18:
	str	x20, [x8, #8]
	ldr	x8, [x19]
	str	xzr, [x8]
LBB0_19:
Lloh27:
	adrp	x8, _AE_OK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_ps_build_named_op,4,2          ; @ps_build_named_op
	.comm	_ARGP_NAME,8,3                  ; @ARGP_NAME
	.comm	_AE_AML_NO_OPERAND,8,3          ; @AE_AML_NO_OPERAND
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"During name lookup/catalog"

	.comm	_AE_CTRL_PARSE_CONTINUE,8,3     ; @AE_CTRL_PARSE_CONTINUE
	.comm	_AE_CTRL_PENDING,8,3            ; @AE_CTRL_PENDING
	.comm	_AE_CTRL_PARSE_PENDING,8,3      ; @AE_CTRL_PARSE_PENDING
	.comm	_acpi_gbl_depth,4,2             ; @acpi_gbl_depth
	.comm	_AML_REGION_OP,8,3              ; @AML_REGION_OP
	.comm	_AML_DATA_REGION_OP,8,3         ; @AML_DATA_REGION_OP
	.no_dead_strip	_acpi_ps_build_named_op
.subsections_via_symbols
