	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_radio_init2050
_b43_radio_init2050:                    ## @b43_radio_init2050
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	-128(%rbp), %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movq	%r13, %rdi
	movl	$67, %esi
	callq	_b43_radio_read16
	movl	%eax, -128(%rbp)
	movq	%r13, %rdi
	movl	$81, %esi
	callq	_b43_radio_read16
	movl	%eax, -124(%rbp)
	movq	%r13, %rdi
	movl	$82, %esi
	callq	_b43_radio_read16
	movl	%eax, -120(%rbp)
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -116(%rbp)
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -112(%rbp)
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -108(%rbp)
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -104(%rbp)
	movq	(%r13), %rax
	movq	_B43_PHYTYPE_B@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.1:
	movl	$48, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_read
	movl	%eax, -100(%rbp)
	movq	%r13, %rdi
	movl	$1004, %esi                     ## imm = 0x3EC
	callq	_b43_read16
	movl	%eax, -96(%rbp)
	movl	$48, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$255, %edx
	callq	_b43_phy_write
	movq	%r13, %rdi
	movl	$1004, %esi                     ## imm = 0x3EC
	movl	$16191, %edx                    ## imm = 0x3F3F
	callq	_b43_write16
	jmp	LBB0_7
LBB0_2:
	cmpq	$0, 24(%r13)
	jne	LBB0_4
## %bb.3:
	cmpl	$2, 8(%r13)
	jl	LBB0_7
LBB0_4:
	movq	_B43_PHY_RFOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -92(%rbp)
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -88(%rbp)
	movq	_B43_PHY_ANALOGOVER@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -84(%rbp)
	movq	_B43_PHY_ANALOGOVERVAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -80(%rbp)
	movq	_B43_PHY_CRS0@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -76(%rbp)
	movq	_B43_PHY_CLASSCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -72(%rbp)
	movl	(%r12), %esi
	movq	%r13, %rdi
	movl	$3, %edx
	callq	_b43_phy_set
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65532, %edx                    ## imm = 0xFFFC
	callq	_b43_phy_mask
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$32767, %edx                    ## imm = 0x7FFF
	callq	_b43_phy_mask
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	$65532, %edx                    ## imm = 0xFFFC
	callq	_b43_phy_mask
	movq	%r13, %rdi
	callq	_has_loopback_gain
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_B43_PHY_LO_MASK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -68(%rbp)
	movq	_B43_PHY_LO_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -64(%rbp)
	xorl	%edx, %edx
	cmpl	$3, 8(%r13)
	setge	%dl
	movl	(%rbx), %esi
	shll	$14, %edx
	orl	$32800, %edx                    ## imm = 0x8020
	movq	%r13, %rdi
	callq	_b43_phy_write
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_b43_phy_write
LBB0_6:
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
	movq	_B43_PHY_RFOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
	movq	_B43_PHYTYPE_B@GOTPCREL(%rip), %r14
LBB0_7:
	movq	%r13, %rdi
	movl	$994, %esi                      ## imm = 0x3E2
	callq	_b43_read16
	orl	$32768, %eax                    ## imm = 0x8000
	movq	%r13, %rdi
	movl	$994, %esi                      ## imm = 0x3E2
	movl	%eax, %edx
	callq	_b43_write16
	movq	_B43_PHY_SYNCCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movl	%eax, -60(%rbp)
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	$65407, %edx                    ## imm = 0xFF7F
	callq	_b43_phy_mask
	movq	%r13, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	callq	_b43_read16
	movl	%eax, -56(%rbp)
	movq	%r13, %rdi
	movl	$1012, %esi                     ## imm = 0x3F4
	callq	_b43_read16
	movl	%eax, -52(%rbp)
	movl	12(%r13), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.10:
	movl	$3, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$65471, %edx                    ## imm = 0xFFBF
	movl	$64, %ecx
	callq	_b43_phy_maskset
LBB0_11:
	movq	_B43_MMIO_CHANNEL_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_b43_read16
	orl	$8192, %eax                     ## imm = 0x2000
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	jmp	LBB0_12
LBB0_8:
	movq	%r13, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	movl	$290, %edx                      ## imm = 0x122
