	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eeepc_rfkill_init
_eeepc_rfkill_init:                     ## @eeepc_rfkill_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$24, %rdi
	callq	_mutex_init
	leaq	20(%r14), %rsi
	movq	_RFKILL_TYPE_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CM_ASL_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_eeepc_new_rfkill
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpl	%eax, %ebx
	jne	LBB0_12
LBB0_2:
	leaq	16(%r14), %rsi
	movq	_RFKILL_TYPE_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CM_ASL_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_eeepc_new_rfkill
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpl	%eax, %ebx
	jne	LBB0_12
LBB0_4:
	leaq	12(%r14), %rsi
	movq	_RFKILL_TYPE_WWAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CM_ASL_3G@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_eeepc_new_rfkill
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpl	%eax, %ebx
	jne	LBB0_12
LBB0_6:
	leaq	8(%r14), %rsi
	movq	_RFKILL_TYPE_WIMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_CM_ASL_WIMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	callq	_eeepc_new_rfkill
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpl	%eax, %ebx
	jne	LBB0_12
LBB0_8:
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	jne	LBB0_14
## %bb.9:
	movq	%r14, %rdi
	callq	_eeepc_setup_pci_hotplug
	movl	%eax, %r15d
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	_EEEPC_RFKILL_NODE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eeepc_register_rfkill_notifier
	movq	_EEEPC_RFKILL_NODE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eeepc_register_rfkill_notifier
	movq	_EEEPC_RFKILL_NODE_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eeepc_register_rfkill_notifier
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.10:
	cmpl	%r12d, %r15d
	je	LBB0_14
## %bb.11:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	%r15d, %ebx
LBB0_12:
	cmpl	%eax, %ebx
	je	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_eeepc_rfkill_exit
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eeepc-wlan"

	.comm	_RFKILL_TYPE_WLAN,4,2           ## @RFKILL_TYPE_WLAN
	.comm	_CM_ASL_WLAN,4,2                ## @CM_ASL_WLAN
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"eeepc-bluetooth"

	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ## @RFKILL_TYPE_BLUETOOTH
	.comm	_CM_ASL_BLUETOOTH,4,2           ## @CM_ASL_BLUETOOTH
L_.str.2:                               ## @.str.2
	.asciz	"eeepc-wwan3g"

	.comm	_RFKILL_TYPE_WWAN,4,2           ## @RFKILL_TYPE_WWAN
	.comm	_CM_ASL_3G,4,2                  ## @CM_ASL_3G
L_.str.3:                               ## @.str.3
	.asciz	"eeepc-wimax"

	.comm	_RFKILL_TYPE_WIMAX,4,2          ## @RFKILL_TYPE_WIMAX
	.comm	_CM_ASL_WIMAX,4,2               ## @CM_ASL_WIMAX
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EEEPC_RFKILL_NODE_1,4,2        ## @EEEPC_RFKILL_NODE_1
	.comm	_EEEPC_RFKILL_NODE_2,4,2        ## @EEEPC_RFKILL_NODE_2
	.comm	_EEEPC_RFKILL_NODE_3,4,2        ## @EEEPC_RFKILL_NODE_3
	.no_dead_strip	_eeepc_rfkill_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eeepc_rfkill_init
_eeepc_rfkill_init:                     ; @eeepc_rfkill_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	add	x0, x0, #24
	bl	_mutex_init
	add	x1, x19, #20
Lloh0:
	adrp	x8, _RFKILL_TYPE_WLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFKILL_TYPE_WLAN@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _CM_ASL_WLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_ASL_WLAN@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_eeepc_new_rfkill
Lloh8:
	adrp	x22, _ENODEV@GOTPAGE
