	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_nc_int_call
_sony_nc_int_call:                      ## @sony_nc_int_call
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	(%rdx), %eax
	movl	%eax, -20(%rbp)
	leaq	-20(%rbp), %rdx
	jmp	LBB0_3
LBB0_2:
	xorl	%edx, %edx
LBB0_3:
	callq	___call_snc_method
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rdx
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_6
## %bb.7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movl	%edx, (%r14)
LBB0_9:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid acpi_object: expected 0x%x got 0x%x\n"

	.no_dead_strip	_sony_nc_int_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_nc_int_call
_sony_nc_int_call:                      ; @sony_nc_int_call
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w8, [x2]
	str	w8, [sp, #12]
	add	x2, sp, #12
LBB0_2:
	bl	___call_snc_method
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x2, [x20]
Lloh0:
	adrp	x8, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	cmp	x2, x1
	b.ne	LBB0_7
; %bb.4:
	cbz	x19, LBB0_6
; %bb.5:
	str	w2, [x19]
LBB0_6:
	mov	x0, x20
	bl	_kfree
	mov	w0, #0
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	mov	x0, x20
	bl	_kfree
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid acpi_object: expected 0x%x got 0x%x\n"

	.no_dead_strip	_sony_nc_int_call
.subsections_via_symbols
