	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_radio_2059_init
_b43_radio_2059_init:                   ## @b43_radio_2059_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_b43_radio_2059_init_pre
	movq	%r15, %rdi
	callq	_r2059_upload_inittabs
	leaq	_b43_radio_2059_init.routing(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	movl	$326, %r12d                     ## imm = 0x146
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	orl	%r12d, %esi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_b43_radio_set
	incq	%r13
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	_R2059_RFPLL_MISC_CAL_RESETN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	$120, %edx
	callq	_b43_radio_set
	movq	_R2059_XTAL_CONFIG2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$128, %edx
	callq	_b43_radio_set
	movl	$2, %edi
	callq	_msleep
	movl	(%r14), %esi
	movq	%r15, %rdi
	movl	$-121, %edx
	callq	_b43_radio_mask
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$-129, %edx
	callq	_b43_radio_mask
	movq	%r15, %rdi
	callq	_b43_radio_2059_rcal
	movq	%r15, %rdi
	callq	_b43_radio_2057_rccal
	movq	_R2059_RFPLL_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-9, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43_radio_mask                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @b43_radio_2059_init.routing
_b43_radio_2059_init.routing:
	.long	130                             ## 0x82
	.long	129                             ## 0x81
	.long	128                             ## 0x80

	.comm	_R2059_RFPLL_MISC_CAL_RESETN,4,2 ## @R2059_RFPLL_MISC_CAL_RESETN
	.comm	_R2059_XTAL_CONFIG2,4,2         ## @R2059_XTAL_CONFIG2
	.comm	_R2059_RFPLL_MASTER,4,2         ## @R2059_RFPLL_MASTER
	.no_dead_strip	_b43_radio_2059_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_radio_2059_init
_b43_radio_2059_init:                   ; @b43_radio_2059_init
	.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
	bl	_b43_radio_2059_init_pre
	mov	x0, x19
	bl	_r2059_upload_inittabs
Lloh0:
	adrp	x20, _b43_radio_2059_init.routing@PAGE
Lloh1:
	add	x20, x20, _b43_radio_2059_init.routing@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	w22, #326
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, x21, lsl #2]
	orr	w1, w8, w22
	mov	x0, x19
	mov	w2, #3
	bl	_b43_radio_set
	add	x21, x21, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x20, _R2059_RFPLL_MISC_CAL_RESETN@GOTPAGE
Lloh3:
	ldr	x20, [x20, _R2059_RFPLL_MISC_CAL_RESETN@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #120
	bl	_b43_radio_set
Lloh4:
	adrp	x21, _R2059_XTAL_CONFIG2@GOTPAGE
Lloh5:
	ldr	x21, [x21, _R2059_XTAL_CONFIG2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #128
	bl	_b43_radio_set
	mov	w0, #2
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #-121
	bl	_b43_radio_mask
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #-129
	bl	_b43_radio_mask
	mov	x0, x19
	bl	_b43_radio_2059_rcal
	mov	x0, x19
	bl	_b43_radio_2057_rccal
Lloh6:
	adrp	x8, _R2059_RFPLL_MASTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R2059_RFPLL_MASTER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-9
	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_radio_mask
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @b43_radio_2059_init.routing
_b43_radio_2059_init.routing:
	.long	130                             ; 0x82
	.long	129                             ; 0x81
	.long	128                             ; 0x80

	.comm	_R2059_RFPLL_MISC_CAL_RESETN,4,2 ; @R2059_RFPLL_MISC_CAL_RESETN
	.comm	_R2059_XTAL_CONFIG2,4,2         ; @R2059_XTAL_CONFIG2
	.comm	_R2059_RFPLL_MASTER,4,2         ; @R2059_RFPLL_MASTER
	.no_dead_strip	_b43_radio_2059_init
.subsections_via_symbols
