	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_init_rfkill                ## -- Begin function rtl_init_rfkill
	.p2align	4, 0x90
_rtl_init_rfkill:                       ## @rtl_init_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	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	$0, -32(%rbp)
	movl	$1, (%rax)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_wiphy_rfkill_set_hw_state
	movq	8(%r14), %rax
	movq	(%rax), %rax
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*(%rax)
	cmpq	$0, -32(%rbp)
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	cmpl	$0, (%r14)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movl	%r15d, (%r14)
	xorl	%esi, %esi
	cmpl	$1, %r15d
	setne	%sil
	movl	(%rbx), %edi
	callq	_wiphy_rfkill_set_hw_state
LBB0_2:
	movl	(%rbx), %edi
	callq	_wiphy_rfkill_start_polling
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtlwifi: wireless switch is %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"on"

L_.str.2:                               ## @.str.2
	.asciz	"off"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_init_rfkill                ; -- Begin function rtl_init_rfkill
	.p2align	2
_rtl_init_rfkill:                       ; @rtl_init_rfkill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	str	xzr, [sp, #8]
	mov	w8, #1
	str	w8, [x0]
	ldr	w0, [x19]
	mov	w1, #0
	bl	_wiphy_rfkill_set_hw_state
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	x0, x19
	blr	x8
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w8, [x20]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x1, x10, x9, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	str	w21, [x20]
	cmp	w21, #1
	cset	w1, ne
	ldr	w0, [x19]
	bl	_wiphy_rfkill_set_hw_state
LBB0_2:
	ldr	w0, [x19]
	bl	_wiphy_rfkill_start_polling
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtlwifi: wireless switch is %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"on"

l_.str.2:                               ; @.str.2
	.asciz	"off"

.subsections_via_symbols
