	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_call_snc_handle
_sony_call_snc_handle:                  ## @sony_call_snc_handle
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	callq	_sony_find_snc_handle
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	orl	%r15d, %ebx
	movl	%ebx, -28(%rbp)
	movq	_sony_nc_acpi_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rcx
	callq	_sony_nc_int_call
	movl	%eax, %ebx
	movl	-28(%rbp), %esi
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_dprintk
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sony_nc_acpi_handle,4,2        ## @sony_nc_acpi_handle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SN07"

L_.str.1:                               ## @.str.1
	.asciz	"called SN07 with 0x%.4x (result: 0x%.4x)\n"

	.no_dead_strip	_sony_call_snc_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_call_snc_handle
_sony_call_snc_handle:                  ; @sony_call_snc_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	bl	_sony_find_snc_handle
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	orr	w8, w20, w21
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _sony_nc_acpi_handle@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sony_nc_acpi_handle@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x3, x19
	bl	_sony_nc_int_call
	mov	x20, x0
	ldr	w1, [sp, #12]
	ldr	w2, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sony_nc_acpi_handle,4,2        ; @sony_nc_acpi_handle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SN07"

l_.str.1:                               ; @.str.1
	.asciz	"called SN07 with 0x%.4x (result: 0x%.4x)\n"

	.no_dead_strip	_sony_call_snc_handle
.subsections_via_symbols
