	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_radio_init2055_post
_b43_radio_init2055_post:               ## @b43_radio_init2055_post
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	24(%rdi), %rax
	movq	24(%rax), %rcx
	cmpl	$3, (%rcx)
	jg	LBB0_12
## %bb.1:
	movq	(%rax), %rdx
	movq	_PCI_VENDOR_ID_BROADCOM@GOTPCREL(%rip), %rsi
	movl	$65523, %r14d                   ## imm = 0xFFF3
	movq	_B2055_MASTER1@GOTPCREL(%rip), %rcx
	cmpq	(%rsi), %rdx
	je	LBB0_5
## %bb.2:
	movq	8(%rax), %rdx
	movq	_SSB_BOARD_CB2_4321@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.3:
	movl	16(%rax), %r14d
	movq	_B2055_MASTER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65523, %edx                    ## imm = 0xFFF3
	callq	_b43_radio_mask
	cmpl	$65, %r14d
	jge	LBB0_4
	jmp	LBB0_6
LBB0_12:
	movq	_B43_BFL2_RXBB_INT_REG_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	4(%rcx), %r14d
	movq	_B2055_MASTER1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65523, %edx                    ## imm = 0xFFF3
	callq	_b43_radio_mask
	testl	%r14d, %r14d
	jne	LBB0_6
LBB0_4:
	movq	_B2055_C1_RX_BB_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$127, %r14d
	movq	%rbx, %rdi
	movl	$127, %edx
	callq	_b43_radio_mask
	movq	_B2055_C2_RX_BB_REG@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_b43_radio_mask
