	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __sony_nc_kbd_backlight_timeout_set
___sony_nc_kbd_backlight_timeout_set:   ## @__sony_nc_kbd_backlight_timeout_set
	.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
	cmpl	$4, %edi
	jl	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	movl	%edi, %ebx
	movq	_kbdbl_ctl@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	8(%rax), %edi
	movl	%ebx, %ecx
	shll	$16, %ecx
	movl	$512, %esi                      ## imm = 0x200
	addl	(%rax), %esi
	orl	%ecx, %esi
	leaq	-20(%rbp), %rdx
	callq	_sony_call_snc_handle
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	(%r14), %rax
	movl	%ebx, 4(%rax)
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_kbdbl_ctl,8,3                  ## @kbdbl_ctl
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	___sony_nc_kbd_backlight_timeout_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __sony_nc_kbd_backlight_timeout_set
___sony_nc_kbd_backlight_timeout_set:   ; @__sony_nc_kbd_backlight_timeout_set
	.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
	cmp	w0, #4
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x20, _kbdbl_ctl@GOTPAGE
Lloh3:
	ldr	x20, [x20, _kbdbl_ctl@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w0, [x8, #8]
	ldr	w8, [x8]
	add	w8, w8, #512
	orr	w1, w8, w19, lsl #16
	add	x2, sp, #12
	bl	_sony_call_snc_handle
	cbz	x0, LBB0_5
; %bb.3:
Lloh4:
	adrp	x8, _EIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	ldr	x8, [x20]
	str	w19, [x8, #4]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_kbdbl_ctl,8,3                  ; @kbdbl_ctl
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	___sony_nc_kbd_backlight_timeout_set
.subsections_via_symbols
