	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43legacy_phy_agcsetup
_b43legacy_phy_agcsetup:                ## @b43legacy_phy_agcsetup
	.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
	xorl	%eax, %eax
	cmpl	$1, (%rdi)
	movl	$19456, %r14d                   ## imm = 0x4C00
	cmovnel	%eax, %r14d
	movl	%r14d, %esi
	movl	$254, %edx
	callq	_b43legacy_ilt_write
	leal	1(%r14), %esi
	movq	%r15, %rdi
	movl	$13, %edx
	callq	_b43legacy_ilt_write
	leal	2(%r14), %esi
	movq	%r15, %rdi
	movl	$19, %edx
	callq	_b43legacy_ilt_write
	leal	3(%r14), %esi
	movq	%r15, %rdi
	movl	$25, %edx
	callq	_b43legacy_ilt_write
	cmpl	$1, (%r15)
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movl	$6144, %esi                     ## imm = 0x1800
	movl	$10000, %edx                    ## imm = 0x2710
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$6145, %esi                     ## imm = 0x1801
	movl	$39811, %edx                    ## imm = 0x9B83
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$6146, %esi                     ## imm = 0x1802
	movl	$39811, %edx                    ## imm = 0x9B83
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$6147, %esi                     ## imm = 0x1803
	movl	$3981, %edx                     ## imm = 0xF8D
	callq	_b43legacy_ilt_write
	movq	%r15, %rdi
	movl	$1109, %esi                     ## imm = 0x455
	movl	$4, %edx
	callq	_b43legacy_phy_write
LBB0_2:
	movq	%r15, %rdi
	movl	$1189, %esi                     ## imm = 0x4A5
	callq	_b43legacy_phy_read
	movzbl	%al, %edx
	orl	$22272, %edx                    ## imm = 0x5700
	movq	%r15, %rdi
	movl	$1189, %esi                     ## imm = 0x4A5
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1050, %esi                     ## imm = 0x41A
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65408, %eax                    ## imm = 0xFF80
	leal	15(%rax), %edx
	movq	%r15, %rdi
	movl	$1050, %esi                     ## imm = 0x41A
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1050, %esi                     ## imm = 0x41A
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$49279, %eax                    ## imm = 0xC07F
	leal	11136(%rax), %edx
	movq	%r15, %rdi
	movl	$1050, %esi                     ## imm = 0x41A
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1164, %esi                     ## imm = 0x48C
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$61695, %eax                    ## imm = 0xF0FF
	leal	768(%rax), %edx
	movq	%r15, %rdi
	movl	$1164, %esi                     ## imm = 0x48C
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$122, %esi
	callq	_b43legacy_radio_read16
	orl	$8, %eax
	movq	%r15, %rdi
	movl	$122, %esi
	movl	%eax, %edx
	callq	_b43legacy_radio_write16
	movq	%r15, %rdi
	movl	$1184, %esi                     ## imm = 0x4A0
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65520, %eax                    ## imm = 0xFFF0
	leal	8(%rax), %edx
	movq	%r15, %rdi
	movl	$1184, %esi                     ## imm = 0x4A0
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1185, %esi                     ## imm = 0x4A1
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$61695, %eax                    ## imm = 0xF0FF
	leal	1536(%rax), %edx
	movq	%r15, %rdi
	movl	$1185, %esi                     ## imm = 0x4A1
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1186, %esi                     ## imm = 0x4A2
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$61695, %eax                    ## imm = 0xF0FF
	leal	1792(%rax), %edx
	movq	%r15, %rdi
	movl	$1186, %esi                     ## imm = 0x4A2
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1184, %esi                     ## imm = 0x4A0
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$61695, %eax                    ## imm = 0xF0FF
	leal	256(%rax), %edx
	movq	%r15, %rdi
	movl	$1184, %esi                     ## imm = 0x4A0
	callq	_b43legacy_phy_write
	cmpl	$1, (%r15)
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movl	$1186, %esi                     ## imm = 0x4A2
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65520, %eax                    ## imm = 0xFFF0
	leal	7(%rax), %edx
	movq	%r15, %rdi
	movl	$1186, %esi                     ## imm = 0x4A2
	callq	_b43legacy_phy_write
