	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_wa_boards_g
_b43_wa_boards_g:                       ## @b43_wa_boards_g
	.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
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	24(%rax), %r14
	movq	_SSB_BOARDVENDOR_BCM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	8(%rax), %rcx
	movq	_SSB_BOARD_BU4306@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	cmpl	$23, 16(%rax)
	je	LBB0_9
LBB0_3:
	cmpl	$1, 8(%rbx)
	jg	LBB0_5
## %bb.4:
	movq	_B43_OFDMTAB_GAINX_R1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	jmp	LBB0_8
LBB0_5:
	movq	_B43_OFDMTAB_GAINX@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	movl	$1, %ecx
	callq	_b43_ofdmtab_write16
	movq	_B43_BFL_EXTLNA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.6:
	cmpl	$7, 8(%rbx)
	jl	LBB0_9
## %bb.7:
	movl	$17, %edi
	callq	_B43_PHY_EXTG
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$63487, %edx                    ## imm = 0xF7FF
	callq	_b43_phy_mask
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	movl	$1, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$33, %edx
	movl	$1, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$34, %edx
	movl	$1, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$35, %edx
	xorl	%ecx, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_b43_ofdmtab_write16
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	movl	$2, %ecx
LBB0_8:
	callq	_b43_ofdmtab_write16
LBB0_9:
	movq	_B43_BFL_FEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_10
## %bb.11:
	movq	_B43_PHY_GTABCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$12576, %edx                    ## imm = 0x3120
	callq	_b43_phy_write
	movq	_B43_PHY_GTABDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$50304, %edx                    ## imm = 0xC480
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_phy_write                  ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSB_BOARDVENDOR_BCM,8,3        ## @SSB_BOARDVENDOR_BCM
	.comm	_SSB_BOARD_BU4306,8,3           ## @SSB_BOARD_BU4306
	.comm	_B43_OFDMTAB_GAINX_R1,4,2       ## @B43_OFDMTAB_GAINX_R1
	.comm	_B43_OFDMTAB_GAINX,4,2          ## @B43_OFDMTAB_GAINX
	.comm	_B43_BFL_EXTLNA,4,2             ## @B43_BFL_EXTLNA
	.comm	_B43_BFL_FEM,4,2                ## @B43_BFL_FEM
	.comm	_B43_PHY_GTABCTL,4,2            ## @B43_PHY_GTABCTL
	.comm	_B43_PHY_GTABDATA,4,2           ## @B43_PHY_GTABDATA
	.no_dead_strip	_b43_wa_boards_g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_wa_boards_g
_b43_wa_boards_g:                       ; @b43_wa_boards_g
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
	ldr	x20, [x8, #24]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _SSB_BOARDVENDOR_BCM@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SSB_BOARDVENDOR_BCM@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x8, #8]
Lloh3:
	adrp	x10, _SSB_BOARD_BU4306@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SSB_BOARD_BU4306@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x8, #16]
	cmp	w8, #23
	b.eq	LBB0_9
LBB0_3:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.4:
Lloh6:
	adrp	x21, _B43_OFDMTAB_GAINX_R1@GOTPAGE
Lloh7:
	ldr	x21, [x21, _B43_OFDMTAB_GAINX_R1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #1
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x21, _B43_OFDMTAB_GAINX@GOTPAGE
Lloh9:
	ldr	x21, [x21, _B43_OFDMTAB_GAINX@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #2
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #2
	mov	w3, #1
	bl	_b43_ofdmtab_write16
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _B43_BFL_EXTLNA@GOTPAGE
Lloh11:
	ldr	x9, [x9, _B43_BFL_EXTLNA@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
	ldr	w8, [x19, #8]
	cmp	w8, #7
	b.lt	LBB0_9
; %bb.7:
	mov	w0, #17
	bl	_B43_PHY_EXTG
	mov	x1, x0
	mov	x0, x19
	mov	w2, #63487
	bl	_b43_phy_mask
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #32
	mov	w3, #1
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #33
	mov	w3, #1
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #34
	mov	w3, #1
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #35
	mov	w3, #0
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_b43_ofdmtab_write16
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #3
	mov	w3, #2
LBB0_8:
	bl	_b43_ofdmtab_write16
LBB0_9:
	ldr	w8, [x20]
Lloh13:
	adrp	x9, _B43_BFL_FEM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _B43_BFL_FEM@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh16:
	adrp	x8, _B43_PHY_GTABCTL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B43_PHY_GTABCTL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #12576
	bl	_b43_phy_write
Lloh19:
	adrp	x8, _B43_PHY_GTABDATA@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B43_PHY_GTABDATA@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #50304
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_b43_phy_write
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SSB_BOARDVENDOR_BCM,8,3        ; @SSB_BOARDVENDOR_BCM
	.comm	_SSB_BOARD_BU4306,8,3           ; @SSB_BOARD_BU4306
	.comm	_B43_OFDMTAB_GAINX_R1,4,2       ; @B43_OFDMTAB_GAINX_R1
	.comm	_B43_OFDMTAB_GAINX,4,2          ; @B43_OFDMTAB_GAINX
	.comm	_B43_BFL_EXTLNA,4,2             ; @B43_BFL_EXTLNA
	.comm	_B43_BFL_FEM,4,2                ; @B43_BFL_FEM
	.comm	_B43_PHY_GTABCTL,4,2            ; @B43_PHY_GTABCTL
	.comm	_B43_PHY_GTABDATA,4,2           ; @B43_PHY_GTABDATA
	.no_dead_strip	_b43_wa_boards_g
.subsections_via_symbols
