	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_phy_lcn_op_software_rfkill
_b43_phy_lcn_op_software_rfkill:        ## @b43_phy_lcn_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	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	_B43_PHY_LCN_RF_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-31745, %edx                   ## imm = 0x83FF
	callq	_b43_phy_mask
	movq	_B43_PHY_LCN_RF_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$7936, %edx                     ## imm = 0x1F00
	callq	_b43_phy_set
	movq	_B43_PHY_LCN_RF_CTL5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-32513, %edx                   ## imm = 0x80FF
	callq	_b43_phy_mask
	movq	_B43_PHY_LCN_RF_CTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-3, %edx
	callq	_b43_phy_mask
	movq	_B43_PHY_LCN_RF_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2056, %edx                     ## imm = 0x808
	callq	_b43_phy_set
	movq	_B43_PHY_LCN_RF_CTL7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-9, %edx
	callq	_b43_phy_mask
	movq	_B43_PHY_LCN_RF_CTL6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
LBB0_4:
	movq	_B43_PHY_LCN_RF_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-7937, %edx                    ## imm = 0xE0FF
	callq	_b43_phy_mask
	movq	_B43_PHY_LCN_RF_CTL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-2057, %edx                    ## imm = 0xF7F7
	callq	_b43_phy_mask
	movq	_B43_PHY_LCN_RF_CTL6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-9, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_b43_phy_mask                   ## 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_LCN_RF_CTL2,4,2        ## @B43_PHY_LCN_RF_CTL2
	.comm	_B43_PHY_LCN_RF_CTL1,4,2        ## @B43_PHY_LCN_RF_CTL1
	.comm	_B43_PHY_LCN_RF_CTL5,4,2        ## @B43_PHY_LCN_RF_CTL5
	.comm	_B43_PHY_LCN_RF_CTL4,4,2        ## @B43_PHY_LCN_RF_CTL4
	.comm	_B43_PHY_LCN_RF_CTL3,4,2        ## @B43_PHY_LCN_RF_CTL3
	.comm	_B43_PHY_LCN_RF_CTL7,4,2        ## @B43_PHY_LCN_RF_CTL7
	.comm	_B43_PHY_LCN_RF_CTL6,4,2        ## @B43_PHY_LCN_RF_CTL6
	.no_dead_strip	_b43_phy_lcn_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_lcn_op_software_rfkill
_b43_phy_lcn_op_software_rfkill:        ; @b43_phy_lcn_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]
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_LCN_RF_CTL2@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL2@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-31745
	bl	_b43_phy_mask
Lloh11:
	adrp	x8, _B43_PHY_LCN_RF_CTL1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL1@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #7936
	bl	_b43_phy_set
Lloh14:
	adrp	x8, _B43_PHY_LCN_RF_CTL5@GOTPAGE
Lloh15:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL5@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-32513
	bl	_b43_phy_mask
Lloh17:
	adrp	x8, _B43_PHY_LCN_RF_CTL4@GOTPAGE
Lloh18:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL4@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-3
	bl	_b43_phy_mask
Lloh20:
	adrp	x8, _B43_PHY_LCN_RF_CTL3@GOTPAGE
Lloh21:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL3@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2056
	bl	_b43_phy_set
Lloh23:
	adrp	x8, _B43_PHY_LCN_RF_CTL7@GOTPAGE
Lloh24:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL7@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-9
	bl	_b43_phy_mask
Lloh26:
	adrp	x8, _B43_PHY_LCN_RF_CTL6@GOTPAGE
Lloh27:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL6@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_set
LBB0_4:
Lloh29:
	adrp	x8, _B43_PHY_LCN_RF_CTL1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-7937
	bl	_b43_phy_mask
Lloh32:
	adrp	x8, _B43_PHY_LCN_RF_CTL3@GOTPAGE
Lloh33:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL3@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-2057
	bl	_b43_phy_mask
Lloh35:
	adrp	x8, _B43_PHY_LCN_RF_CTL6@GOTPAGE
Lloh36:
	ldr	x8, [x8, _B43_PHY_LCN_RF_CTL6@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_mask
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.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_LCN_RF_CTL2,4,2        ; @B43_PHY_LCN_RF_CTL2
	.comm	_B43_PHY_LCN_RF_CTL1,4,2        ; @B43_PHY_LCN_RF_CTL1
	.comm	_B43_PHY_LCN_RF_CTL5,4,2        ; @B43_PHY_LCN_RF_CTL5
	.comm	_B43_PHY_LCN_RF_CTL4,4,2        ; @B43_PHY_LCN_RF_CTL4
	.comm	_B43_PHY_LCN_RF_CTL3,4,2        ; @B43_PHY_LCN_RF_CTL3
	.comm	_B43_PHY_LCN_RF_CTL7,4,2        ; @B43_PHY_LCN_RF_CTL7
	.comm	_B43_PHY_LCN_RF_CTL6,4,2        ; @B43_PHY_LCN_RF_CTL6
	.no_dead_strip	_b43_phy_lcn_op_software_rfkill
.subsections_via_symbols