LBB0_4:
	movq	%r15, %rdi
	movl	$1160, %esi                     ## imm = 0x488
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65280, %eax                    ## imm = 0xFF00
	leal	28(%rax), %edx
	movq	%r15, %rdi
	movl	$1160, %esi                     ## imm = 0x488
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1160, %esi                     ## imm = 0x488
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$49407, %eax                    ## imm = 0xC0FF
	leal	512(%rax), %edx
	movq	%r15, %rdi
	movl	$1160, %esi                     ## imm = 0x488
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1174, %esi                     ## imm = 0x496
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65280, %eax                    ## imm = 0xFF00
	leal	28(%rax), %edx
	movq	%r15, %rdi
	movl	$1174, %esi                     ## imm = 0x496
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1161, %esi                     ## imm = 0x489
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65280, %eax                    ## imm = 0xFF00
	leal	32(%rax), %edx
	movq	%r15, %rdi
	movl	$1161, %esi                     ## imm = 0x489
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1161, %esi                     ## imm = 0x489
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$49407, %eax                    ## imm = 0xC0FF
	leal	512(%rax), %edx
	movq	%r15, %rdi
	movl	$1161, %esi                     ## imm = 0x489
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1154, %esi                     ## imm = 0x482
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65280, %eax                    ## imm = 0xFF00
	leal	46(%rax), %edx
	movq	%r15, %rdi
	movl	$1154, %esi                     ## imm = 0x482
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1174, %esi                     ## imm = 0x496
	callq	_b43legacy_phy_read
	movzbl	%al, %edx
	orl	$6656, %edx                     ## imm = 0x1A00
	movq	%r15, %rdi
	movl	$1174, %esi                     ## imm = 0x496
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65280, %eax                    ## imm = 0xFF00
	leal	40(%rax), %edx
	movq	%r15, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	callq	_b43legacy_phy_read
	movzbl	%al, %edx
	orl	$11264, %edx                    ## imm = 0x2C00
	movq	%r15, %rdi
	movl	$1153, %esi                     ## imm = 0x481
	callq	_b43legacy_phy_write
	cmpl	$1, (%r15)
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	$1072, %esi                     ## imm = 0x430
	movl	$2347, %edx                     ## imm = 0x92B
	callq	_b43legacy_phy_write
	movl	$2, %r13d
	movl	$65505, %ebx                    ## imm = 0xFFE1
	movl	$1051, %r12d                    ## imm = 0x41B
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	movl	$1051, %esi                     ## imm = 0x41B
	callq	_b43legacy_phy_read
	andl	$65505, %eax                    ## imm = 0xFFE1
	movq	%r15, %rdi
	movl	$1051, %esi                     ## imm = 0x41B
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1055, %esi                     ## imm = 0x41F
	movl	$10362, %edx                    ## imm = 0x287A
	callq	_b43legacy_phy_write
	movl	$4, %r13d
	movl	$65520, %ebx                    ## imm = 0xFFF0
	movl	$1056, %r12d                    ## imm = 0x420
LBB0_7:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_b43legacy_phy_read
	andl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_b43legacy_phy_write
	cmpl	$3, (%r15)
	jl	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	movl	$1058, %esi                     ## imm = 0x422
	movl	$10362, %edx                    ## imm = 0x287A
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1056, %esi                     ## imm = 0x420
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$4095, %eax                     ## imm = 0xFFF
	leal	12288(%rax), %edx
	movq	%r15, %rdi
	movl	$1056, %esi                     ## imm = 0x420
	callq	_b43legacy_phy_write
LBB0_9:
	movq	%r15, %rdi
	movl	$1192, %esi                     ## imm = 0x4A8
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$32896, %eax                    ## imm = 0x8080
	leal	30836(%rax), %edx
	movq	%r15, %rdi
	movl	$1192, %esi                     ## imm = 0x4A8
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1166, %esi                     ## imm = 0x48E
	movl	$7168, %edx                     ## imm = 0x1C00
	callq	_b43legacy_phy_write
	cmpl	$1, (%r15)
	jne	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movl	$1195, %esi                     ## imm = 0x4AB
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$61695, %eax                    ## imm = 0xF0FF
	leal	1536(%rax), %edx
	movq	%r15, %rdi
	movl	$1195, %esi                     ## imm = 0x4AB
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1163, %esi                     ## imm = 0x48B
	movl	$94, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1164, %esi                     ## imm = 0x48C
	callq	_b43legacy_phy_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$65280, %eax                    ## imm = 0xFF00
	leal	30(%rax), %edx
	movq	%r15, %rdi
	movl	$1164, %esi                     ## imm = 0x48C
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1165, %esi                     ## imm = 0x48D
	movl	$2, %edx
	callq	_b43legacy_phy_write
