	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_wa_crs_ed
_b43_wa_crs_ed:                         ## @b43_wa_crs_ed
	.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
	movl	(%rdi), %eax
	cmpl	$2, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.2:
	movq	_B43_PHY_CRSTHRES1_R1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$20249, %edx                    ## imm = 0x4F19
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
LBB0_3:
	movq	_B43_PHY_CRSTHRES1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$6241, %edx                     ## imm = 0x1861
	callq	_b43_phy_write
	movq	_B43_PHY_CRSTHRES2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$625, %edx                      ## imm = 0x271
	jmp	LBB0_4
LBB0_5:
	movq	_B43_PHY_CRSTHRES1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$152, %edx
	callq	_b43_phy_write
	movq	_B43_PHY_CRSTHRES2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$112, %edx
	callq	_b43_phy_write
	movl	$201, %edi
	callq	_B43_PHY_OFDM
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$128, %edx
LBB0_4:
	callq	_b43_phy_write
	movq	_B43_PHY_ANTDWELL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2048, %edx                     ## imm = 0x800
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_b43_phy_set                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_CRSTHRES1_R1,4,2       ## @B43_PHY_CRSTHRES1_R1
	.comm	_B43_PHY_CRSTHRES1,4,2          ## @B43_PHY_CRSTHRES1
	.comm	_B43_PHY_CRSTHRES2,4,2          ## @B43_PHY_CRSTHRES2
	.comm	_B43_PHY_ANTDWELL,4,2           ## @B43_PHY_ANTDWELL
	.no_dead_strip	_b43_wa_crs_ed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_wa_crs_ed
_b43_wa_crs_ed:                         ; @b43_wa_crs_ed
	.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
	ldr	w8, [x0]
	cmp	w8, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _B43_PHY_CRSTHRES1_R1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B43_PHY_CRSTHRES1_R1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #20249
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_write
LBB0_3:
Lloh3:
	adrp	x8, _B43_PHY_CRSTHRES1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B43_PHY_CRSTHRES1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #6241
	bl	_b43_phy_write
Lloh6:
	adrp	x8, _B43_PHY_CRSTHRES2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B43_PHY_CRSTHRES2@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #625
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _B43_PHY_CRSTHRES1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B43_PHY_CRSTHRES1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #152
	bl	_b43_phy_write
Lloh12:
	adrp	x8, _B43_PHY_CRSTHRES2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43_PHY_CRSTHRES2@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #112
	bl	_b43_phy_write
	mov	w0, #201
	bl	_B43_PHY_OFDM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #128
LBB0_5:
	bl	_b43_phy_write
Lloh15:
	adrp	x8, _B43_PHY_ANTDWELL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43_PHY_ANTDWELL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2048
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_b43_phy_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_CRSTHRES1_R1,4,2       ; @B43_PHY_CRSTHRES1_R1
	.comm	_B43_PHY_CRSTHRES1,4,2          ; @B43_PHY_CRSTHRES1
	.comm	_B43_PHY_CRSTHRES2,4,2          ; @B43_PHY_CRSTHRES2
	.comm	_B43_PHY_ANTDWELL,4,2           ; @B43_PHY_ANTDWELL
	.no_dead_strip	_b43_wa_crs_ed
.subsections_via_symbols