LBB0_12:
	callq	_b43_write16
	movq	%r13, %rdi
	callq	_b43_radio_core_calibration_value
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	(%r13), %rax
	cmpq	(%r14), %rax
	jne	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movl	$120, %esi
	movl	$38, %edx
	callq	_b43_radio_write16
LBB0_14:
	cmpq	$0, 24(%r13)
	jne	LBB0_16
## %bb.15:
	cmpl	$2, 8(%r13)
	jl	LBB0_17
LBB0_16:
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%edi, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_17:
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$49071, %edx                    ## imm = 0xBFAF
	callq	_b43_phy_write
	movl	$43, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$5123, %edx                     ## imm = 0x1403
	callq	_b43_phy_write
	cmpq	$0, 24(%r13)
	jne	LBB0_19
## %bb.18:
	cmpl	$2, 8(%r13)
	jl	LBB0_20
LBB0_19:
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_20:
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$49056, %edx                    ## imm = 0xBFA0
	callq	_b43_phy_write
	movq	%r13, %rdi
	movl	$81, %esi
	movl	$4, %edx
	callq	_b43_radio_set
	cmpl	$8, 16(%r13)
	jne	LBB0_22
## %bb.21:
	movq	%r13, %rdi
	movl	$67, %esi
	movl	$31, %edx
	callq	_b43_radio_write16
	jmp	LBB0_23
LBB0_22:
	movq	%r13, %rdi
	movl	$82, %esi
	xorl	%edx, %edx
	callq	_b43_radio_write16
	movq	%r13, %rdi
	movl	$67, %esi
	movl	$65520, %edx                    ## imm = 0xFFF0
	movl	$9, %ecx
	callq	_b43_radio_maskset
LBB0_23:
	movl	$88, %edi
	callq	_B43_PHY_CCK
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_b43_phy_write
	movl	$16, %ebx
	movq	_B43_PHY_RFOVERVAL@GOTPCREL(%rip), %r12
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%r12), %r15d
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_36:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43_phy_write
	decl	%ebx
	je	LBB0_37
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$1152, %edx                     ## imm = 0x480
	callq	_b43_phy_write
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$51216, %edx                    ## imm = 0xC810
	callq	_b43_phy_write
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$13, %edx
	callq	_b43_phy_write
	cmpq	$0, 24(%r13)
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$2, 8(%r13)
	jl	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%r12), %r15d
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 24(%r13)
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$2, 8(%r13)
	jl	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%r12), %r15d
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$61360, %edx                    ## imm = 0xEFB0
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 24(%r13)
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$2, 8(%r13)
	jl	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%r12), %r15d
	movl	$1, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_33:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$65520, %edx                    ## imm = 0xFFF0
	callq	_b43_phy_write
	movl	$20, %edi
	callq	_udelay
	movq	_B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movslq	%r14d, %r14
	addq	%rax, %r14
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_b43_phy_write
	cmpq	$0, 24(%r13)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$2, 8(%r13)
	jge	LBB0_35
	jmp	LBB0_36
LBB0_37:
	movl	$10, %edi
	callq	_udelay
	movl	$88, %edi
	callq	_B43_PHY_CCK
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_b43_phy_write
	incl	%r14d
	sarl	$9, %r14d
	xorl	%edi, %edi
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_38:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_bitrev4
	addl	%eax, %eax
	orl	$32, %eax
	movq	%r13, %rdi
	movl	$120, %esi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, %edx
	callq	_b43_radio_write16
	movl	$10, %edi
	callq	_udelay
	movl	$16, %r14d
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	(%r12), %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_51:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43_phy_write
	decl	%r14d
	je	LBB0_52
LBB0_39:                                ##   Parent Loop BB0_38 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$3456, %edx                     ## imm = 0xD80
	callq	_b43_phy_write
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$51216, %edx                    ## imm = 0xC810
	callq	_b43_phy_write
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$13, %edx
	callq	_b43_phy_write
	cmpq	$0, 24(%r13)
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=2
	cmpl	$2, 8(%r13)
	jl	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	(%r12), %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_42:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 24(%r13)
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_39 Depth=2
	cmpl	$2, 8(%r13)
	jl	LBB0_45
