	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_nc_rfkill_setup
_sony_nc_rfkill_setup:                  ## @sony_nc_rfkill_setup
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movl	%esi, %edi
	callq	_sony_find_snc_handle
	movl	%eax, -84(%rbp)
	movq	_sony_rfkill_handle@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_sony_nc_acpi_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-84(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	movl	$32, %r8d
	callq	_sony_nc_buffer_call
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_19
## %bb.1:
	leaq	-80(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_18
## %bb.2:
	leaq	L_.str.1(%rip), %r12
	movq	_sony_rfkill_devices@GOTPCREL(%rip), %rbx
	leaq	-80(%rbp), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_SONY_BLUETOOTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpl	$0, (%rax,%rsi,4)
	je	LBB0_9
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r14
	jge	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-80(%rbp,%r14), %eax
	cmpb	$-1, %al
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %esi
	movq	%r12, %rdi
	callq	_dprintk
	movzbl	-80(%rbp,%r14), %eax
	testb	%al, %al
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$16, %al
	je	LBB0_8
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_SONY_WIFI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpl	$0, (%rax,%rsi,4)
	jne	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sony_nc_setup_rfkill
	movzbl	-80(%rbp,%r14), %eax
	cmpb	$16, %al
	je	LBB0_8
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sony_nc_setup_rfkill
	movzbl	-80(%rbp,%r14), %eax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	andb	$-16, %cl
	cmpb	$80, %cl
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$32, %cl
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rcx
	movq	_SONY_WWAN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	cmpl	$0, (%rcx,%rsi,4)
	je	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$48, %al
	jne	LBB0_17
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sony_nc_setup_rfkill
	movzbl	-80(%rbp,%r14), %eax
	cmpb	$48, %al
	jne	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_SONY_WIMAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpl	$0, (%rax,%rsi,4)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_sony_nc_setup_rfkill
	jmp	LBB0_17
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_sony_rfkill_handle,4,2         ## @sony_rfkill_handle
	.comm	_sony_nc_acpi_handle,4,2        ## @sony_nc_acpi_handle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SN06"

L_.str.1:                               ## @.str.1
	.asciz	"Radio devices, found 0x%.2x\n"

	.comm	_sony_rfkill_devices,8,3        ## @sony_rfkill_devices
	.comm	_SONY_WIFI,8,3                  ## @SONY_WIFI
	.comm	_SONY_BLUETOOTH,8,3             ## @SONY_BLUETOOTH
	.comm	_SONY_WWAN,8,3                  ## @SONY_WWAN
	.comm	_SONY_WIMAX,8,3                 ## @SONY_WIMAX
	.no_dead_strip	_sony_nc_rfkill_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_nc_rfkill_setup
_sony_nc_rfkill_setup:                  ; @sony_nc_rfkill_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	mov	x0, x1
	bl	_sony_find_snc_handle
	str	w0, [sp, #12]
Lloh3:
	adrp	x8, _sony_rfkill_handle@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sony_rfkill_handle@GOTPAGEOFF]
Lloh5:
	str	w20, [x8]
Lloh6:
	adrp	x8, _sony_nc_acpi_handle@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sony_nc_acpi_handle@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #16
	mov	w4, #32
	bl	_sony_nc_buffer_call
	tbnz	w0, #31, LBB0_19
; %bb.1:
	add	x21, sp, #16
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.2:
	mov	x22, #0
Lloh11:
	adrp	x23, _sony_rfkill_devices@GOTPAGE
Lloh12:
	ldr	x23, [x23, _sony_rfkill_devices@GOTPAGEOFF]
Lloh13:
	adrp	x24, _SONY_WIFI@GOTPAGE
Lloh14:
	ldr	x24, [x24, _SONY_WIFI@GOTPAGEOFF]
Lloh15:
	adrp	x20, l_.str.1@PAGE
Lloh16:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh17:
	adrp	x25, _SONY_BLUETOOTH@GOTPAGE
Lloh18:
	ldr	x25, [x25, _SONY_BLUETOOTH@GOTPAGEOFF]
Lloh19:
	adrp	x26, _SONY_WWAN@GOTPAGE
Lloh20:
	ldr	x26, [x26, _SONY_WWAN@GOTPAGEOFF]
Lloh21:
	adrp	x27, _SONY_WIMAX@GOTPAGE
Lloh22:
	ldr	x27, [x27, _SONY_WIMAX@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	x1, [x25]
	ldr	w8, [x8, x1, lsl #2]
	cbz	w8, LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.ge	LBB0_18
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x21, x22]
	cmp	w1, #255
	b.eq	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_dprintk
	ldrb	w8, [x21, x22]
	cbz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #16
	b.eq	LBB0_3
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	x1, [x24]
	ldr	w8, [x8, x1, lsl #2]
	cbnz	w8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_sony_nc_setup_rfkill
	ldrb	w8, [x21, x22]
	cmp	w8, #16
	b.eq	LBB0_3
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_sony_nc_setup_rfkill
	ldrb	w8, [x21, x22]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w9, w8, #0xf0
	cmp	w9, #80
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #32
	b.ne	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x23]
	ldr	x1, [x26]
	ldr	w9, [x9, x1, lsl #2]
	cbz	w9, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #48
	b.ne	LBB0_4
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_sony_nc_setup_rfkill
	ldrb	w8, [x21, x22]
	cmp	w8, #48
	b.ne	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	x1, [x27]
	ldr	w8, [x8, x1, lsl #2]
	cbnz	w8, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_sony_nc_setup_rfkill
	b	LBB0_4
LBB0_18:
	mov	w0, #0
LBB0_19:
	ldr	x8, [sp, #56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_sony_rfkill_handle,4,2         ; @sony_rfkill_handle
	.comm	_sony_nc_acpi_handle,4,2        ; @sony_nc_acpi_handle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SN06"

l_.str.1:                               ; @.str.1
	.asciz	"Radio devices, found 0x%.2x\n"

	.comm	_sony_rfkill_devices,8,3        ; @sony_rfkill_devices
	.comm	_SONY_WIFI,8,3                  ; @SONY_WIFI
	.comm	_SONY_BLUETOOTH,8,3             ; @SONY_BLUETOOTH
	.comm	_SONY_WWAN,8,3                  ; @SONY_WWAN
	.comm	_SONY_WIMAX,8,3                 ; @SONY_WIMAX
	.no_dead_strip	_sony_nc_rfkill_setup
.subsections_via_symbols
