	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_rfkill
_setup_rfkill:                          ## @setup_rfkill
	.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	_compal_device@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	_RFKILL_TYPE_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WIRELESS_WLAN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str(%rip), %rdi
	movq	_compal_rfkill_ops@GOTPCREL(%rip), %rcx
	callq	_rfkill_alloc
	movq	_wifi_rfkill@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %edi
	callq	_rfkill_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	(%r15), %rsi
	movq	_RFKILL_TYPE_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WIRELESS_BT@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str.1(%rip), %rdi
	movq	_compal_rfkill_ops@GOTPCREL(%rip), %rcx
	callq	_rfkill_alloc
	movq	_bt_rfkill@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %edi
	callq	_rfkill_register
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_rfkill_destroy
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	(%r14), %edi
	callq	_rfkill_unregister
LBB0_9:
	movl	(%r14), %edi
	callq	_rfkill_destroy
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"compal-wifi"

	.comm	_compal_device,8,3              ## @compal_device
	.comm	_RFKILL_TYPE_WLAN,4,2           ## @RFKILL_TYPE_WLAN
	.comm	_compal_rfkill_ops,4,2          ## @compal_rfkill_ops
	.comm	_WIRELESS_WLAN,8,3              ## @WIRELESS_WLAN
	.comm	_wifi_rfkill,4,2                ## @wifi_rfkill
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"compal-bluetooth"

	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ## @RFKILL_TYPE_BLUETOOTH
	.comm	_WIRELESS_BT,8,3                ## @WIRELESS_BT
	.comm	_bt_rfkill,4,2                  ## @bt_rfkill
	.no_dead_strip	_setup_rfkill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_rfkill
_setup_rfkill:                          ; @setup_rfkill
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x21, _compal_device@GOTPAGE
Lloh1:
	ldr	x21, [x21, _compal_device@GOTPAGEOFF]
	ldr	x1, [x21]
Lloh2:
	adrp	x8, _RFKILL_TYPE_WLAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RFKILL_TYPE_WLAN@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _WIRELESS_WLAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WIRELESS_WLAN@GOTPAGEOFF]
Lloh7:
	ldr	x4, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
Lloh10:
	adrp	x3, _compal_rfkill_ops@GOTPAGE
Lloh11:
	ldr	x3, [x3, _compal_rfkill_ops@GOTPAGEOFF]
	bl	_rfkill_alloc
Lloh12:
	adrp	x20, _wifi_rfkill@GOTPAGE
Lloh13:
	ldr	x20, [x20, _wifi_rfkill@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_5
; %bb.1:
	bl	_rfkill_register
	mov	x19, x0
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	x1, [x21]
Lloh14:
	adrp	x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _WIRELESS_BT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WIRELESS_BT@GOTPAGEOFF]
Lloh19:
	ldr	x4, [x8]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh22:
	adrp	x3, _compal_rfkill_ops@GOTPAGE
Lloh23:
	ldr	x3, [x3, _compal_rfkill_ops@GOTPAGEOFF]
	bl	_rfkill_alloc
Lloh24:
	adrp	x21, _bt_rfkill@GOTPAGE
Lloh25:
	ldr	x21, [x21, _bt_rfkill@GOTPAGEOFF]
	str	w0, [x21]
	cbz	w0, LBB0_6
; %bb.3:
	bl	_rfkill_register
	mov	x19, x0
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w0, [x21]
	bl	_rfkill_destroy
	b	LBB0_7
LBB0_5:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_9
LBB0_6:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_7:
	ldr	w0, [x20]
	bl	_rfkill_unregister
LBB0_8:
	ldr	w0, [x20]
	bl	_rfkill_destroy
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"compal-wifi"

	.comm	_compal_device,8,3              ; @compal_device
	.comm	_RFKILL_TYPE_WLAN,4,2           ; @RFKILL_TYPE_WLAN
	.comm	_compal_rfkill_ops,4,2          ; @compal_rfkill_ops
	.comm	_WIRELESS_WLAN,8,3              ; @WIRELESS_WLAN
	.comm	_wifi_rfkill,4,2                ; @wifi_rfkill
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"compal-bluetooth"

	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ; @RFKILL_TYPE_BLUETOOTH
	.comm	_WIRELESS_BT,8,3                ; @WIRELESS_BT
	.comm	_bt_rfkill,4,2                  ; @bt_rfkill
	.no_dead_strip	_setup_rfkill
.subsections_via_symbols