LBB0_44:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	(%r12), %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_45:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$61360, %edx                    ## imm = 0xEFB0
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 24(%r13)
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_39 Depth=2
	cmpl	$2, 8(%r13)
	jl	LBB0_48
LBB0_47:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	(%r12), %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LPD
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_radio2050_rfover_val
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_phy_write
LBB0_48:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$65520, %edx                    ## imm = 0xFFF0
	callq	_b43_phy_write
	movl	$10, %edi
	callq	_udelay
	movq	_B43_PHY_LO_LEAKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_b43_phy_read
	movslq	%r15d, %r15
	addq	%rax, %r15
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movq	%r13, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_b43_phy_write
	cmpq	$0, 24(%r13)
	jne	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_39 Depth=2
	cmpl	$2, 8(%r13)
	jge	LBB0_50
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_38 Depth=1
	incl	%r15d
	sarl	$8, %r15d
	movq	-144(%rbp), %r14                ## 8-byte Reload
	cmpl	%r15d, %r14d
	jl	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_38 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	incl	%edi
	cmpl	$16, %edi
	jne	LBB0_38
## %bb.54:
	movl	$16, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_55:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movq	_B43_PHY_PGACTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-116(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movl	-124(%rbp), %edx
	movq	%r13, %rdi
	movl	$81, %esi
	callq	_b43_radio_write16
	movl	-120(%rbp), %edx
	movq	%r13, %rdi
	movl	$82, %esi
	callq	_b43_radio_write16
	movl	-128(%rbp), %edx
	movq	%r13, %rdi
	movl	$67, %esi
	callq	_b43_radio_write16
	movl	$90, %edi
	callq	_B43_PHY_CCK
	movl	-112(%rbp), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_write
	movl	$89, %edi
	callq	_B43_PHY_CCK
	movl	-108(%rbp), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_write
	movl	$88, %edi
	callq	_B43_PHY_CCK
	movl	-104(%rbp), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_write
	movl	-56(%rbp), %edx
	movq	%r13, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	callq	_b43_write16
	cmpl	$0, 12(%r13)
	je	LBB0_57
## %bb.56:
	movl	-52(%rbp), %edx
	movq	%r13, %rdi
	movl	$1012, %esi                     ## imm = 0x3F4
	callq	_b43_write16
LBB0_57:
	movq	_B43_PHY_SYNCCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-60(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movl	32(%r13), %esi
	movq	%r13, %rdi
	callq	_b43_synth_pu_workaround
	movq	(%r13), %rax
	movq	_B43_PHYTYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_59
## %bb.58:
	movl	$48, %edi
	callq	_B43_PHY_CCK
	movl	-100(%rbp), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_b43_phy_write
	movl	-96(%rbp), %edx
	movq	%r13, %rdi
	movl	$1004, %esi                     ## imm = 0x3EC
	callq	_b43_write16
	jmp	LBB0_62
LBB0_59:
	cmpq	$0, 24(%r13)
	je	LBB0_62
## %bb.60:
	movq	_B43_MMIO_PHY_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_b43_read16
	andl	$32767, %eax                    ## imm = 0x7FFF
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_b43_write16
	movq	_B43_PHY_RFOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-92(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movl	(%r12), %esi
	movl	-88(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_ANALOGOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-84(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_ANALOGOVERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-80(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_CRS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-76(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_CLASSCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-72(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	%r13, %rdi
	callq	_has_loopback_gain
	testq	%rax, %rax
	je	LBB0_62
## %bb.61:
	movq	_B43_PHY_LO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-68(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
	movq	_B43_PHY_LO_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-64(%rbp), %edx
	movq	%r13, %rdi
	callq	_b43_phy_write
LBB0_62:
	cmpl	$16, -44(%rbp)                  ## 4-byte Folded Reload
	movl	-132(%rbp), %eax                ## 4-byte Reload
	cmovael	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43_PHY_PGACTL,4,2             ## @B43_PHY_PGACTL
	.comm	_B43_PHYTYPE_B,8,3              ## @B43_PHYTYPE_B
	.comm	_B43_PHY_RFOVER,4,2             ## @B43_PHY_RFOVER
	.comm	_B43_PHY_RFOVERVAL,4,2          ## @B43_PHY_RFOVERVAL
	.comm	_B43_PHY_ANALOGOVER,4,2         ## @B43_PHY_ANALOGOVER
	.comm	_B43_PHY_ANALOGOVERVAL,4,2      ## @B43_PHY_ANALOGOVERVAL
	.comm	_B43_PHY_CRS0,4,2               ## @B43_PHY_CRS0
	.comm	_B43_PHY_CLASSCTL,4,2           ## @B43_PHY_CLASSCTL
	.comm	_B43_PHY_LO_MASK,4,2            ## @B43_PHY_LO_MASK
	.comm	_B43_PHY_LO_CTL,4,2             ## @B43_PHY_LO_CTL
	.comm	_B43_PHY_SYNCCTL,4,2            ## @B43_PHY_SYNCCTL
	.comm	_B43_MMIO_CHANNEL_EXT,4,2       ## @B43_MMIO_CHANNEL_EXT
	.comm	_B43_PHY_LO_LEAKAGE,4,2         ## @B43_PHY_LO_LEAKAGE
	.comm	_B43_MMIO_PHY_RADIO,4,2         ## @B43_MMIO_PHY_RADIO
	.no_dead_strip	_b43_radio_init2050
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_radio_init2050
_b43_radio_init2050:                    ; @b43_radio_init2050
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	mov	x0, x19
	mov	w1, #67
	bl	_b43_radio_read16
	str	w0, [sp, #16]
	mov	x0, x19
	mov	w1, #81
	bl	_b43_radio_read16
	str	w0, [sp, #20]
	mov	x0, x19
	mov	w1, #82
	bl	_b43_radio_read16
	str	w0, [sp, #24]
Lloh0:
	adrp	x27, _B43_PHY_PGACTL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _B43_PHY_PGACTL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #28]
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #32]
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #36]
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #40]
	ldr	x8, [x19]
Lloh2:
	adrp	x26, _B43_PHYTYPE_B@GOTPAGE
Lloh3:
	ldr	x26, [x26, _B43_PHYTYPE_B@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh4:
	adrp	x25, _B43_PHY_RFOVERVAL@GOTPAGE
Lloh5:
	ldr	x25, [x25, _B43_PHY_RFOVERVAL@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #48
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #44]
	mov	x0, x19
	mov	w1, #1004
	bl	_b43_read16
	str	w0, [sp, #48]
	mov	w0, #48
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #255
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #1004
	mov	w2, #16191
	bl	_b43_write16
	b	LBB0_7
LBB0_2:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_7
LBB0_4:
Lloh6:
	adrp	x21, _B43_PHY_RFOVER@GOTPAGE
Lloh7:
	ldr	x21, [x21, _B43_PHY_RFOVER@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #52]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #56]
Lloh8:
	adrp	x20, _B43_PHY_ANALOGOVER@GOTPAGE
Lloh9:
	ldr	x20, [x20, _B43_PHY_ANALOGOVER@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #60]
Lloh10:
	adrp	x22, _B43_PHY_ANALOGOVERVAL@GOTPAGE
Lloh11:
	ldr	x22, [x22, _B43_PHY_ANALOGOVERVAL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #64]
Lloh12:
	adrp	x23, _B43_PHY_CRS0@GOTPAGE
Lloh13:
	ldr	x23, [x23, _B43_PHY_CRS0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #68]
Lloh14:
	adrp	x24, _B43_PHY_CLASSCTL@GOTPAGE
Lloh15:
	ldr	x24, [x24, _B43_PHY_CLASSCTL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #72]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #3
	bl	_b43_phy_set
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #65532
	bl	_b43_phy_mask
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #32767
	bl	_b43_phy_mask
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #65532
	bl	_b43_phy_mask
	mov	x0, x19
	bl	_has_loopback_gain
	cbz	x0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x20, _B43_PHY_LO_MASK@GOTPAGE
Lloh17:
	ldr	x20, [x20, _B43_PHY_LO_MASK@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #76]
Lloh18:
	adrp	x22, _B43_PHY_LO_CTL@GOTPAGE
Lloh19:
	ldr	x22, [x22, _B43_PHY_LO_CTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #80]
	ldr	w8, [x19, #8]
	ldr	w1, [x20]
	mov	w9, #32800
	mov	w10, #49184
	cmp	w8, #2
	csel	w2, w10, w9, gt
	mov	x0, x19
	bl	_b43_phy_write
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
LBB0_6:
	ldr	w20, [x25]
	mov	w0, #0
	mov	w1, #1
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_b43_phy_write
	ldr	w20, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_b43_phy_write
LBB0_7:
	mov	x0, x19
	mov	w1, #994
	bl	_b43_read16
	orr	w2, w0, #0x8000
	mov	x0, x19
	mov	w1, #994
	bl	_b43_write16
Lloh20:
	adrp	x20, _B43_PHY_SYNCCTL@GOTPAGE
Lloh21:
	ldr	x20, [x20, _B43_PHY_SYNCCTL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43_phy_read
	str	w0, [sp, #84]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #65407
	bl	_b43_phy_mask
	mov	x0, x19
	mov	w1, #998
	bl	_b43_read16
	str	w0, [sp, #88]
	mov	x0, x19
	mov	w1, #1012
	bl	_b43_read16
	str	w0, [sp, #92]
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_11
; %bb.8:
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.9:
	mov	w0, #3
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #65471
	mov	w3, #64
	bl	_b43_phy_maskset
LBB0_10:
Lloh22:
	adrp	x8, _B43_MMIO_CHANNEL_EXT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _B43_MMIO_CHANNEL_EXT@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_b43_read16
	orr	w2, w0, #0x2000
	mov	x0, x19
	mov	x1, x20
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	mov	w1, #998
	mov	w2, #290
LBB0_12:
	bl	_b43_write16
	mov	x0, x19
	bl	_b43_radio_core_calibration_value
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	ldr	x8, [x19]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #120
	mov	w2, #38
	bl	_b43_radio_write16
LBB0_14:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_16
; %bb.15:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_17
LBB0_16:
	ldr	w21, [x25]
	mov	w0, #0
	mov	w1, #1
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_b43_phy_write
LBB0_17:
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #49071
	bl	_b43_phy_write
	mov	w0, #43
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #5123
	bl	_b43_phy_write
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_20
LBB0_19:
	ldr	w21, [x25]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_b43_phy_write
LBB0_20:
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #49056
	bl	_b43_phy_write
	mov	x0, x19
	mov	w1, #81
	mov	w2, #4
	bl	_b43_radio_set
	ldr	w8, [x19, #16]
	mov	x0, x19
	cmp	w8, #8
	b.ne	LBB0_22
; %bb.21:
	mov	w1, #67
	mov	w2, #31
	bl	_b43_radio_write16
	b	LBB0_23
LBB0_22:
	mov	w1, #82
	mov	w2, #0
	bl	_b43_radio_write16
	mov	x0, x19
	mov	w1, #67
	mov	w2, #65520
	mov	w3, #9
	bl	_b43_radio_maskset
LBB0_23:
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	mov	x23, #0
	mov	w20, #16
Lloh25:
	adrp	x26, _B43_PHY_LO_LEAKAGE@GOTPAGE
Lloh26:
	ldr	x26, [x26, _B43_PHY_LO_LEAKAGE@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w22, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_b43_phy_write
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x23, x21, w23, sxtw
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #44976
	bl	_b43_phy_write
	subs	w20, w20, #1
	b.eq	LBB0_37
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1152
	bl	_b43_phy_write
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #51216
	bl	_b43_phy_write
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #13
	bl	_b43_phy_write
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w21, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_b43_phy_write
LBB0_29:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #44976
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w21, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_b43_phy_write
LBB0_32:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #61360
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w21, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #0
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_b43_phy_write
LBB0_35:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #65520
	bl	_b43_phy_write
	mov	w0, #20
	bl	_udelay
	ldr	w1, [x26]
	mov	x0, x19
	bl	_b43_phy_read
	mov	x21, x0
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_24
; %bb.36:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.ge	LBB0_24
	b	LBB0_25
LBB0_37:
	mov	w0, #10
	bl	_udelay
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	mov	w21, #0
	add	w8, w23, #1
	asr	w8, w8, #9
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
LBB0_38:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
	mov	x0, x21
	bl	_bitrev4
	lsl	w8, w0, #1
	orr	w22, w8, #0x20
	mov	x0, x19
	mov	w1, #120
	mov	x2, x22
	bl	_b43_radio_write16
	mov	w0, #10
	bl	_udelay
	mov	w28, #16
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w24, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_b43_phy_write
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	add	x20, x23, w20, sxtw
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #44976
	bl	_b43_phy_write
	subs	w28, w28, #1
	b.eq	LBB0_52
LBB0_41:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #3456
	bl	_b43_phy_write
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #51216
	bl	_b43_phy_write
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #13
	bl	_b43_phy_write
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w23, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_b43_phy_write
LBB0_44:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #44976
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w23, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_b43_phy_write
LBB0_47:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #61360
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_50
LBB0_49:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w23, [x25]
	mov	w0, #1
	mov	w1, #0
	mov	w2, #0
	bl	_LPD
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_radio2050_rfover_val
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_b43_phy_write
LBB0_50:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	w1, [x27]
	mov	x0, x19
	mov	w2, #65520
	bl	_b43_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x26]
	mov	x0, x19
	bl	_b43_phy_read
	mov	x23, x0
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_b43_phy_write
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_39
; %bb.51:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.ge	LBB0_39
	b	LBB0_40
LBB0_52:                                ;   in Loop: Header=BB0_38 Depth=1
	add	w8, w20, #1
	asr	w20, w8, #8
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w20
	b.lt	LBB0_54
; %bb.53:                               ;   in Loop: Header=BB0_38 Depth=1
	add	w21, w21, #1
	cmp	w21, #16
	b.ne	LBB0_38
LBB0_54:
Lloh27:
	adrp	x20, _B43_PHYTYPE_B@GOTPAGE
Lloh28:
	ldr	x20, [x20, _B43_PHYTYPE_B@GOTPAGEOFF]
	ldr	w24, [sp, #8]                   ; 4-byte Folded Reload
Lloh29:
	adrp	x23, _B43_PHY_SYNCCTL@GOTPAGE
Lloh30:
	ldr	x23, [x23, _B43_PHY_SYNCCTL@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w2, [sp, #28]
	mov	x0, x19
	bl	_b43_phy_write
	ldr	w2, [sp, #20]
	mov	x0, x19
	mov	w1, #81
	bl	_b43_radio_write16
	ldr	w2, [sp, #24]
	mov	x0, x19
	mov	w1, #82
	bl	_b43_radio_write16
	ldr	w2, [sp, #16]
	mov	x0, x19
	mov	w1, #67
	bl	_b43_radio_write16
	mov	w0, #90
	bl	_B43_PHY_CCK
	mov	x1, x0
	ldr	w2, [sp, #32]
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #89
	bl	_B43_PHY_CCK
	mov	x1, x0
	ldr	w2, [sp, #36]
	mov	x0, x19
	bl	_b43_phy_write
	mov	w0, #88
	bl	_B43_PHY_CCK
	mov	x1, x0
	ldr	w2, [sp, #40]
	mov	x0, x19
	bl	_b43_phy_write
	ldr	w2, [sp, #88]
	mov	x0, x19
	mov	w1, #998
	bl	_b43_write16
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_56
; %bb.55:
	ldr	w2, [sp, #92]
	mov	x0, x19
	mov	w1, #1012
	bl	_b43_write16
LBB0_56:
	ldr	w1, [x23]
	ldr	w2, [sp, #84]
	mov	x0, x19
	bl	_b43_phy_write
	ldr	w1, [x19, #32]
	mov	x0, x19
	bl	_b43_synth_pu_workaround
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_58
; %bb.57:
	mov	w0, #48
	bl	_B43_PHY_CCK
	mov	x1, x0
	ldr	w2, [sp, #44]
	mov	x0, x19
	bl	_b43_phy_write
	ldr	w2, [sp, #48]
	mov	x0, x19
	mov	w1, #1004
	bl	_b43_write16
	b	LBB0_61
LBB0_58:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_61
; %bb.59:
Lloh31:
	adrp	x8, _B43_MMIO_PHY_RADIO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _B43_MMIO_PHY_RADIO@GOTPAGEOFF]
Lloh33:
	ldr	w23, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_b43_read16
	and	w2, w0, #0x7fff
	mov	x0, x19
	mov	x1, x23
	bl	_b43_write16
Lloh34:
	adrp	x8, _B43_PHY_RFOVER@GOTPAGE
Lloh35:
	ldr	x8, [x8, _B43_PHY_RFOVER@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	ldr	w2, [sp, #52]
	mov	x0, x19
	bl	_b43_phy_write
	ldr	w1, [x25]
	ldr	w2, [sp, #56]
	mov	x0, x19
	bl	_b43_phy_write
Lloh37:
	adrp	x8, _B43_PHY_ANALOGOVER@GOTPAGE
Lloh38:
	ldr	x8, [x8, _B43_PHY_ANALOGOVER@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w2, [sp, #60]
	mov	x0, x19
	bl	_b43_phy_write
Lloh40:
	adrp	x8, _B43_PHY_ANALOGOVERVAL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _B43_PHY_ANALOGOVERVAL@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	ldr	w2, [sp, #64]
	mov	x0, x19
	bl	_b43_phy_write
Lloh43:
	adrp	x8, _B43_PHY_CRS0@GOTPAGE
Lloh44:
	ldr	x8, [x8, _B43_PHY_CRS0@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldr	w2, [sp, #68]
	mov	x0, x19
	bl	_b43_phy_write
Lloh46:
	adrp	x8, _B43_PHY_CLASSCTL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _B43_PHY_CLASSCTL@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	ldr	w2, [sp, #72]
	mov	x0, x19
	bl	_b43_phy_write
	mov	x0, x19
	bl	_has_loopback_gain
	cbz	x0, LBB0_61
; %bb.60:
Lloh49:
	adrp	x8, _B43_PHY_LO_MASK@GOTPAGE
Lloh50:
	ldr	x8, [x8, _B43_PHY_LO_MASK@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	ldr	w2, [sp, #76]
	mov	x0, x19
	bl	_b43_phy_write
Lloh52:
	adrp	x8, _B43_PHY_LO_CTL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _B43_PHY_LO_CTL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ldr	w2, [sp, #80]
	mov	x0, x19
	bl	_b43_phy_write
LBB0_61:
	cmp	w21, #15
	csel	w0, w22, w24, hi
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_B43_PHY_PGACTL,4,2             ; @B43_PHY_PGACTL
	.comm	_B43_PHYTYPE_B,8,3              ; @B43_PHYTYPE_B
	.comm	_B43_PHY_RFOVER,4,2             ; @B43_PHY_RFOVER
	.comm	_B43_PHY_RFOVERVAL,4,2          ; @B43_PHY_RFOVERVAL
	.comm	_B43_PHY_ANALOGOVER,4,2         ; @B43_PHY_ANALOGOVER
	.comm	_B43_PHY_ANALOGOVERVAL,4,2      ; @B43_PHY_ANALOGOVERVAL
	.comm	_B43_PHY_CRS0,4,2               ; @B43_PHY_CRS0
	.comm	_B43_PHY_CLASSCTL,4,2           ; @B43_PHY_CLASSCTL
	.comm	_B43_PHY_LO_MASK,4,2            ; @B43_PHY_LO_MASK
	.comm	_B43_PHY_LO_CTL,4,2             ; @B43_PHY_LO_CTL
	.comm	_B43_PHY_SYNCCTL,4,2            ; @B43_PHY_SYNCCTL
	.comm	_B43_MMIO_CHANNEL_EXT,4,2       ; @B43_MMIO_CHANNEL_EXT
	.comm	_B43_PHY_LO_LEAKAGE,4,2         ; @B43_PHY_LO_LEAKAGE
	.comm	_B43_MMIO_PHY_RADIO,4,2         ; @B43_MMIO_PHY_RADIO
	.no_dead_strip	_b43_radio_init2050
.subsections_via_symbols
