	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_radio_init2050       ## -- Begin function b43legacy_radio_init2050
	.p2align	4, 0x90
_b43legacy_radio_init2050:              ## @b43legacy_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, %rbx
	movl	$67, %esi
	callq	_b43legacy_radio_read16
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_b43legacy_radio_read16
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$82, %esi
	callq	_b43legacy_radio_read16
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$21, %esi
	callq	_b43legacy_phy_read
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$90, %esi
	callq	_b43legacy_phy_read
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$89, %esi
	callq	_b43legacy_phy_read
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$88, %esi
	callq	_b43legacy_phy_read
	movq	8(%rbx), %rcx
	movq	_B43legacy_PHYTYPE_B@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_b43legacy_phy_read
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$1004, %esi                     ## imm = 0x3EC
	callq	_b43legacy_read16
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$48, %esi
	movl	$255, %edx
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$1004, %esi                     ## imm = 0x3EC
	movl	$16191, %edx                    ## imm = 0x3F3F
	callq	_b43legacy_write16
	jmp	LBB0_4
LBB0_2:
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	callq	_b43legacy_phy_read
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	callq	_b43legacy_phy_read
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	callq	_b43legacy_phy_read
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	callq	_b43legacy_phy_read
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_B43legacy_PHY_G_CRS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_b43legacy_phy_read
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	callq	_b43legacy_phy_read
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	callq	_b43legacy_phy_read
	orl	$3, %eax
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	callq	_b43legacy_phy_read
	andl	$65532, %eax                    ## imm = 0xFFFC
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movl	(%r14), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b43legacy_phy_read
	andl	$32767, %eax                    ## imm = 0x7FFF
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	callq	_b43legacy_phy_read
	andl	$65532, %eax                    ## imm = 0xFFFC
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	xorl	%r14d, %r14d
	cmpl	$2, 16(%rbx)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jl	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	$2063, %esi                     ## imm = 0x80F
	callq	_b43legacy_phy_read
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$2064, %esi                     ## imm = 0x810
	callq	_b43legacy_phy_read
	xorl	%edx, %edx
	cmpl	$3, 16(%rbx)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	setge	%dl
	shll	$14, %edx
	orl	$32800, %edx                    ## imm = 0x8020
	movq	%rbx, %rdi
	movl	$2063, %esi                     ## imm = 0x80F
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2064, %esi                     ## imm = 0x810
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
LBB0_7:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	xorl	%edi, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	cmpl	$7, 16(%rbx)
	jl	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_B43legacy_BFL_EXTLNA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	$2483, %edx                     ## imm = 0x9B3
	callq	_b43legacy_phy_write
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_9:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	$435, %edx                      ## imm = 0x1B3
	callq	_b43legacy_phy_write
