	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm8211_rf_set_channel
_adm8211_rf_set_channel:                ## @adm8211_rf_set_channel
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movl	(%r13), %r12d
	cmpl	$64, %r12d
	jl	LBB0_2
## %bb.1:
	movq	32(%r13), %rax
	movq	(%rax), %rax
	leal	-1(%rbx), %ecx
	movl	(%rax,%rcx,4), %r12d
LBB0_2:
	movl	4(%r13), %r15d
	cmpl	$64, %r15d
	jl	LBB0_4
## %bb.3:
	movq	32(%r13), %rax
	movq	8(%rax), %rax
	leal	-1(%rbx), %ecx
	movl	(%rax,%rcx,4), %r15d
LBB0_4:
	movl	8(%r13), %eax
	cmpl	$255, %eax
	jne	LBB0_6
## %bb.5:
	movq	32(%r13), %rax
	movq	16(%rax), %rax
	leal	-1(%rbx), %ecx
	movl	(%rax,%rcx,4), %eax
LBB0_6:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	12(%r13), %eax
	cmpl	$255, %eax
	jne	LBB0_8
## %bb.7:
	movq	32(%r13), %rax
	movq	24(%rax), %rax
	leal	-1(%rbx), %ecx
	movl	(%rax,%rcx,4), %eax
LBB0_8:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_ADM8211_IDLE
	movslq	16(%r13), %rdx
	leal	-128(%rdx), %eax
	cmpl	$4, %eax
	ja	LBB0_14
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16391, %edx                    ## imm = 0x4007
	callq	_adm8211_rf_write_syn_rfmd2958
	movq	%r14, %rdi
	movl	$2, %esi
	movl	$51, %edx
	callq	_adm8211_rf_write_syn_rfmd2958
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %r12d
	leal	-1(%rbx), %r15d
	leaq	_adm8211_rf_set_channel.adm8211_rfmd2958_reg5(%rip), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_adm8211_rf_write_syn_rfmd2958
	leaq	_adm8211_rf_set_channel.adm8211_rfmd2958_reg6(%rip), %rax
	movl	(%rax,%r15,4), %edx
	movl	%r12d, %r15d
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_adm8211_rf_write_syn_rfmd2958
	jmp	LBB0_15
LBB0_14:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wiphy_debug
	jmp	LBB0_15
LBB0_11:
	movq	_SI4126_MAIN_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SI4126_MAIN_XINDIV2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_adm8211_rf_write_syn_rfmd2948
	movq	_SI4126_POWERDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SI4126_POWERDOWN_PDIB@GOTPCREL(%rip), %rax
	movq	_SI4126_POWERDOWN_PDRB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_adm8211_rf_write_syn_rfmd2948
	movq	_SI4126_PHASE_DET_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_adm8211_rf_write_syn_rfmd2948
	movq	_SI4126_RF2_N_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	$14, %ebx
	leal	2033(%rbx,%rbx,4), %eax
	movl	$2110, %edx                     ## imm = 0x83E
	cmovnel	%eax, %edx
	movq	%r14, %rdi
	callq	_adm8211_rf_write_syn_rfmd2948
	movq	_SI4126_IF_N_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1496, %edx                     ## imm = 0x5D8
	callq	_adm8211_rf_write_syn_rfmd2948
	movq	_SI4126_RF2_R_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$44, %edx
	callq	_adm8211_rf_write_syn_rfmd2948
	movq	_SI4126_IF_R_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$44, %edx
	callq	_adm8211_rf_write_syn_rfmd2948
	jmp	LBB0_15
LBB0_12:
	cmpl	$14, %ebx
	leal	7(%rbx,%rbx,4), %eax
	movl	$84, %edx
	cmovnel	%eax, %edx
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_adm8211_rf_write_syn_max2820
	jmp	LBB0_15
LBB0_13:
	cmpl	$14, %ebx
	leal	141671(%rbx,%rbx,4), %eax
	movl	$141748, %edx                   ## imm = 0x229B4
	cmovnel	%eax, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_adm8211_rf_write_syn_al2210l
