	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfkill_init
_rfkill_init:                           ## @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	%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
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_get_wireless_state_ec_standard
	movq	_RFKILL_TYPE_BLUETOOTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	_rfkill_bluetooth_ops@GOTPCREL(%rip), %rcx
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_rfkill_alloc
	movq	_rfk_bluetooth@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_rfkill_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.3:
	movq	_RFKILL_TYPE_WLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	_rfkill_wlan_ops@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_rfkill_alloc
	movq	_rfk_wlan@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rdi
	callq	_rfkill_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:
	movq	_threeg_exists@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.7:
	movq	_RFKILL_TYPE_WWAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	_rfkill_threeg_ops@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	callq	_rfkill_alloc
	movq	_rfk_threeg@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rdi
	callq	_rfkill_register
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movl	%eax, %ebx
	movq	(%r14), %r15
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_13:
	movq	(%r13), %rdi
	callq	_rfkill_destroy
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_rfkill_unregister
LBB0_15:
	movq	(%r12), %rdi
	callq	_rfkill_destroy
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_quirks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_round_jiffies_relative
	movq	_msi_rfkill_init@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	jmp	LBB0_19
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movq	%r15, %rdi
	callq	_rfkill_destroy
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_rfkill_unregister
	jmp	LBB0_13
LBB0_18:
	movq	_msi_rfkill_work@GOTPCREL(%rip), %rdi
	callq	_schedule_work
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msi-bluetooth"

	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ## @RFKILL_TYPE_BLUETOOTH
	.comm	_rfkill_bluetooth_ops,4,2       ## @rfkill_bluetooth_ops
	.comm	_rfk_bluetooth,8,3              ## @rfk_bluetooth
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"msi-wlan"

	.comm	_RFKILL_TYPE_WLAN,4,2           ## @RFKILL_TYPE_WLAN
	.comm	_rfkill_wlan_ops,4,2            ## @rfkill_wlan_ops
	.comm	_rfk_wlan,8,3                   ## @rfk_wlan
	.comm	_threeg_exists,8,3              ## @threeg_exists
L_.str.2:                               ## @.str.2
	.asciz	"msi-threeg"

	.comm	_RFKILL_TYPE_WWAN,4,2           ## @RFKILL_TYPE_WWAN
	.comm	_rfkill_threeg_ops,4,2          ## @rfkill_threeg_ops
	.comm	_rfk_threeg,8,3                 ## @rfk_threeg
	.comm	_quirks,8,3                     ## @quirks
	.comm	_msi_rfkill_init,4,2            ## @msi_rfkill_init
	.comm	_HZ,4,2                         ## @HZ
	.comm	_msi_rfkill_work,4,2            ## @msi_rfkill_work
	.no_dead_strip	_rfkill_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfkill_init
_rfkill_init:                           ; @rfkill_init
	.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
	mov	x20, x0
	bl	_get_wireless_state_ec_standard
Lloh0:
	adrp	x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFKILL_TYPE_BLUETOOTH@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x3, _rfkill_bluetooth_ops@GOTPAGE
Lloh6:
	ldr	x3, [x3, _rfkill_bluetooth_ops@GOTPAGEOFF]
	mov	x1, x20
	mov	x4, #0
	bl	_rfkill_alloc
Lloh7:
	adrp	x21, _rfk_bluetooth@GOTPAGE
Lloh8:
	ldr	x21, [x21, _rfk_bluetooth@GOTPAGEOFF]
	str	x0, [x21]
	cbz	x0, LBB0_8
; %bb.1:
	bl	_rfkill_register
	mov	x19, x0
	cbnz	w0, LBB0_12
; %bb.2:
Lloh9:
	adrp	x8, _RFKILL_TYPE_WLAN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RFKILL_TYPE_WLAN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh14:
	adrp	x3, _rfkill_wlan_ops@GOTPAGE
Lloh15:
	ldr	x3, [x3, _rfkill_wlan_ops@GOTPAGEOFF]
	mov	x1, x20
	mov	x4, #0
	bl	_rfkill_alloc
