	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_nc_notify
_sony_nc_notify:                        ## @sony_nc_notify
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	cmpl	$144, %r13d
	jl	LBB0_18
## %bb.1:
	movl	$0, -44(%rbp)
	leal	-144(%r13), %r14d
	movq	_handles@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r14d
	jae	LBB0_17
## %bb.2:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %eax
	leal	-292(%rax), %ecx
	cmpl	$55, %ecx
	ja	LBB0_3
## %bb.21:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_KILLSWITCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	leaq	-44(%rbp), %rdx
	movl	%eax, %edi
	movl	$256, %esi                      ## imm = 0x100
	callq	_sony_call_snc_handle
	movl	-44(%rbp), %r13d
	andl	$3, %r13d
	cmpl	$1, %r13d
	jne	LBB0_16
## %bb.7:
	xorl	%eax, %eax
	callq	_sony_nc_rfkill_update
	movl	$1, %r13d
	jmp	LBB0_16
LBB0_18:
	movq	_HOTKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r13d, %edi
	callq	_sony_laptop_report_input_event
	jmp	LBB0_19
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	callq	_pr_err
	jmp	LBB0_20
LBB0_8:
	leaq	-44(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_sony_call_snc_handle
	movl	-44(%rbp), %eax
	cmpl	$1, %eax
	je	LBB0_9
## %bb.10:
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_13
LBB0_3:
	cmpl	$256, %eax                      ## imm = 0x100
	jne	LBB0_15
LBB0_4:
	movq	_HOTKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_sony_nc_hotkeys_decode
	testl	%eax, %eax
	jle	LBB0_16
## %bb.5:
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_sony_laptop_report_input_event
	movl	%r12d, %r13d
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.6(%rip), %rdi
	xorl	%r15d, %r15d
	movl	%r13d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_16
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_11:
	cmpl	$3, %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rax, %rsi
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
LBB0_14:
	movq	_GFX_SWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	___sony_nc_gfx_switch_status_get
	movl	%eax, %r13d
LBB0_16:
	movl	$1, %eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	movl	%eax, -48(%rbp)
	movq	_sony_nc_acpi_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_sony_nc_int_call
LBB0_19:
	movq	_sony_nc_acpi_device@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	4(%rdi), %ebx
	callq	_dev_name
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	callq	_acpi_bus_generate_netlink_event
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_8
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sony_nc_notify, event: 0x%.2x\n"

	.comm	_handles,8,3                    ## @handles
L_.str.1:                               ## @.str.1
	.asciz	"Event 0x%x outside of capabilities list\n"

	.comm	_HOTKEY,4,2                     ## @HOTKEY
	.comm	_KILLSWITCH,4,2                 ## @KILLSWITCH
L_.str.2:                               ## @.str.2
	.asciz	"GFX switch event received (reason: %s)\n"

L_.str.3:                               ## @.str.3
	.asciz	"switch change"

L_.str.4:                               ## @.str.4
	.asciz	"output switch"

L_.str.5:                               ## @.str.5
	.space	1

	.comm	_GFX_SWITCH,4,2                 ## @GFX_SWITCH
L_.str.6:                               ## @.str.6
	.asciz	"Unknown event 0x%x for handle 0x%x\n"

	.comm	_sony_nc_acpi_handle,4,2        ## @sony_nc_acpi_handle
L_.str.7:                               ## @.str.7
	.asciz	"SN05"

	.comm	_sony_nc_acpi_device,8,3        ## @sony_nc_acpi_device
	.no_dead_strip	_sony_nc_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_nc_notify
_sony_nc_notify:                        ; @sony_nc_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x8, x1
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	subs	w22, w19, #144
	b.lt	LBB0_6
; %bb.1:
	str	wzr, [sp, #28]
Lloh2:
	adrp	x20, _handles@GOTPAGE
Lloh3:
	ldr	x20, [x20, _handles@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.hs	LBB0_7
; %bb.2:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w1, [x8, w22, uxtw #2]
	sub	w8, w1, #292
	cmp	w8, #55
	b.hi	LBB0_11
; %bb.3:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh6:
	adrp	x8, _KILLSWITCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KILLSWITCH@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	add	x2, sp, #28
	mov	x0, x1
	mov	w1, #256
	bl	_sony_call_snc_handle
	ldr	w8, [sp, #28]
	and	w19, w8, #0x3
	cmp	w19, #1
	b.ne	LBB0_19
; %bb.5:
	bl	_sony_nc_rfkill_update
	mov	w19, #1
	b	LBB0_19
LBB0_6:
Lloh9:
	adrp	x8, _HOTKEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HOTKEY@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_sony_laptop_report_input_event
	b	LBB0_20
LBB0_7:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pr_err
	b	LBB0_21
LBB0_8:
	add	x2, sp, #28
	mov	x0, x1
	mov	w1, #0
	bl	_sony_call_snc_handle
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.eq	LBB0_15
; %bb.9:
	cmp	w8, #2
	b.ne	LBB0_16
; %bb.10:
Lloh14:
	adrp	x8, l_.str.4@PAGE
Lloh15:
	add	x8, x8, l_.str.4@PAGEOFF
	b	LBB0_17
LBB0_11:
	cmp	w1, #256
	b.ne	LBB0_14
LBB0_12:
Lloh16:
	adrp	x8, _HOTKEY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HOTKEY@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_sony_nc_hotkeys_decode
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.13:
	mov	x21, x0
	bl	_sony_laptop_report_input_event
	mov	x19, x21
	b	LBB0_19
LBB0_14:
	stp	x19, x1, [sp]
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dprintk
	mov	w20, #0
	b	LBB0_19
LBB0_15:
Lloh21:
	adrp	x8, l_.str.3@PAGE
Lloh22:
	add	x8, x8, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh23:
	adrp	x9, l_.str.5@PAGE
Lloh24:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh25:
	adrp	x10, l_.str.4@PAGE
Lloh26:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w8, #3
	csel	x8, x10, x9, eq
LBB0_17:
	str	x8, [sp]
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintk
LBB0_18:
Lloh29:
	adrp	x8, _GFX_SWITCH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GFX_SWITCH@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
	bl	___sony_nc_gfx_switch_status_get
	mov	x19, x0
LBB0_19:
	mov	w8, #1
	lsl	w8, w8, w22
	str	w8, [sp, #24]
Lloh32:
	adrp	x8, _sony_nc_acpi_handle@GOTPAGE
Lloh33:
	ldr	x8, [x8, _sony_nc_acpi_handle@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #24
	add	x3, sp, #28
	bl	_sony_nc_int_call
LBB0_20:
Lloh37:
	adrp	x8, _sony_nc_acpi_device@GOTPAGE
Lloh38:
	ldr	x8, [x8, _sony_nc_acpi_device@GOTPAGEOFF]
Lloh39:
	ldr	x0, [x8]
	ldr	w21, [x0, #4]
	bl	_dev_name
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	bl	_acpi_bus_generate_netlink_event
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sony_nc_notify, event: 0x%.2x\n"

	.comm	_handles,8,3                    ; @handles
l_.str.1:                               ; @.str.1
	.asciz	"Event 0x%x outside of capabilities list\n"

	.comm	_HOTKEY,4,2                     ; @HOTKEY
	.comm	_KILLSWITCH,4,2                 ; @KILLSWITCH
l_.str.2:                               ; @.str.2
	.asciz	"GFX switch event received (reason: %s)\n"

l_.str.3:                               ; @.str.3
	.asciz	"switch change"

l_.str.4:                               ; @.str.4
	.asciz	"output switch"

l_.str.5:                               ; @.str.5
	.space	1

	.comm	_GFX_SWITCH,4,2                 ; @GFX_SWITCH
l_.str.6:                               ; @.str.6
	.asciz	"Unknown event 0x%x for handle 0x%x\n"

	.comm	_sony_nc_acpi_handle,4,2        ; @sony_nc_acpi_handle
l_.str.7:                               ; @.str.7
	.asciz	"SN05"

	.comm	_sony_nc_acpi_device,8,3        ; @sony_nc_acpi_device
	.no_dead_strip	_sony_nc_notify
.subsections_via_symbols