LBB0_15:
	movq	24(%r13), %rdx
	movq	_ADM8211_TYPE_RFMD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_28
## %bb.16:
	movl	16(%r13), %eax
	cmpl	$130, %eax
	jne	LBB0_20
## %bb.17:
	movq	_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ADM8211_CSR_READ
	andl	$-262144, %eax                  ## imm = 0xFFFC0000
	movq	_ADM8211_CSR_GPIO_EN0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%ecx, %ecx
	cmpl	$14, %ebx
	je	LBB0_19
## %bb.18:
	movq	_ADM8211_CSR_GPIO_O0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_19:
	orl	%ecx, %eax
	movq	_GPIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_ADM8211_CSR_WRITE
	movl	16(%r13), %eax
LBB0_20:
	cmpl	$129, %eax
	jne	LBB0_22
## %bb.21:
	movq	%r14, %rdi
	movl	$11, %esi
	movl	$28928, %edx                    ## imm = 0x7100
	callq	_adm8211_rf_write_syn_rfmd2958
	movq	32(%r13), %rax
	movl	40(%rax), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %eax
	andl	$-32768, %eax                   ## imm = 0x8000
	shll	$9, %r12d
	orl	%eax, %r12d
	movq	%r14, %rdi
	movl	$10, %esi
	movl	%r12d, %edx
	callq	_adm8211_rf_write_syn_rfmd2958
	movq	40(%r13), %rax
	movq	(%rax), %rax
	movq	_ADM8211_REV_CA@GOTPCREL(%rip), %rcx
	movl	%r15d, %esi
	orl	$80, %esi
	cmpq	(%rcx), %rax
	movl	$80, %edx
	cmovll	%esi, %edx
	movq	%r14, %rdi
	movl	$9, %esi
	callq	_adm8211_rf_write_syn_rfmd2958
	jmp	LBB0_23
LBB0_28:
	movq	_ADM8211_TYPE_ADMTEK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_30
## %bb.29:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wiphy_debug
	jmp	LBB0_30
LBB0_22:
	movl	%r15d, %ebx
	movq	_PLCPHD@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_ADM8211_CSR_READ
	andl	$-16711681, %eax                ## imm = 0xFF00FFFF
	movl	%ebx, %esi
	shll	$18, %esi
	orl	%eax, %esi
	movl	(%r15), %edi
	movl	%ebx, %r15d
	callq	_ADM8211_CSR_WRITE
LBB0_23:
	movq	_SYNRF@GOTPCREL(%rip), %rbx
	movq	_ADM8211_SYNRF_SELRF@GOTPCREL(%rip), %rax
	movq	_ADM8211_SYNRF_PE1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%rbx), %edi
	movq	_ADM8211_SYNRF_PHYRST@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_ADM8211_CSR_WRITE
	movl	(%rbx), %edi
	callq	_ADM8211_CSR_READ
	movl	$30, %edi
	callq	_msleep
	cmpl	$129, 16(%r13)
	je	LBB0_25
## %bb.24:
	movq	_RF3000_TX_VAR_GAIN__TX_LEN_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %r15d
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_adm8211_write_bbp
LBB0_25:
	movq	_RF3000_LOW_GAIN_CALIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_adm8211_write_bbp
	movq	_RF3000_HIGH_GAIN_CALIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_adm8211_write_bbp
	movq	40(%r13), %rax
	movq	(%rax), %rax
	movq	_ADM8211_REV_BA@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.26:
	movq	32(%r13), %rax
	movl	32(%rax), %edx