Lloh16:
	adrp	x22, _rfk_wlan@GOTPAGE
Lloh17:
	ldr	x22, [x22, _rfk_wlan@GOTPAGEOFF]
	str	x0, [x22]
	cbz	x0, LBB0_9
; %bb.3:
	bl	_rfkill_register
	mov	x19, x0
	cbnz	w0, LBB0_10
; %bb.4:
Lloh18:
	adrp	x8, _threeg_exists@GOTPAGE
Lloh19:
	ldr	x8, [x8, _threeg_exists@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.5:
Lloh21:
	adrp	x8, _RFKILL_TYPE_WWAN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RFKILL_TYPE_WWAN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh26:
	adrp	x3, _rfkill_threeg_ops@GOTPAGE
Lloh27:
	ldr	x3, [x3, _rfkill_threeg_ops@GOTPAGEOFF]
	mov	x1, x20
	mov	x4, #0
	bl	_rfkill_alloc
Lloh28:
	adrp	x20, _rfk_threeg@GOTPAGE
Lloh29:
	ldr	x20, [x20, _rfk_threeg@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_16
; %bb.6:
	bl	_rfkill_register
	cbz	w0, LBB0_14
; %bb.7:
	mov	x19, x0
	ldr	x0, [x20]
	b	LBB0_17
LBB0_8:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_12
LBB0_9:
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_10:
	ldr	x0, [x22]
	bl	_rfkill_destroy
	ldr	x0, [x21]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_rfkill_unregister
LBB0_12:
	ldr	x0, [x21]
	bl	_rfkill_destroy
LBB0_13:
	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
LBB0_14:
Lloh36:
	adrp	x8, _quirks@GOTPAGE
Lloh37:
	ldr	x8, [x8, _quirks@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.15:
Lloh39:
	adrp	x8, _HZ@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_round_jiffies_relative
	mov	x1, x0
Lloh42:
	adrp	x0, _msi_rfkill_init@GOTPAGE
Lloh43:
	ldr	x0, [x0, _msi_rfkill_init@GOTPAGEOFF]
	bl	_schedule_delayed_work
	b	LBB0_20
LBB0_16:
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_17:
	bl	_rfkill_destroy
	ldr	x0, [x22]
	cbz	x0, LBB0_10
; %bb.18:
	bl	_rfkill_unregister
	b	LBB0_10
LBB0_19:
Lloh47:
	adrp	x0, _msi_rfkill_work@GOTPAGE
Lloh48:
	ldr	x0, [x0, _msi_rfkill_work@GOTPAGEOFF]
	bl	_schedule_work
LBB0_20:
	mov	w19, #0
	b	LBB0_13
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msi-bluetooth"

	.comm	_RFKILL_TYPE_BLUETOOTH,4,2      ; @RFKILL_TYPE_BLUETOOTH
	.comm	_rfkill_bluetooth_ops,4,2       ; @rfkill_bluetooth_ops
	.comm	_rfk_bluetooth,8,3              ; @rfk_bluetooth
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"msi-wlan"

	.comm	_RFKILL_TYPE_WLAN,4,2           ; @RFKILL_TYPE_WLAN
	.comm	_rfkill_wlan_ops,4,2            ; @rfkill_wlan_ops
	.comm	_rfk_wlan,8,3                   ; @rfk_wlan
	.comm	_threeg_exists,8,3              ; @threeg_exists
l_.str.2:                               ; @.str.2
	.asciz	"msi-threeg"

	.comm	_RFKILL_TYPE_WWAN,4,2           ; @RFKILL_TYPE_WWAN
	.comm	_rfkill_threeg_ops,4,2          ; @rfkill_threeg_ops
	.comm	_rfk_threeg,8,3                 ; @rfk_threeg
	.comm	_quirks,8,3                     ; @quirks
	.comm	_msi_rfkill_init,4,2            ; @msi_rfkill_init
	.comm	_HZ,4,2                         ; @HZ
	.comm	_msi_rfkill_work,4,2            ; @msi_rfkill_work
	.no_dead_strip	_rfkill_init
.subsections_via_symbols
