	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_lpphy_op_software_rfkill
_b43_lpphy_op_software_rfkill:          ## @b43_lpphy_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$2, (%rbx)
	movq	_B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	jl	LBB0_3
## %bb.2:
	movl	$33791, %edx                    ## imm = 0x83FF
	callq	_b43_phy_mask
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$7936, %edx                     ## imm = 0x1F00
	callq	_b43_phy_set
	movq	_B43_LPPHY_AFE_DDFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$33023, %edx                    ## imm = 0x80FF
	callq	_b43_phy_mask
	movq	_B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$57343, %edx                    ## imm = 0xDFFF
	callq	_b43_phy_mask
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2056, %edx                     ## imm = 0x808
	jmp	LBB0_4
LBB0_5:
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$57599, %edx                    ## imm = 0xE0FF
	callq	_b43_phy_mask
	cmpl	$2, (%rbx)
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	jl	LBB0_8
## %bb.6:
	movl	$63479, %edx                    ## imm = 0xF7F7
	jmp	LBB0_7
LBB0_3:
	movl	$57599, %edx                    ## imm = 0xE0FF
	callq	_b43_phy_mask
	movq	_B43_LPPHY_RF_OVERRIDE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$7936, %edx                     ## imm = 0x1F00
	callq	_b43_phy_set
	movq	_B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$64767, %edx                    ## imm = 0xFCFF
	callq	_b43_phy_mask
	movq	_B43_LPPHY_RF_OVERRIDE_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$24, %edx
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
LBB0_8:
	movl	$65511, %edx                    ## imm = 0xFFE7
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_mask                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_LPPHY_RF_OVERRIDE_VAL_0,4,2 ## @B43_LPPHY_RF_OVERRIDE_VAL_0
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ## @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_AFE_DDFS,4,2         ## @B43_LPPHY_AFE_DDFS
	.comm	_B43_LPPHY_RF_OVERRIDE_2_VAL,4,2 ## @B43_LPPHY_RF_OVERRIDE_2_VAL
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ## @B43_LPPHY_RF_OVERRIDE_2
	.no_dead_strip	_b43_lpphy_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_lpphy_op_software_rfkill
_b43_lpphy_op_software_rfkill:          ; @b43_lpphy_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	x19, x0
	cbz	w1, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _B43_LPPHY_RF_OVERRIDE_VAL_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.2:
	mov	w2, #33791
	bl	_b43_phy_mask
Lloh3:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #7936
	bl	_b43_phy_set
Lloh6:
	adrp	x8, _B43_LPPHY_AFE_DDFS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_LPPHY_AFE_DDFS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #33023
	bl	_b43_phy_mask
Lloh9:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #57343
	bl	_b43_phy_mask
Lloh12:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2056
	b	LBB0_6
LBB0_3:
Lloh15:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #57599
	bl	_b43_phy_mask
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh19:
	ldr	x9, [x9, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	mov	x0, x19
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.4:
	mov	w2, #63479
	b	LBB0_8
LBB0_5:
	mov	w2, #57599
	bl	_b43_phy_mask
Lloh21:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_0@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #7936
	bl	_b43_phy_set
Lloh24:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2_VAL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #64767
	bl	_b43_phy_mask
Lloh27:
	adrp	x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGE
Lloh28:
	ldr	x8, [x8, _B43_LPPHY_RF_OVERRIDE_2@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #24
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_set
LBB0_7:
	mov	w2, #65511
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_mask
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_LPPHY_RF_OVERRIDE_VAL_0,4,2 ; @B43_LPPHY_RF_OVERRIDE_VAL_0
	.comm	_B43_LPPHY_RF_OVERRIDE_0,4,2    ; @B43_LPPHY_RF_OVERRIDE_0
	.comm	_B43_LPPHY_AFE_DDFS,4,2         ; @B43_LPPHY_AFE_DDFS
	.comm	_B43_LPPHY_RF_OVERRIDE_2_VAL,4,2 ; @B43_LPPHY_RF_OVERRIDE_2_VAL
	.comm	_B43_LPPHY_RF_OVERRIDE_2,4,2    ; @B43_LPPHY_RF_OVERRIDE_2
	.no_dead_strip	_b43_lpphy_op_software_rfkill
.subsections_via_symbols