LBB0_27:
	movq	%r14, %rdi
	movl	$28, %esi
	callq	_adm8211_write_bbp
	movq	32(%r13), %rax
	movl	36(%rax), %edx
	movq	%r14, %rdi
	movl	$29, %esi
	callq	_adm8211_write_bbp
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_ADM8211_CSR_WRITE
LBB0_30:
	xorl	%eax, %eax
	callq	_ADM8211_RESTORE
	movq	_CAP0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ADM8211_CSR_READ
	andl	$-16, %eax
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	orl	%eax, %esi
	movl	(%rbx), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ADM8211_CSR_WRITE
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @adm8211_rf_set_channel.adm8211_rfmd2958_reg5
_adm8211_rf_set_channel.adm8211_rfmd2958_reg5:
	.long	8893                            ## 0x22bd
	.long	8914                            ## 0x22d2
	.long	8936                            ## 0x22e8
	.long	8958                            ## 0x22fe
	.long	8980                            ## 0x2314
	.long	9002                            ## 0x232a
	.long	9024                            ## 0x2340
	.long	9045                            ## 0x2355
	.long	9067                            ## 0x236b
	.long	9089                            ## 0x2381
	.long	9111                            ## 0x2397
	.long	9133                            ## 0x23ad
	.long	9154                            ## 0x23c2
	.long	9207                            ## 0x23f7

	.p2align	4                               ## @adm8211_rf_set_channel.adm8211_rfmd2958_reg6
_adm8211_rf_set_channel.adm8211_rfmd2958_reg6:
	.long	23831                           ## 0x5d17
	.long	238312                          ## 0x3a2e8
	.long	190650                          ## 0x2e8ba
	.long	142987                          ## 0x22e8b
	.long	95325                           ## 0x1745d
	.long	47662                           ## 0xba2e
	.long	0                               ## 0x0
	.long	214481                          ## 0x345d1
	.long	166818                          ## 0x28ba2
	.long	119156                          ## 0x1d174
	.long	71493                           ## 0x11745
	.long	23831                           ## 0x5d17
	.long	238312                          ## 0x3a2e8
	.long	71493                           ## 0x11745

	.comm	_SI4126_MAIN_CONF,4,2           ## @SI4126_MAIN_CONF
	.comm	_SI4126_MAIN_XINDIV2,4,2        ## @SI4126_MAIN_XINDIV2
	.comm	_SI4126_POWERDOWN,4,2           ## @SI4126_POWERDOWN
	.comm	_SI4126_POWERDOWN_PDIB,4,2      ## @SI4126_POWERDOWN_PDIB
	.comm	_SI4126_POWERDOWN_PDRB,4,2      ## @SI4126_POWERDOWN_PDRB
	.comm	_SI4126_PHASE_DET_GAIN,4,2      ## @SI4126_PHASE_DET_GAIN
	.comm	_SI4126_RF2_N_DIV,4,2           ## @SI4126_RF2_N_DIV
	.comm	_SI4126_IF_N_DIV,4,2            ## @SI4126_IF_N_DIV
	.comm	_SI4126_RF2_R_DIV,4,2           ## @SI4126_RF2_R_DIV
	.comm	_SI4126_IF_R_DIV,4,2            ## @SI4126_IF_R_DIV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported transceiver type %d\n"

	.comm	_ADM8211_TYPE_RFMD,8,3          ## @ADM8211_TYPE_RFMD
	.comm	_GPIO,4,2                       ## @GPIO
	.comm	_ADM8211_CSR_GPIO_EN0,4,2       ## @ADM8211_CSR_GPIO_EN0
	.comm	_ADM8211_CSR_GPIO_O0,4,2        ## @ADM8211_CSR_GPIO_O0
	.comm	_ADM8211_REV_CA,8,3             ## @ADM8211_REV_CA
	.comm	_PLCPHD,4,2                     ## @PLCPHD
	.comm	_SYNRF,4,2                      ## @SYNRF
	.comm	_ADM8211_SYNRF_SELRF,4,2        ## @ADM8211_SYNRF_SELRF
	.comm	_ADM8211_SYNRF_PE1,4,2          ## @ADM8211_SYNRF_PE1
	.comm	_ADM8211_SYNRF_PHYRST,4,2       ## @ADM8211_SYNRF_PHYRST
	.comm	_RF3000_TX_VAR_GAIN__TX_LEN_EXT,4,2 ## @RF3000_TX_VAR_GAIN__TX_LEN_EXT
	.comm	_RF3000_LOW_GAIN_CALIB,4,2      ## @RF3000_LOW_GAIN_CALIB
	.comm	_RF3000_HIGH_GAIN_CALIB,4,2     ## @RF3000_HIGH_GAIN_CALIB
	.comm	_ADM8211_REV_BA,8,3             ## @ADM8211_REV_BA
	.comm	_ADM8211_TYPE_ADMTEK,8,3        ## @ADM8211_TYPE_ADMTEK