LBB0_11:
	leal	2048(%r14), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_b43legacy_ilt_write
	leal	2049(%r14), %esi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_b43legacy_ilt_write
	leal	2050(%r14), %esi
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_b43legacy_ilt_write
	addl	$2051, %r14d                    ## imm = 0x803
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$28, %edx
	callq	_b43legacy_ilt_write
	cmpl	$6, (%r15)
	jl	LBB0_12
## %bb.13:
	movq	%r15, %rdi
	movl	$1062, %esi                     ## imm = 0x426
	callq	_b43legacy_phy_read
	andl	$65532, %eax                    ## imm = 0xFFFC
	movq	%r15, %rdi
	movl	$1062, %esi                     ## imm = 0x426
	movl	%eax, %edx
	callq	_b43legacy_phy_write
	movq	%r15, %rdi
	movl	$1062, %esi                     ## imm = 0x426
	callq	_b43legacy_phy_read
	andl	$61439, %eax                    ## imm = 0xEFFF
	movq	%r15, %rdi
	movl	$1062, %esi                     ## imm = 0x426
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b43legacy_phy_write            ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_b43legacy_phy_agcsetup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43legacy_phy_agcsetup
_b43legacy_phy_agcsetup:                ; @b43legacy_phy_agcsetup
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0]
	mov	w9, #19456
	cmp	w8, #1
	csel	w20, w9, wzr, eq
	mov	x1, x20
	mov	w2, #254
	bl	_b43legacy_ilt_write
	orr	w1, w20, #0x1
	mov	x0, x19
	mov	w2, #13
	bl	_b43legacy_ilt_write
	orr	w1, w20, #0x2
	mov	x0, x19
	mov	w2, #19
	bl	_b43legacy_ilt_write
	orr	w1, w20, #0x3
	mov	x0, x19
	mov	w2, #25
	bl	_b43legacy_ilt_write
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #6144
	mov	w2, #10000
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #6145
	mov	w2, #39811
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #6146
	mov	w2, #39811
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #6147
	mov	w2, #3981
	bl	_b43legacy_ilt_write
	mov	x0, x19
	mov	w1, #1109
	mov	w2, #4
	bl	_b43legacy_phy_write
LBB0_2:
	mov	x0, x19
	mov	w1, #1189
	bl	_b43legacy_phy_read
	mov	w2, #22272
	bfxil	w2, w0, #0, #8
	mov	x0, x19
	mov	w1, #1189
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1050
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff80
	orr	w2, w8, #0xf
	mov	x0, x19
	mov	w1, #1050
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1050
	bl	_b43legacy_phy_read
	mov	w8, #49279
	and	w8, w0, w8
	mov	w9, #11136
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #1050
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1164
	bl	_b43legacy_phy_read
	mov	w21, #61695
	and	w8, w0, w21
	orr	w2, w8, #0x300
	mov	x0, x19
	mov	w1, #1164
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_read16
	orr	w2, w0, #0x8
	mov	x0, x19
	mov	w1, #122
	bl	_b43legacy_radio_write16
	mov	x0, x19
	mov	w1, #1184
	bl	_b43legacy_phy_read
	and	w8, w0, #0xfff0
	orr	w2, w8, #0x8
	mov	x0, x19
	mov	w1, #1184
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1185
	bl	_b43legacy_phy_read
	and	w8, w0, w21
	orr	w2, w8, #0x600
	mov	x0, x19
	mov	w1, #1185
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1186
	bl	_b43legacy_phy_read
	and	w8, w0, w21
	orr	w2, w8, #0x700
	mov	x0, x19
	mov	w1, #1186
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1184
	bl	_b43legacy_phy_read
	and	w8, w0, w21
	orr	w2, w8, #0x100
	mov	x0, x19
	mov	w1, #1184
	bl	_b43legacy_phy_write
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1186
	bl	_b43legacy_phy_read
	and	w8, w0, #0xfff0
	orr	w2, w8, #0x7
	mov	x0, x19
	mov	w1, #1186
	bl	_b43legacy_phy_write