LBB0_6:
	movq	_B2055_RRCCAL_NOPTSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65472, %edx                    ## imm = 0xFFC0
	movl	$44, %ecx
	callq	_b43_radio_maskset
	movq	_B2055_CAL_MISC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$60, %edx
	callq	_b43_radio_write
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$65470, %edx                    ## imm = 0xFFBE
	callq	_b43_radio_mask
	movq	_B2055_CAL_LPOCTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_b43_radio_set
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_b43_radio_set
	movl	$1, %edi
	callq	_msleep
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_b43_radio_set
	movq	_B2055_CAL_COUT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	movl	$128, %ecx
	movl	$10, %r8d
	movl	$2000, %r9d                     ## imm = 0x7D0
	callq	_b43_radio_wait_value
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	16(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_b43err
LBB0_8:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$65407, %edx                    ## imm = 0xFF7F
	callq	_b43_radio_mask
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_b43_switch_channel
	movq	_B2055_C1_RX_BB_LPF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_b43_radio_write
	movq	_B2055_C2_RX_BB_LPF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_b43_radio_write
	movq	_B2055_C1_RX_BB_MIDACHP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$131, %edx
	callq	_b43_radio_write
	movq	_B2055_C2_RX_BB_MIDACHP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$131, %edx
	callq	_b43_radio_write
	movq	_B2055_C1_LNA_GAINBST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65528, %edx                    ## imm = 0xFFF8
	movl	$6, %ecx
	callq	_b43_radio_maskset
	movq	_B2055_C2_LNA_GAINBST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65528, %edx                    ## imm = 0xFFF8
	movl	$6, %ecx
	callq	_b43_radio_maskset
	cmpl	$0, (%r15)
	movq	_B2055_C1_RX_RFSPC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	je	LBB0_9
## %bb.10:
	movl	$65533, %edx                    ## imm = 0xFFFD
	callq	_b43_radio_mask
	movq	_B2055_C2_RX_RFSPC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$65533, %edx                    ## imm = 0xFFFD
	callq	_b43_radio_mask
	jmp	LBB0_11
LBB0_9:
	movl	$2, %edx
	callq	_b43_radio_set
	movq	_B2055_C2_RX_RFSPC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_b43_radio_set
LBB0_11:
	movl	$2, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_BROADCOM,8,3     ## @PCI_VENDOR_ID_BROADCOM
	.comm	_SSB_BOARD_CB2_4321,8,3         ## @SSB_BOARD_CB2_4321
	.comm	_B43_BFL2_RXBB_INT_REG_DIS,4,2  ## @B43_BFL2_RXBB_INT_REG_DIS
	.comm	_B2055_MASTER1,4,2              ## @B2055_MASTER1
	.comm	_B2055_C1_RX_BB_REG,4,2         ## @B2055_C1_RX_BB_REG
	.comm	_B2055_C2_RX_BB_REG,4,2         ## @B2055_C2_RX_BB_REG
	.comm	_B2055_RRCCAL_NOPTSEL,4,2       ## @B2055_RRCCAL_NOPTSEL
	.comm	_B2055_CAL_MISC,4,2             ## @B2055_CAL_MISC
	.comm	_B2055_CAL_LPOCTL,4,2           ## @B2055_CAL_LPOCTL
	.comm	_B2055_CAL_COUT2,4,2            ## @B2055_CAL_COUT2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"radio post init timeout\n"

	.comm	_B2055_C1_RX_BB_LPF,4,2         ## @B2055_C1_RX_BB_LPF
	.comm	_B2055_C2_RX_BB_LPF,4,2         ## @B2055_C2_RX_BB_LPF
	.comm	_B2055_C1_RX_BB_MIDACHP,4,2     ## @B2055_C1_RX_BB_MIDACHP
	.comm	_B2055_C2_RX_BB_MIDACHP,4,2     ## @B2055_C2_RX_BB_MIDACHP
	.comm	_B2055_C1_LNA_GAINBST,4,2       ## @B2055_C1_LNA_GAINBST
	.comm	_B2055_C2_LNA_GAINBST,4,2       ## @B2055_C2_LNA_GAINBST
	.comm	_B2055_C1_RX_RFSPC1,4,2         ## @B2055_C1_RX_RFSPC1
	.comm	_B2055_C2_RX_RFSPC1,4,2         ## @B2055_C2_RX_RFSPC1
	.no_dead_strip	_b43_radio_init2055_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_radio_init2055_post
_b43_radio_init2055_post:               ; @b43_radio_init2055_post
	.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	x21, [x0, #8]
	ldr	x9, [x0, #24]
	ldr	x8, [x9, #24]
	ldr	w10, [x8]
	cmp	w10, #3
	b.gt	LBB0_3
; %bb.1:
	ldr	x8, [x9]
Lloh0:
	adrp	x10, _PCI_VENDOR_ID_BROADCOM@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PCI_VENDOR_ID_BROADCOM@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #65523
Lloh3:
	adrp	x8, _B2055_MASTER1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _B2055_MASTER1@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh5:
	adrp	x9, _B43_BFL2_RXBB_INT_REG_DIS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _B43_BFL2_RXBB_INT_REG_DIS@GOTPAGEOFF]
	ldr	w8, [x8, #4]
Lloh7:
	ldr	w9, [x9]
	and	w20, w9, w8
Lloh8:
	adrp	x8, _B2055_MASTER1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B2055_MASTER1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65523
	bl	_b43_radio_mask
	cbnz	w20, LBB0_9
	b	LBB0_6
LBB0_4:
	ldr	x10, [x9, #8]
Lloh11:
	adrp	x8, _SSB_BOARD_CB2_4321@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSB_BOARD_CB2_4321@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x8]
Lloh14:
	adrp	x8, _B2055_MASTER1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _B2055_MASTER1@GOTPAGEOFF]
	cmp	x10, x11
	b.ne	LBB0_7
; %bb.5:
	ldr	w20, [x9, #16]
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65523
	bl	_b43_radio_mask
	cmp	w20, #65
	b.lt	LBB0_9
LBB0_6:
Lloh16:
	adrp	x8, _B2055_C1_RX_BB_REG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _B2055_C1_RX_BB_REG@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w20, #127
	mov	x0, x19
	mov	w2, #127
	bl	_b43_radio_mask
Lloh19:
	adrp	x8, _B2055_C2_RX_BB_REG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _B2055_C2_RX_BB_REG@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w20, #65523
LBB0_8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_b43_radio_mask
LBB0_9:
Lloh21:
	adrp	x8, _B2055_RRCCAL_NOPTSEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _B2055_RRCCAL_NOPTSEL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65472
	mov	w3, #44
	bl	_b43_radio_maskset
Lloh24:
	adrp	x22, _B2055_CAL_MISC@GOTPAGE
Lloh25:
	ldr	x22, [x22, _B2055_CAL_MISC@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #60
	bl	_b43_radio_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #65470
	bl	_b43_radio_mask
Lloh26:
	adrp	x20, _B2055_CAL_LPOCTL@GOTPAGE
Lloh27:
	ldr	x20, [x20, _B2055_CAL_LPOCTL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #128
	bl	_b43_radio_set
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #1
	bl	_b43_radio_set
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #64
	bl	_b43_radio_set
Lloh28:
	adrp	x8, _B2055_CAL_COUT2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _B2055_CAL_COUT2@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #128
	mov	w3, #128
	mov	w4, #10
	mov	w5, #2000
	bl	_b43_radio_wait_value
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	w0, [x19, #16]
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	bl	_b43err
LBB0_11:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65407
	bl	_b43_radio_mask
	ldr	w1, [x19]
	mov	x0, x19
	bl	_b43_switch_channel
Lloh33:
	adrp	x8, _B2055_C1_RX_BB_LPF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _B2055_C1_RX_BB_LPF@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #9
	bl	_b43_radio_write
Lloh36:
	adrp	x8, _B2055_C2_RX_BB_LPF@GOTPAGE
Lloh37:
	ldr	x8, [x8, _B2055_C2_RX_BB_LPF@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #9
	bl	_b43_radio_write
Lloh39:
	adrp	x8, _B2055_C1_RX_BB_MIDACHP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _B2055_C1_RX_BB_MIDACHP@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #131
	bl	_b43_radio_write
Lloh42:
	adrp	x8, _B2055_C2_RX_BB_MIDACHP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _B2055_C2_RX_BB_MIDACHP@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #131
	bl	_b43_radio_write
Lloh45:
	adrp	x8, _B2055_C1_LNA_GAINBST@GOTPAGE
Lloh46:
	ldr	x8, [x8, _B2055_C1_LNA_GAINBST@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65528
	mov	w3, #6
	bl	_b43_radio_maskset
Lloh48:
	adrp	x8, _B2055_C2_LNA_GAINBST@GOTPAGE
Lloh49:
	ldr	x8, [x8, _B2055_C2_LNA_GAINBST@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65528
	mov	w3, #6
	bl	_b43_radio_maskset
	ldr	w8, [x21]
Lloh51:
	adrp	x9, _B2055_C1_RX_RFSPC1@GOTPAGE
Lloh52:
	ldr	x9, [x9, _B2055_C1_RX_RFSPC1@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x9]
	mov	x0, x19
	cbz	w8, LBB0_13
; %bb.12:
	mov	w2, #65533
	bl	_b43_radio_mask
Lloh54:
	adrp	x8, _B2055_C2_RX_RFSPC1@GOTPAGE
Lloh55:
	ldr	x8, [x8, _B2055_C2_RX_RFSPC1@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #65533
	bl	_b43_radio_mask
	b	LBB0_14
LBB0_13:
	mov	w2, #2
	bl	_b43_radio_set
Lloh57:
	adrp	x8, _B2055_C2_RX_RFSPC1@GOTPAGE
Lloh58:
	ldr	x8, [x8, _B2055_C2_RX_RFSPC1@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_b43_radio_set
LBB0_14:
	mov	w0, #2
	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	_udelay
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_BROADCOM,8,3     ; @PCI_VENDOR_ID_BROADCOM
	.comm	_SSB_BOARD_CB2_4321,8,3         ; @SSB_BOARD_CB2_4321
	.comm	_B43_BFL2_RXBB_INT_REG_DIS,4,2  ; @B43_BFL2_RXBB_INT_REG_DIS
	.comm	_B2055_MASTER1,4,2              ; @B2055_MASTER1
	.comm	_B2055_C1_RX_BB_REG,4,2         ; @B2055_C1_RX_BB_REG
	.comm	_B2055_C2_RX_BB_REG,4,2         ; @B2055_C2_RX_BB_REG
	.comm	_B2055_RRCCAL_NOPTSEL,4,2       ; @B2055_RRCCAL_NOPTSEL
	.comm	_B2055_CAL_MISC,4,2             ; @B2055_CAL_MISC
	.comm	_B2055_CAL_LPOCTL,4,2           ; @B2055_CAL_LPOCTL
	.comm	_B2055_CAL_COUT2,4,2            ; @B2055_CAL_COUT2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"radio post init timeout\n"

	.comm	_B2055_C1_RX_BB_LPF,4,2         ; @B2055_C1_RX_BB_LPF
	.comm	_B2055_C2_RX_BB_LPF,4,2         ; @B2055_C2_RX_BB_LPF
	.comm	_B2055_C1_RX_BB_MIDACHP,4,2     ; @B2055_C1_RX_BB_MIDACHP
	.comm	_B2055_C2_RX_BB_MIDACHP,4,2     ; @B2055_C2_RX_BB_MIDACHP
	.comm	_B2055_C1_LNA_GAINBST,4,2       ; @B2055_C1_LNA_GAINBST
	.comm	_B2055_C2_LNA_GAINBST,4,2       ; @B2055_C2_LNA_GAINBST
	.comm	_B2055_C1_RX_RFSPC1,4,2         ; @B2055_C1_RX_RFSPC1
	.comm	_B2055_C2_RX_RFSPC1,4,2         ; @B2055_C2_RX_RFSPC1
	.no_dead_strip	_b43_radio_init2055_post
.subsections_via_symbols