L_.str.1:                               ## @.str.1
	.asciz	"unsupported BBP type %d\n"

	.comm	_CAP0,4,2                       ## @CAP0
	.no_dead_strip	_adm8211_rf_set_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm8211_rf_set_channel
_adm8211_rf_set_channel:                ; @adm8211_rf_set_channel
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #8]
	ldr	w25, [x23]
	cmp	w25, #64
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x23, #32]
	ldr	x8, [x8]
	sub	w9, w19, #1
	ldr	w25, [x8, w9, uxtw #2]
LBB0_2:
	ldr	w24, [x23, #4]
	cmp	w24, #64
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x23, #32]
	ldr	x8, [x8, #8]
	sub	w9, w19, #1
	ldr	w24, [x8, w9, uxtw #2]
LBB0_4:
	ldr	w21, [x23, #8]
	cmp	w21, #255
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x23, #32]
	ldr	x8, [x8, #16]
	sub	w9, w19, #1
	ldr	w21, [x8, w9, uxtw #2]
LBB0_6:
	ldr	w22, [x23, #12]
	cmp	w22, #255
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x23, #32]
	ldr	x8, [x8, #24]
	sub	w9, w19, #1
	ldr	w22, [x8, w9, uxtw #2]
LBB0_8:
	bl	_ADM8211_IDLE
	ldrsw	x2, [x23, #16]
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_11
; %bb.9:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16391
	bl	_adm8211_rf_write_syn_rfmd2958
	mov	x0, x20
	mov	w1, #2
	mov	w2, #51
	bl	_adm8211_rf_write_syn_rfmd2958
	sub	w8, w19, #1
	lsl	x26, x8, #2
Lloh2:
	adrp	x8, _adm8211_rf_set_channel.adm8211_rfmd2958_reg5@PAGE
Lloh3:
	add	x8, x8, _adm8211_rf_set_channel.adm8211_rfmd2958_reg5@PAGEOFF
	ldr	w2, [x8, x26]
	mov	x0, x20
	mov	w1, #5
	bl	_adm8211_rf_write_syn_rfmd2958
Lloh4:
	adrp	x8, _adm8211_rf_set_channel.adm8211_rfmd2958_reg6@PAGE
Lloh5:
	add	x8, x8, _adm8211_rf_set_channel.adm8211_rfmd2958_reg6@PAGEOFF
	ldr	w2, [x8, x26]
	mov	x0, x20
	mov	w1, #6
	bl	_adm8211_rf_write_syn_rfmd2958
	b	LBB0_15
LBB0_11:
	ldr	w0, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wiphy_debug
	b	LBB0_15
LBB0_12:
Lloh8:
	adrp	x8, _SI4126_MAIN_CONF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SI4126_MAIN_CONF@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _SI4126_MAIN_XINDIV2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SI4126_MAIN_XINDIV2@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_adm8211_rf_write_syn_rfmd2948
Lloh14:
	adrp	x8, _SI4126_POWERDOWN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SI4126_POWERDOWN@GOTPAGEOFF]
Lloh16:
	adrp	x9, _SI4126_POWERDOWN_PDIB@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SI4126_POWERDOWN_PDIB@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	ldr	w8, [x9]
Lloh20:
	adrp	x9, _SI4126_POWERDOWN_PDRB@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SI4126_POWERDOWN_PDRB@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_adm8211_rf_write_syn_rfmd2948
Lloh23:
	adrp	x8, _SI4126_PHASE_DET_GAIN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SI4126_PHASE_DET_GAIN@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_adm8211_rf_write_syn_rfmd2948
Lloh26:
	adrp	x8, _SI4126_RF2_N_DIV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SI4126_RF2_N_DIV@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	add	w8, w19, w19, lsl #2
	add	w8, w8, #2033
	mov	w9, #2110
	cmp	w19, #14
	csel	w2, w9, w8, eq
	mov	x0, x20
	bl	_adm8211_rf_write_syn_rfmd2948
Lloh29:
	adrp	x8, _SI4126_IF_N_DIV@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SI4126_IF_N_DIV@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1496
	bl	_adm8211_rf_write_syn_rfmd2948
Lloh32:
	adrp	x8, _SI4126_RF2_R_DIV@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SI4126_RF2_R_DIV@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #44
	bl	_adm8211_rf_write_syn_rfmd2948
Lloh35:
	adrp	x8, _SI4126_IF_R_DIV@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SI4126_IF_R_DIV@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #44
	bl	_adm8211_rf_write_syn_rfmd2948
	b	LBB0_15
LBB0_13:
	add	w8, w19, w19, lsl #2
	add	w8, w8, #7
	mov	w9, #84
	cmp	w19, #14
	csel	w2, w9, w8, eq
	mov	x0, x20
	mov	w1, #3
	bl	_adm8211_rf_write_syn_max2820
	b	LBB0_15
LBB0_14:
	add	w8, w19, w19, lsl #2
	mov	w9, #10599
	movk	w9, #2, lsl #16
	add	w8, w8, w9
	add	w9, w9, #77
	cmp	w19, #14
	csel	w2, w9, w8, eq
	mov	x0, x20
	mov	w1, #0
	bl	_adm8211_rf_write_syn_al2210l
LBB0_15:
	ldr	x2, [x23, #24]
Lloh38:
	adrp	x8, _ADM8211_TYPE_RFMD@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ADM8211_TYPE_RFMD@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_20
; %bb.16:
	ldr	w8, [x23, #16]
	cmp	w8, #130
	b.ne	LBB0_18
; %bb.17:
Lloh41:
	adrp	x26, _GPIO@GOTPAGE
Lloh42:
	ldr	x26, [x26, _GPIO@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_ADM8211_CSR_READ
	and	w8, w0, #0xfffc0000
Lloh43:
	adrp	x9, _ADM8211_CSR_GPIO_EN0@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ADM8211_CSR_GPIO_EN0@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x10, _ADM8211_CSR_GPIO_O0@GOTPAGE
Lloh47:
	ldr	x10, [x10, _ADM8211_CSR_GPIO_O0@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh48:
	ldr	w9, [x10]
	cmp	w19, #14
	csel	w9, wzr, w9, eq
	orr	w1, w8, w9
	ldr	w0, [x26]
	bl	_ADM8211_CSR_WRITE
	ldr	w8, [x23, #16]
LBB0_18:
	cmp	w8, #129
	b.ne	LBB0_22
; %bb.19:
	mov	x0, x20
	mov	w1, #11
	mov	w2, #28928
	bl	_adm8211_rf_write_syn_rfmd2958
	ldr	x8, [x23, #32]
	ldr	w0, [x8, #40]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	and	w8, w8, #0xffff8000
	orr	w2, w8, w25, lsl #9
	mov	x0, x20
	mov	w1, #10
	bl	_adm8211_rf_write_syn_rfmd2958
	ldr	x8, [x23, #40]
Lloh49:
	adrp	x9, _ADM8211_REV_CA@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ADM8211_REV_CA@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh51:
	ldr	x9, [x9]
	mov	w10, #80
	orr	w11, w24, w10
	cmp	x8, x9
	csel	w2, w11, w10, lt
	mov	x0, x20
	mov	w1, #9
	bl	_adm8211_rf_write_syn_rfmd2958
	b	LBB0_23
LBB0_20:
Lloh52:
	adrp	x8, _ADM8211_TYPE_ADMTEK@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ADM8211_TYPE_ADMTEK@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	cmp	x2, x8
	b.eq	LBB0_29
; %bb.21:
	ldr	w0, [x20]
Lloh55:
	adrp	x1, l_.str.1@PAGE
Lloh56:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wiphy_debug
	b	LBB0_29
LBB0_22:
Lloh57:
	adrp	x25, _PLCPHD@GOTPAGE
Lloh58:
	ldr	x25, [x25, _PLCPHD@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_ADM8211_CSR_READ
	and	w8, w0, #0xff00ffff
	orr	w1, w8, w24, lsl #18
	ldr	w0, [x25]
	bl	_ADM8211_CSR_WRITE
LBB0_23:
Lloh59:
	adrp	x25, _SYNRF@GOTPAGE
Lloh60:
	ldr	x25, [x25, _SYNRF@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh61:
	adrp	x8, _ADM8211_SYNRF_SELRF@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ADM8211_SYNRF_SELRF@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _ADM8211_SYNRF_PE1@GOTPAGE
Lloh65:
	ldr	x9, [x9, _ADM8211_SYNRF_PE1@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _ADM8211_SYNRF_PHYRST@GOTPAGE
Lloh68:
	ldr	x9, [x9, _ADM8211_SYNRF_PHYRST@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_ADM8211_CSR_WRITE
	ldr	w0, [x25]
	bl	_ADM8211_CSR_READ
	mov	w0, #30
	bl	_msleep
	ldr	w8, [x23, #16]
	cmp	w8, #129
	b.eq	LBB0_25
; %bb.24:
Lloh70:
	adrp	x8, _RF3000_TX_VAR_GAIN__TX_LEN_EXT@GOTPAGE
Lloh71:
	ldr	x8, [x8, _RF3000_TX_VAR_GAIN__TX_LEN_EXT@GOTPAGEOFF]
Lloh72:
	ldr	w1, [x8]
	lsl	w2, w24, #2
	mov	x0, x20
	bl	_adm8211_write_bbp
LBB0_25:
Lloh73:
	adrp	x8, _RF3000_LOW_GAIN_CALIB@GOTPAGE
Lloh74:
	ldr	x8, [x8, _RF3000_LOW_GAIN_CALIB@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_adm8211_write_bbp
Lloh76:
	adrp	x8, _RF3000_HIGH_GAIN_CALIB@GOTPAGE
Lloh77:
	ldr	x8, [x8, _RF3000_HIGH_GAIN_CALIB@GOTPAGEOFF]
Lloh78:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_adm8211_write_bbp
	ldr	x8, [x23, #40]
	ldr	x8, [x8]
Lloh79:
	adrp	x9, _ADM8211_REV_BA@GOTPAGE
Lloh80:
	ldr	x9, [x9, _ADM8211_REV_BA@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.26:
	ldr	x8, [x23, #32]
	ldr	w2, [x8, #32]
	b	LBB0_28
LBB0_27:
	mov	w2, #0
LBB0_28:
	mov	x0, x20
	mov	w1, #28
	bl	_adm8211_write_bbp
	ldr	x8, [x23, #32]
	ldr	w2, [x8, #36]
	mov	x0, x20
	mov	w1, #29
	bl	_adm8211_write_bbp
	ldr	w0, [x25]
	mov	w1, #0
	bl	_ADM8211_CSR_WRITE
LBB0_29:
	bl	_ADM8211_RESTORE
Lloh82:
	adrp	x20, _CAP0@GOTPAGE
Lloh83:
	ldr	x20, [x20, _CAP0@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ADM8211_CSR_READ
	and	w8, w0, #0xfffffff0
	orr	w1, w8, w19
	ldr	w0, [x20]
	bl	_ADM8211_CSR_WRITE
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh82, Lloh83
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
                                        ; -- End function
	.p2align	2                               ; @adm8211_rf_set_channel.adm8211_rfmd2958_reg5
_adm8211_rf_set_channel.adm8211_rfmd2958_reg5:
	.long	8893                            ; 0x22bd
	.long	8914                            ; 0x22d2
	.long	8936                            ; 0x22e8
	.long	8958                            ; 0x22fe
	.long	8980                            ; 0x2314
	.long	9002                            ; 0x232a
	.long	9024                            ; 0x2340
	.long	9045                            ; 0x2355
	.long	9067                            ; 0x236b
	.long	9089                            ; 0x2381
	.long	9111                            ; 0x2397
	.long	9133                            ; 0x23ad
	.long	9154                            ; 0x23c2
	.long	9207                            ; 0x23f7

	.p2align	2                               ; @adm8211_rf_set_channel.adm8211_rfmd2958_reg6
_adm8211_rf_set_channel.adm8211_rfmd2958_reg6:
	.long	23831                           ; 0x5d17
	.long	238312                          ; 0x3a2e8
	.long	190650                          ; 0x2e8ba
	.long	142987                          ; 0x22e8b
	.long	95325                           ; 0x1745d
	.long	47662                           ; 0xba2e
	.long	0                               ; 0x0
	.long	214481                          ; 0x345d1
	.long	166818                          ; 0x28ba2
	.long	119156                          ; 0x1d174
	.long	71493                           ; 0x11745
	.long	23831                           ; 0x5d17
	.long	238312                          ; 0x3a2e8
	.long	71493                           ; 0x11745

	.comm	_SI4126_MAIN_CONF,4,2           ; @SI4126_MAIN_CONF
	.comm	_SI4126_MAIN_XINDIV2,4,2        ; @SI4126_MAIN_XINDIV2
	.comm	_SI4126_POWERDOWN,4,2           ; @SI4126_POWERDOWN
	.comm	_SI4126_POWERDOWN_PDIB,4,2      ; @SI4126_POWERDOWN_PDIB
	.comm	_SI4126_POWERDOWN_PDRB,4,2      ; @SI4126_POWERDOWN_PDRB
	.comm	_SI4126_PHASE_DET_GAIN,4,2      ; @SI4126_PHASE_DET_GAIN
	.comm	_SI4126_RF2_N_DIV,4,2           ; @SI4126_RF2_N_DIV
	.comm	_SI4126_IF_N_DIV,4,2            ; @SI4126_IF_N_DIV
	.comm	_SI4126_RF2_R_DIV,4,2           ; @SI4126_RF2_R_DIV
	.comm	_SI4126_IF_R_DIV,4,2            ; @SI4126_IF_R_DIV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported transceiver type %d\n"

	.comm	_ADM8211_TYPE_RFMD,8,3          ; @ADM8211_TYPE_RFMD
	.comm	_GPIO,4,2                       ; @GPIO
	.comm	_ADM8211_CSR_GPIO_EN0,4,2       ; @ADM8211_CSR_GPIO_EN0
	.comm	_ADM8211_CSR_GPIO_O0,4,2        ; @ADM8211_CSR_GPIO_O0
	.comm	_ADM8211_REV_CA,8,3             ; @ADM8211_REV_CA
	.comm	_PLCPHD,4,2                     ; @PLCPHD
	.comm	_SYNRF,4,2                      ; @SYNRF
	.comm	_ADM8211_SYNRF_SELRF,4,2        ; @ADM8211_SYNRF_SELRF
	.comm	_ADM8211_SYNRF_PE1,4,2          ; @ADM8211_SYNRF_PE1
	.comm	_ADM8211_SYNRF_PHYRST,4,2       ; @ADM8211_SYNRF_PHYRST
	.comm	_RF3000_TX_VAR_GAIN__TX_LEN_EXT,4,2 ; @RF3000_TX_VAR_GAIN__TX_LEN_EXT
	.comm	_RF3000_LOW_GAIN_CALIB,4,2      ; @RF3000_LOW_GAIN_CALIB
	.comm	_RF3000_HIGH_GAIN_CALIB,4,2     ; @RF3000_HIGH_GAIN_CALIB
	.comm	_ADM8211_REV_BA,8,3             ; @ADM8211_REV_BA
	.comm	_ADM8211_TYPE_ADMTEK,8,3        ; @ADM8211_TYPE_ADMTEK
l_.str.1:                               ; @.str.1
	.asciz	"unsupported BBP type %d\n"

	.comm	_CAP0,4,2                       ; @CAP0
	.no_dead_strip	_adm8211_rf_set_channel
.subsections_via_symbols
