	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_phy_ht_op_software_rfkill
_b43_phy_ht_op_software_rfkill:         ## @b43_phy_ht_op_software_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_B43_MMIO_MACCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_b43_read32
	movq	_B43_MACCTL_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.7:
	movq	_B43_PHY_HT_RF_CTL_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_B43_PHY_HT_RF_CTL_CMD_CHIP0_PU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_mask                   ## TAILCALL
LBB0_3:
	cmpl	$8281, (%rbx)                   ## imm = 0x2059
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_b43_radio_2059_init
	jmp	LBB0_6
LBB0_5:
	movl	$1, %edi
	callq	_B43_WARN_ON
LBB0_6:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_switch_channel             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_MMIO_MACCTL,4,2            ## @B43_MMIO_MACCTL
	.comm	_B43_MACCTL_ENABLED,4,2         ## @B43_MACCTL_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC not suspended\n"

	.comm	_B43_PHY_HT_RF_CTL_CMD,4,2      ## @B43_PHY_HT_RF_CTL_CMD
	.comm	_B43_PHY_HT_RF_CTL_CMD_CHIP0_PU,4,2 ## @B43_PHY_HT_RF_CTL_CMD_CHIP0_PU
	.no_dead_strip	_b43_phy_ht_op_software_rfkill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_phy_ht_op_software_rfkill
_b43_phy_ht_op_software_rfkill:         ; @b43_phy_ht_op_software_rfkill
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _B43_MMIO_MACCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_MMIO_MACCTL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_b43_read32
Lloh3:
	adrp	x8, _B43_MACCTL_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_MACCTL_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43err
LBB0_2:
	cbz	w20, LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _B43_PHY_HT_RF_CTL_CMD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_PHY_HT_RF_CTL_CMD@GOTPAGEOFF]
Lloh10:
	adrp	x9, _B43_PHY_HT_RF_CTL_CMD_CHIP0_PU@GOTPAGE
Lloh11:
	ldr	x9, [x9, _B43_PHY_HT_RF_CTL_CMD_CHIP0_PU@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	ldr	w8, [x9]
	mvn	w2, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_mask
LBB0_4:
	ldr	w8, [x19]
	mov	w9, #8281
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_b43_radio_2059_init
	b	LBB0_7
LBB0_6:
	mov	w0, #1
	bl	_B43_WARN_ON
LBB0_7:
	ldr	w1, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_switch_channel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_MMIO_MACCTL,4,2            ; @B43_MMIO_MACCTL
	.comm	_B43_MACCTL_ENABLED,4,2         ; @B43_MACCTL_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC not suspended\n"

	.comm	_B43_PHY_HT_RF_CTL_CMD,4,2      ; @B43_PHY_HT_RF_CTL_CMD
	.comm	_B43_PHY_HT_RF_CTL_CMD_CHIP0_PU,4,2 ; @B43_PHY_HT_RF_CTL_CMD_CHIP0_PU
	.no_dead_strip	_b43_phy_ht_op_software_rfkill
.subsections_via_symbols