Lloh9:
	ldr	x22, [x22, _ENODEV@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_10
LBB0_2:
	add	x1, x19, #16
Lloh10:
	adrp	x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
Lloh13:
	adrp	x8, _CM_ASL_BLUETOOTH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CM_ASL_BLUETOOTH@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_eeepc_new_rfkill
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_10
LBB0_4:
	add	x1, x19, #12
Lloh18:
	adrp	x8, _RFKILL_TYPE_WWAN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RFKILL_TYPE_WWAN@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _CM_ASL_3G@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CM_ASL_3G@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
Lloh24:
	adrp	x2, l_.str.2@PAGE
Lloh25:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_eeepc_new_rfkill
	cbz	w0, LBB0_6
; %bb.5:
	mov	x20, x0
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_10
LBB0_6:
	add	x1, x19, #8
Lloh26:
	adrp	x8, _RFKILL_TYPE_WIMAX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RFKILL_TYPE_WIMAX@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
Lloh29:
	adrp	x8, _CM_ASL_WIMAX@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CM_ASL_WIMAX@GOTPAGEOFF]
Lloh31:
	ldr	w4, [x8]
Lloh32:
	adrp	x2, l_.str.3@PAGE
Lloh33:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_eeepc_new_rfkill
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
	ldr	w8, [x22]
	cmn	w0, w8
	b.ne	LBB0_10
LBB0_8:
	ldr	x8, [x19]
	cbz	x8, LBB0_13
; %bb.9:
	mov	w20, #0
	b	LBB0_12
LBB0_10:
	neg	w8, w8
	cmp	w20, w8
	b.eq	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_eeepc_rfkill_exit
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x19
	bl	_eeepc_setup_pci_hotplug
	mov	x21, x0
Lloh34:
	adrp	x8, _EBUSY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh36:
	ldr	w23, [x8]
Lloh37:
	adrp	x8, _EEEPC_RFKILL_NODE_1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EEEPC_RFKILL_NODE_1@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eeepc_register_rfkill_notifier
Lloh40:
	adrp	x8, _EEEPC_RFKILL_NODE_2@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EEEPC_RFKILL_NODE_2@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eeepc_register_rfkill_notifier
Lloh43:
	adrp	x8, _EEEPC_RFKILL_NODE_3@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EEEPC_RFKILL_NODE_3@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eeepc_register_rfkill_notifier
	mov	w20, #0
	cbz	w21, LBB0_12
; %bb.14:
	neg	w8, w23
	cmp	w21, w8
	b.eq	LBB0_12
; %bb.15:
	ldr	w8, [x22]
	neg	w8, w8
	mov	x20, x21
	cmp	w20, w8
	b.eq	LBB0_12
	b	LBB0_11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eeepc-wlan"

	.comm	_RFKILL_TYPE_WLAN,4,2           ; @RFKILL_TYPE_WLAN
	.comm	_CM_ASL_WLAN,4,2                ; @CM_ASL_WLAN
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"eeepc-bluetooth"

	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ; @RFKILL_TYPE_BLUETOOTH
	.comm	_CM_ASL_BLUETOOTH,4,2           ; @CM_ASL_BLUETOOTH
l_.str.2:                               ; @.str.2
	.asciz	"eeepc-wwan3g"

	.comm	_RFKILL_TYPE_WWAN,4,2           ; @RFKILL_TYPE_WWAN
	.comm	_CM_ASL_3G,4,2                  ; @CM_ASL_3G
l_.str.3:                               ; @.str.3
	.asciz	"eeepc-wimax"

	.comm	_RFKILL_TYPE_WIMAX,4,2          ; @RFKILL_TYPE_WIMAX
	.comm	_CM_ASL_WIMAX,4,2               ; @CM_ASL_WIMAX
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EEEPC_RFKILL_NODE_1,4,2        ; @EEEPC_RFKILL_NODE_1
	.comm	_EEEPC_RFKILL_NODE_2,4,2        ; @EEEPC_RFKILL_NODE_2
	.comm	_EEEPC_RFKILL_NODE_3,4,2        ; @EEEPC_RFKILL_NODE_3
	.no_dead_strip	_eeepc_rfkill_init
.subsections_via_symbols