LBB0_4:
	mov	x0, x19
	mov	w1, #1160
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff00
	orr	w2, w8, #0x1c
	mov	x0, x19
	mov	w1, #1160
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1160
	bl	_b43legacy_phy_read
	mov	w21, #49407
	and	w8, w0, w21
	orr	w2, w8, #0x200
	mov	x0, x19
	mov	w1, #1160
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1174
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff00
	orr	w2, w8, #0x1c
	mov	x0, x19
	mov	w1, #1174
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1161
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff00
	orr	w2, w8, #0x20
	mov	x0, x19
	mov	w1, #1161
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1161
	bl	_b43legacy_phy_read
	and	w8, w0, w21
	orr	w2, w8, #0x200
	mov	x0, x19
	mov	w1, #1161
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1154
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff00
	mov	w9, #46
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #1154
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1174
	bl	_b43legacy_phy_read
	mov	w2, #6656
	bfxil	w2, w0, #0, #8
	mov	x0, x19
	mov	w1, #1174
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1153
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff00
	mov	w9, #40
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #1153
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1153
	bl	_b43legacy_phy_read
	mov	w2, #11264
	bfxil	w2, w0, #0, #8
	mov	x0, x19
	mov	w1, #1153
	bl	_b43legacy_phy_write
	ldr	w8, [x19]
	mov	x0, x19
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.5:
	mov	w1, #1072
	mov	w2, #2347
	bl	_b43legacy_phy_write
	mov	w22, #2
	mov	w23, #65505
	mov	w21, #1051
	b	LBB0_7
LBB0_6:
	mov	w1, #1051
	bl	_b43legacy_phy_read
	mov	w8, #65505
	and	w2, w0, w8
	mov	x0, x19
	mov	w1, #1051
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1055
	mov	w2, #10362
	bl	_b43legacy_phy_write
	mov	w22, #4
	mov	w23, #65520
	mov	w21, #1056
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_b43legacy_phy_read
	and	w8, w0, w23
	orr	w2, w8, w22
	mov	x0, x19
	mov	x1, x21
	bl	_b43legacy_phy_write
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	w1, #1058
	mov	w2, #10362
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1056
	bl	_b43legacy_phy_read
	mov	w2, #12288
	bfxil	w2, w0, #0, #12
	mov	x0, x19
	mov	w1, #1056
	bl	_b43legacy_phy_write
LBB0_9:
	mov	x0, x19
	mov	w1, #1192
	bl	_b43legacy_phy_read
	mov	w8, #32896
	and	w8, w0, w8
	mov	w9, #30836
	orr	w2, w8, w9
	mov	x0, x19
	mov	w1, #1192
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1166
	mov	w2, #7168
	bl	_b43legacy_phy_write
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #1195
	bl	_b43legacy_phy_read
	mov	w8, #61695
	and	w8, w0, w8
	orr	w2, w8, #0x600
	mov	x0, x19
	mov	w1, #1195
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1163
	mov	w2, #94
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1164
	bl	_b43legacy_phy_read
	and	w8, w0, #0xff00
	orr	w2, w8, #0x1e
	mov	x0, x19
	mov	w1, #1164
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1165
	mov	w2, #2
	bl	_b43legacy_phy_write
LBB0_11:
	add	w1, w20, #2048
	mov	x0, x19
	mov	w2, #0
	bl	_b43legacy_ilt_write
	add	w1, w20, #2049
	mov	x0, x19
	mov	w2, #7
	bl	_b43legacy_ilt_write
	add	w1, w20, #2050
	mov	x0, x19
	mov	w2, #16
	bl	_b43legacy_ilt_write
	add	w1, w20, #2051
	mov	x0, x19
	mov	w2, #28
	bl	_b43legacy_ilt_write
	ldr	w8, [x19]
	cmp	w8, #6
	b.lt	LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #1062
	bl	_b43legacy_phy_read
	and	w2, w0, #0xfffc
	mov	x0, x19
	mov	w1, #1062
	bl	_b43legacy_phy_write
	mov	x0, x19
	mov	w1, #1062
	bl	_b43legacy_phy_read
	mov	w8, #61439
	and	w2, w0, w8
	mov	x0, x19
	mov	w1, #1062
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_b43legacy_phy_write
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_b43legacy_phy_agcsetup
.subsections_via_symbols