LBB0_11:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_3:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_4:
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movq	_B43legacy_MMIO_PHY_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b43legacy_read16
	orl	$32768, %eax                    ## imm = 0x8000
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b43legacy_write16
	movq	%rbx, %rdi
	movl	$53, %esi
	callq	_b43legacy_phy_read
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$53, %esi
	callq	_b43legacy_phy_read
	andl	$65407, %eax                    ## imm = 0xFF7F
	movq	%rbx, %rdi
	movl	$53, %esi
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	callq	_b43legacy_read16
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	_B43legacy_MMIO_CHANNEL_EXT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_b43legacy_read16
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	20(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	cmpl	$2, %eax
	jl	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_b43legacy_phy_read
	orl	$64, %eax
	movzwl	%ax, %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_b43legacy_phy_write
LBB0_16:
	movl	(%r14), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b43legacy_read16
	orl	$8192, %eax                     ## imm = 0x2000
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	jmp	LBB0_17
LBB0_13:
	movq	%rbx, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	movl	$290, %edx                      ## imm = 0x122
LBB0_17:
	callq	_b43legacy_write16
	movq	%rbx, %rdi
	callq	_b43legacy_radio_calibrationvalue
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	8(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	movl	$120, %esi
	movl	$38, %edx
	callq	_b43legacy_radio_write16
LBB0_19:
	cmpq	$0, 32(%rbx)
	je	LBB0_21
## %bb.20:
	xorl	%edi, %edi
	movl	$1, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_21:
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$49071, %edx                    ## imm = 0xBFAF
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$43, %esi
	movl	$5123, %edx                     ## imm = 0x1403
	callq	_b43legacy_phy_write
	cmpq	$0, 32(%rbx)
	je	LBB0_23
## %bb.22:
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_23:
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$49056, %edx                    ## imm = 0xBFA0
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$81, %esi
	callq	_b43legacy_radio_read16
	orl	$4, %eax
	movq	%rbx, %rdi
	movl	$81, %esi
	movl	%eax, %edx
	callq	_b43legacy_radio_write16
	movl	$31, %edx
	cmpl	$8, 24(%rbx)
	je	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	movl	$82, %esi
	xorl	%edx, %edx
	callq	_b43legacy_radio_write16
	movq	%rbx, %rdi
	movl	$67, %esi
	callq	_b43legacy_radio_read16
	movl	%eax, %edx
	andl	$65520, %edx                    ## imm = 0xFFF0
	orl	$9, %edx
LBB0_25:
	movq	%rbx, %rdi
	movl	$67, %esi
	callq	_b43legacy_radio_write16
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	$88, %esi
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
	movl	$16, %r14d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_26 Depth=1
	addl	%r12d, %r15d
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43legacy_phy_write
	decl	%r14d
	je	LBB0_35
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$90, %esi
	movl	$1152, %edx                     ## imm = 0x480
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$89, %esi
	movl	$51216, %edx                    ## imm = 0xC810
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$88, %esi
	movl	$13, %edx
	callq	_b43legacy_phy_write
	cmpq	$0, 32(%rbx)
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43legacy_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 32(%rbx)
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$61360, %edx                    ## imm = 0xEFB0
	callq	_b43legacy_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 32(%rbx)
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$65520, %edx                    ## imm = 0xFFF0
	callq	_b43legacy_phy_write
	movl	$20, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_b43legacy_phy_read
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$88, %esi
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
	cmpq	$0, 32(%rbx)
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	jmp	LBB0_34
LBB0_35:
	incl	%r15d
	sarl	$9, %r15d
	movl	$10, %edi
	callq	_udelay
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movl	$88, %esi
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_36:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	movl	%edi, -84(%rbp)                 ## 4-byte Spill
	callq	_flip_4bit
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %edx
	orl	$32, %edx
	movq	%rbx, %rdi
	movl	$120, %esi
	callq	_b43legacy_radio_write16
	movq	%rbx, %rdi
	movl	$120, %esi
	callq	_b43legacy_radio_read16
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movl	$10, %edi
	callq	_udelay
	movl	$16, %r13d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_37 Depth=2
	addl	%r14d, %r12d
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43legacy_phy_write
	decl	%r13d
	je	LBB0_46
LBB0_37:                                ##   Parent Loop BB0_36 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movl	$90, %esi
	movl	$3456, %edx                     ## imm = 0xD80
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$89, %esi
	movl	$51216, %edx                    ## imm = 0xC810
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$88, %esi
	movl	$13, %edx
	callq	_b43legacy_phy_write
	cmpq	$0, 32(%rbx)
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=2
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$44976, %edx                    ## imm = 0xAFB0
	callq	_b43legacy_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 32(%rbx)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_41:                                ##   in Loop: Header=BB0_37 Depth=2
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$61360, %edx                    ## imm = 0xEFB0
	callq	_b43legacy_phy_write
	movl	$10, %edi
	callq	_udelay
	cmpq	$0, 32(%rbx)
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	$1, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
LBB0_43:                                ##   in Loop: Header=BB0_37 Depth=2
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	$65520, %edx                    ## imm = 0xFFF0
	callq	_b43legacy_phy_write
	movl	$10, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movl	$45, %esi
	callq	_b43legacy_phy_read
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$88, %esi
	xorl	%edx, %edx
	callq	_b43legacy_phy_write
	cmpq	$0, 32(%rbx)
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_37 Depth=2
	movl	$1, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_LPD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_b43legacy_get_812_value
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_36 Depth=1
	incl	%r12d
	sarl	$8, %r12d
	cmpl	%r12d, %r15d
	jl	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	incl	%edi
	cmpl	$16, %edi
	jne	LBB0_36
## %bb.49:
	movl	$16, %r15d
	jmp	LBB0_50
LBB0_47:
	movl	-84(%rbp), %r15d                ## 4-byte Reload
LBB0_50:
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$81, %esi
	movl	-124(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_radio_write16
	movq	%rbx, %rdi
	movl	$82, %esi
	movl	-120(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_radio_write16
	movq	%rbx, %rdi
	movl	$67, %esi
	movl	-128(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_radio_write16
	movq	%rbx, %rdi
	movl	$90, %esi
	movl	-116(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$89, %esi
	movl	-112(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$88, %esi
	movl	-108(%rbp), %edx                ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$998, %esi                      ## imm = 0x3E6
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_write16
	cmpl	$0, 20(%rbx)
	movq	_B43legacy_PHYTYPE_B@GOTPCREL(%rip), %r14
	je	LBB0_52
## %bb.51:
	movq	_B43legacy_MMIO_CHANNEL_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_write16
LBB0_52:
	movq	%rbx, %rdi
	movl	$53, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movl	40(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_b43legacy_radio_selectchannel
	movq	8(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_54
## %bb.53:
	movq	%rbx, %rdi
	movl	$48, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$1004, %esi                     ## imm = 0x3EC
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_write16
	jmp	LBB0_57
LBB0_54:
	cmpq	$0, 32(%rbx)
	je	LBB0_57
## %bb.55:
	movq	_B43legacy_MMIO_PHY_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_b43legacy_read16
	andl	$32767, %eax                    ## imm = 0x7FFF
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_b43legacy_write16
	movq	%rbx, %rdi
	movl	$2065, %esi                     ## imm = 0x811
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2066, %esi                     ## imm = 0x812
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2068, %esi                     ## imm = 0x814
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2069, %esi                     ## imm = 0x815
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	_B43legacy_PHY_G_CRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2050, %esi                     ## imm = 0x802
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	cmpl	$2, 16(%rbx)
	jl	LBB0_57
## %bb.56:
	movq	%rbx, %rdi
	movl	$2063, %esi                     ## imm = 0x80F
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
	movq	%rbx, %rdi
	movl	$2064, %esi                     ## imm = 0x810
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_b43legacy_phy_write
LBB0_57:
	cmpl	$15, %r15d
	movl	-100(%rbp), %eax                ## 4-byte Reload
	cmovael	-132(%rbp), %eax                ## 4-byte Folded Reload
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B43legacy_PHYTYPE_B,8,3        ## @B43legacy_PHYTYPE_B
	.comm	_B43legacy_PHY_G_CRS,4,2        ## @B43legacy_PHY_G_CRS
	.comm	_B43legacy_BFL_EXTLNA,4,2       ## @B43legacy_BFL_EXTLNA
	.comm	_B43legacy_MMIO_PHY_RADIO,4,2   ## @B43legacy_MMIO_PHY_RADIO
	.comm	_B43legacy_MMIO_CHANNEL_EXT,4,2 ## @B43legacy_MMIO_CHANNEL_EXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_b43legacy_radio_init2050       ; -- Begin function b43legacy_radio_init2050
	.p2align	2
_b43legacy_radio_init2050:              ; @b43legacy_radio_init2050
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	w1, #67
	bl	_b43legacy_radio_read16
	mov	x21, x0
	mov	x0, x19
	mov	w1, #81
	bl	_b43legacy_radio_read16
	mov	x22, x0
	mov	x0, x19
	mov	w1, #82
	bl	_b43legacy_radio_read16
	mov	x23, x0
	mov	x0, x19
	mov	w1, #21
	bl	_b43legacy_phy_read
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #90
	bl	_b43legacy_phy_read
	mov	x25, x0
	mov	x0, x19
	mov	w1, #89
	bl	_b43legacy_phy_read
	mov	x26, x0
	mov	x0, x19
	mov	w1, #88
	bl	_b43legacy_phy_read
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x24, _B43legacy_PHYTYPE_B@GOTPAGE
Lloh1:
	ldr	x24, [x24, _B43legacy_PHYTYPE_B@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	stp	w22, w21, [sp, #72]             ; 8-byte Folded Spill
	stp	w0, w23, [sp, #64]              ; 8-byte Folded Spill
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #48
	bl	_b43legacy_phy_read
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #1004
	bl	_b43legacy_read16
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #48
	mov	w2, #255
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1004
	mov	w2, #16191
	bl	_b43legacy_write16
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	mov	w1, #2065
	bl	_b43legacy_phy_read
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_read
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2068
	bl	_b43legacy_phy_read
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2069
	bl	_b43legacy_phy_read
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh2:
	adrp	x20, _B43legacy_PHY_G_CRS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _B43legacy_PHY_G_CRS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43legacy_phy_read
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2050
	bl	_b43legacy_phy_read
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2068
	bl	_b43legacy_phy_read
	orr	w2, w0, #0x3
	mov	x0, x19
	mov	w1, #2068
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2069
	bl	_b43legacy_phy_read
	and	w2, w0, #0xfffc
	mov	x0, x19
	mov	w1, #2069
	bl	_b43legacy_phy_write
	ldr	w20, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_phy_read
	and	w2, w0, #0x7fff
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2050
	bl	_b43legacy_phy_read
	and	w2, w0, #0xfffc
	mov	x0, x19
	mov	w1, #2050
	bl	_b43legacy_phy_write
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.4:
	mov	x0, x19
	mov	w1, #2063
	bl	_b43legacy_phy_read
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	w1, #2064
	bl	_b43legacy_phy_read
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w8, [x19, #16]
	mov	w9, #32800
	mov	w10, #49184
	cmp	w8, #2
	csel	w2, w10, w9, gt
	mov	x0, x19
	mov	w1, #2063
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2064
	mov	w2, #0
	bl	_b43legacy_phy_write
	b	LBB0_8
LBB0_5:
	stp	wzr, wzr, [sp, #36]             ; 8-byte Folded Spill
LBB0_6:
	str	wzr, [sp, #32]                  ; 4-byte Folded Spill
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
	b	LBB0_13
LBB0_7:
	stp	wzr, wzr, [sp, #4]              ; 8-byte Folded Spill
LBB0_8:
	mov	w0, #0
	mov	w1, #1
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
	ldr	w8, [x19, #16]
	cmp	w8, #7
	b.lt	LBB0_11
; %bb.9:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _B43legacy_BFL_EXTLNA@GOTPAGE
Lloh5:
	ldr	x9, [x9, _B43legacy_BFL_EXTLNA@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #2065
	mov	w2, #2483
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	mov	w1, #2065
	mov	w2, #435
LBB0_12:
	bl	_b43legacy_phy_write
	stp	wzr, wzr, [sp, #36]             ; 8-byte Folded Spill
LBB0_13:
Lloh7:
	adrp	x8, _B43legacy_MMIO_PHY_RADIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _B43legacy_MMIO_PHY_RADIO@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_read16
	orr	w2, w0, #0x8000
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #53
	bl	_b43legacy_phy_read
	mov	x21, x0
	mov	x0, x19
	mov	w1, #53
	bl	_b43legacy_phy_read
	mov	w8, #65407
	and	w2, w0, w8
	mov	x0, x19
	mov	w1, #53
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #998
	bl	_b43legacy_read16
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
Lloh10:
	adrp	x20, _B43legacy_MMIO_CHANNEL_EXT@GOTPAGE
Lloh11:
	ldr	x20, [x20, _B43legacy_MMIO_CHANNEL_EXT@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_b43legacy_read16
	mov	x23, x0
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_17
; %bb.14:
	cmp	w8, #2
	b.lt	LBB0_16
; %bb.15:
	mov	x0, x19
	mov	w1, #3
	bl	_b43legacy_phy_read
	and	w8, w0, #0xffff
	orr	w2, w8, #0x40
	mov	x0, x19
	mov	w1, #3
	bl	_b43legacy_phy_write
LBB0_16:
	ldr	w22, [x20]
	mov	x0, x19
	mov	x1, x22
	bl	_b43legacy_read16
	orr	w2, w0, #0x2000
	mov	x0, x19
	mov	x1, x22
	b	LBB0_18
LBB0_17:
	mov	x0, x19
	mov	w1, #998
	mov	w2, #290
LBB0_18:
	bl	_b43legacy_write16
	mov	x0, x19
	bl	_b43legacy_radio_calibrationvalue
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x19
	mov	w1, #120
	mov	w2, #38
	bl	_b43legacy_radio_write16
LBB0_20:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_22
; %bb.21:
	mov	w0, #0
	mov	w1, #1
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_22:
	mov	x0, x19
	mov	w1, #21
	mov	w2, #49071
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #43
	mov	w2, #5123
	bl	_b43legacy_phy_write
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_24
; %bb.23:
	mov	w0, #0
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_24:
	mov	x0, x19
	mov	w1, #21
	mov	w2, #49056
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #81
	bl	_b43legacy_radio_read16
	orr	w2, w0, #0x4
	mov	x0, x19
	mov	w1, #81
	bl	_b43legacy_radio_write16
	ldr	w8, [x19, #24]
	cmp	w8, #8
	stp	w23, w20, [sp, #44]             ; 8-byte Folded Spill
	str	w21, [sp, #56]                  ; 4-byte Folded Spill
	mov	x21, x26
	mov	x23, x25
	mov	x22, x24
	b.ne	LBB0_26
; %bb.25:
	mov	w2, #31
	b	LBB0_27
LBB0_26:
	mov	x0, x19
	mov	w1, #82
	mov	w2, #0
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #67
	bl	_b43legacy_radio_read16
	and	w8, w0, #0xfff0
	mov	w9, #9
	orr	w2, w8, w9
LBB0_27:
	mov	x0, x19
	mov	w1, #67
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #88
	mov	w2, #0
	bl	_b43legacy_phy_write
	mov	w24, #0
	mov	w26, #16
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w24, w25, w24
	mov	x0, x19
	mov	w1, #21
	mov	w2, #44976
	bl	_b43legacy_phy_write
	subs	w26, w26, #1
	b.eq	LBB0_37
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #90
	mov	w2, #1152
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #89
	mov	w2, #51216
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #88
	mov	w2, #13
	bl	_b43legacy_phy_write
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_31:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x19
	mov	w1, #21
	mov	w2, #44976
	bl	_b43legacy_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_33:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x19
	mov	w1, #21
	mov	w2, #61360
	bl	_b43legacy_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w0, #1
	mov	w1, #0
	mov	w2, #0
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_35:                                ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x19
	mov	w1, #21
	mov	w2, #65520
	bl	_b43legacy_phy_write
	mov	w0, #20
	bl	_udelay
	mov	x0, x19
	mov	w1, #45
	bl	_b43legacy_phy_read
	mov	x25, x0
	mov	x0, x19
	mov	w1, #88
	mov	w2, #0
	bl	_b43legacy_phy_write
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_28
; %bb.36:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
	b	LBB0_28
LBB0_37:
	add	w8, w24, #1
	asr	w24, w8, #9
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	mov	w1, #88
	mov	w2, #0
	bl	_b43legacy_phy_write
	mov	w28, #0
	mov	w25, #0
LBB0_38:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_40 Depth 2
	mov	x0, x25
	bl	_flip_4bit
	lsl	w8, w0, #1
	orr	w2, w8, #0x20
	mov	x0, x19
	mov	w1, #120
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #120
	bl	_b43legacy_radio_read16
	mov	x26, x0
	mov	w0, #10
	bl	_udelay
	mov	w20, #16
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=2
	add	w28, w27, w28
	mov	x0, x19
	mov	w1, #21
	mov	w2, #44976
	bl	_b43legacy_phy_write
	subs	w20, w20, #1
	b.eq	LBB0_48
LBB0_40:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #90
	mov	w2, #3456
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #89
	mov	w2, #51216
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #88
	mov	w2, #13
	bl	_b43legacy_phy_write
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=2
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_42:                                ;   in Loop: Header=BB0_40 Depth=2
	mov	x0, x19
	mov	w1, #21
	mov	w2, #44976
	bl	_b43legacy_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_40 Depth=2
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_44:                                ;   in Loop: Header=BB0_40 Depth=2
	mov	x0, x19
	mov	w1, #21
	mov	w2, #61360
	bl	_b43legacy_phy_write
	mov	w0, #10
	bl	_udelay
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_40 Depth=2
	mov	w0, #1
	mov	w1, #0
	mov	w2, #0
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
LBB0_46:                                ;   in Loop: Header=BB0_40 Depth=2
	mov	x0, x19
	mov	w1, #21
	mov	w2, #65520
	bl	_b43legacy_phy_write
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	mov	w1, #45
	bl	_b43legacy_phy_read
	mov	x27, x0
	mov	x0, x19
	mov	w1, #88
	mov	w2, #0
	bl	_b43legacy_phy_write
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_39
; %bb.47:                               ;   in Loop: Header=BB0_40 Depth=2
	mov	w0, #1
	mov	w1, #0
	mov	w2, #1
	bl	_LPD
	mov	x1, x0
	mov	x0, x19
	bl	_b43legacy_get_812_value
	mov	x2, x0
	mov	x0, x19
	mov	w1, #2066
	bl	_b43legacy_phy_write
	b	LBB0_39
LBB0_48:                                ;   in Loop: Header=BB0_38 Depth=1
	add	w8, w28, #1
	asr	w28, w8, #8
	cmp	w24, w28
	b.lt	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_38 Depth=1
	add	w25, w25, #1
	cmp	w25, #16
	b.ne	LBB0_38
LBB0_50:
	mov	x0, x19
	mov	w1, #21
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #81
	ldr	w2, [sp, #72]                   ; 4-byte Folded Reload
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #82
	ldr	w2, [sp, #68]                   ; 4-byte Folded Reload
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #67
	ldr	w2, [sp, #76]                   ; 4-byte Folded Reload
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #90
	mov	x2, x23
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #89
	mov	x2, x21
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #88
	ldr	w2, [sp, #64]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #998
	ldr	w2, [sp, #52]                   ; 4-byte Folded Reload
	bl	_b43legacy_write16
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_52
; %bb.51:
Lloh12:
	adrp	x8, _B43legacy_MMIO_CHANNEL_EXT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B43legacy_MMIO_CHANNEL_EXT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	bl	_b43legacy_write16
LBB0_52:
	mov	x0, x19
	mov	w1, #53
	ldr	w2, [sp, #56]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	ldr	w1, [x19, #40]
	mov	x0, x19
	mov	w2, #1
	bl	_b43legacy_radio_selectchannel
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_54
; %bb.53:
	mov	x0, x19
	mov	w1, #48
	ldr	w2, [sp, #40]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1004
	ldr	w2, [sp, #36]                   ; 4-byte Folded Reload
	bl	_b43legacy_write16
	ldr	w21, [sp, #48]                  ; 4-byte Folded Reload
	b	LBB0_57
LBB0_54:
	ldr	x8, [x19, #32]
	ldr	w21, [sp, #48]                  ; 4-byte Folded Reload
	cbz	x8, LBB0_57
; %bb.55:
Lloh15:
	adrp	x8, _B43legacy_MMIO_PHY_RADIO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _B43legacy_MMIO_PHY_RADIO@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_read16
	and	w2, w0, #0x7fff
	mov	x0, x19
	mov	x1, x20
	bl	_b43legacy_write16
	mov	x0, x19
	mov	w1, #2065
	ldr	w2, [sp, #32]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2066
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2068
	ldr	w2, [sp, #24]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2069
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
Lloh18:
	adrp	x8, _B43legacy_PHY_G_CRS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _B43legacy_PHY_G_CRS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	ldr	w2, [sp, #16]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2050
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_57
; %bb.56:
	mov	x0, x19
	mov	w1, #2063
	ldr	w2, [sp, #8]                    ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #2064
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	bl	_b43legacy_phy_write
LBB0_57:
	cmp	w25, #14
	csel	w0, w26, w21, hi
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_B43legacy_PHYTYPE_B,8,3        ; @B43legacy_PHYTYPE_B
	.comm	_B43legacy_PHY_G_CRS,4,2        ; @B43legacy_PHY_G_CRS
	.comm	_B43legacy_BFL_EXTLNA,4,2       ; @B43legacy_BFL_EXTLNA
	.comm	_B43legacy_MMIO_PHY_RADIO,4,2   ; @B43legacy_MMIO_PHY_RADIO
	.comm	_B43legacy_MMIO_CHANNEL_EXT,4,2 ; @B43legacy_MMIO_CHANNEL_EXT
.subsections_via_symbols
