	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __call_snc_method
___call_snc_method:                     ## @__call_snc_method
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_ACPI_ALLOCATE_BUFFER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -48(%rbp)
	movl	$0, -40(%rbp)
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	movl	(%rdx), %eax
	movl	%eax, -32(%rbp)
	movl	$1, -72(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -64(%rbp)
	leaq	-72(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r14, %rsi
	callq	_acpi_evaluate_object
	movl	%eax, %r15d
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_3
LBB0_2:
	leaq	-56(%rbp), %rcx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_acpi_evaluate_object
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_3:
	movl	%r15d, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_pr_err
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	-56(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_7:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ## @ACPI_ALLOCATE_BUFFER
	.comm	_ACPI_TYPE_INTEGER,4,2          ## @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"__call_snc_method: [%s:0x%.8x%.8x]\n"

L_.str.1:                               ## @.str.1
	.asciz	"__call_snc_method: [%s]\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to evaluate [%s]\n"

L_.str.3:                               ## @.str.3
	.asciz	"No return object [%s]\n"

	.no_dead_strip	___call_snc_method
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __call_snc_method
___call_snc_method:                     ; @__call_snc_method
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _ACPI_ALLOCATE_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_ALLOCATE_BUFFER@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	stp	x8, xzr, [sp, #40]
	str	wzr, [sp, #56]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x20, x2
	ldr	w8, [x2]
	str	w8, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #24]
	add	x8, sp, #16
	str	x8, [sp, #32]
	add	x2, sp, #24
	add	x3, sp, #40
	mov	x1, x19
	bl	_acpi_evaluate_object
	mov	x21, x0
	ldr	w8, [x20]
	str	x8, [sp, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
	add	x3, sp, #40
	mov	x1, x19
	bl	_acpi_evaluate_object
	mov	x21, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	mov	x1, x19
	bl	_dprintk
	mov	x0, x21
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_5
; %bb.4:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_pr_err
	mov	x20, #0
	b	LBB0_7
LBB0_5:
	ldr	x20, [sp, #40]
	cbnz	x20, LBB0_7
; %bb.6:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_dprintk
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ; @ACPI_ALLOCATE_BUFFER
	.comm	_ACPI_TYPE_INTEGER,4,2          ; @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"__call_snc_method: [%s:0x%.8x%.8x]\n"

l_.str.1:                               ; @.str.1
	.asciz	"__call_snc_method: [%s]\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to evaluate [%s]\n"

l_.str.3:                               ; @.str.3
	.asciz	"No return object [%s]\n"

	.no_dead_strip	___call_snc_method
.subsections_via_symbols
