	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92c_phy_config_rf_with_headerfile ## -- Begin function rtl92c_phy_config_rf_with_headerfile
	.p2align	4, 0x90
_rtl92c_phy_config_rf_with_headerfile:  ## @rtl92c_phy_config_rf_with_headerfile
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movl	(%rax), %edi
	callq	_IS_92C_SERIAL
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rax, %rbx
	movq	_RADIOA_2TARRAYLENGTH@GOTPCREL(%rip), %rax
	cmoveq	_RADIOA_1TARRAYLENGTH@GOTPCREL(%rip), %rax
	movq	_RTL8192CERADIOA_2TARRAY@GOTPCREL(%rip), %rdx
	cmoveq	_RTL8192CE_RADIOA_1TARRAY@GOTPCREL(%rip), %rdx
	movq	_RADIOB_2TARRAYLENGTH@GOTPCREL(%rip), %rsi
	cmoveq	_RADIOB_1TARRAYLENGTH@GOTPCREL(%rip), %rsi
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdx), %r13
	movl	(%rsi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_RTL8192CE_RADIOB_2TARRAY@GOTPCREL(%rip), %rax
	cmoveq	_RTL8192CE_RADIOB_1TARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%r15, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_1
## %bb.2:
	cmpl	$131, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$130, %ebx
	jne	LBB0_10
## %bb.4:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	jle	LBB0_12
## %bb.5:
	xorl	%ebx, %ebx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movl	(%r14,%rbx,4), %edx
	movl	4(%r14,%rbx,4), %r8d
	movq	%r12, %rdi
	movl	$130, %esi
	callq	_rtl_rfreg_delay
	addq	$2, %rbx
	cmpl	%ebx, %r13d
	jg	LBB0_6
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_11
LBB0_7:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	movl	(%r13,%rbx,4), %edx
	movl	4(%r13,%rbx,4), %r8d
	movq	%r12, %rdi
	movl	$131, %esi
	callq	_rtl_rfreg_delay
	addq	$2, %rbx
	cmpl	%ebx, %r15d
	jg	LBB0_9
	jmp	LBB0_12
LBB0_10:
	leaq	L_.str.6(%rip), %rdi
LBB0_11:
	movl	%ebx, %esi
	callq	_pr_info
LBB0_12:
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIOA_2TARRAYLENGTH,4,2       ## @RADIOA_2TARRAYLENGTH
	.comm	_RTL8192CERADIOA_2TARRAY,8,3    ## @RTL8192CERADIOA_2TARRAY
	.comm	_RADIOB_2TARRAYLENGTH,4,2       ## @RADIOB_2TARRAYLENGTH
	.comm	_RTL8192CE_RADIOB_2TARRAY,8,3   ## @RTL8192CE_RADIOB_2TARRAY
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Radio_A:RTL8192CERADIOA_2TARRAY\n"

L_.str.1:                               ## @.str.1
	.asciz	"Radio_B:RTL8192CE_RADIOB_2TARRAY\n"

	.comm	_RADIOA_1TARRAYLENGTH,4,2       ## @RADIOA_1TARRAYLENGTH
	.comm	_RTL8192CE_RADIOA_1TARRAY,8,3   ## @RTL8192CE_RADIOA_1TARRAY
	.comm	_RADIOB_1TARRAYLENGTH,4,2       ## @RADIOB_1TARRAYLENGTH
	.comm	_RTL8192CE_RADIOB_1TARRAY,8,3   ## @RTL8192CE_RADIOB_1TARRAY
L_.str.2:                               ## @.str.2
	.asciz	"Radio_A:RTL8192CE_RADIOA_1TARRAY\n"

L_.str.3:                               ## @.str.3
	.asciz	"Radio_B:RTL8192CE_RADIOB_1TARRAY\n"

L_.str.4:                               ## @.str.4
	.asciz	"Radio No %x\n"

	.comm	_RFREG_OFFSET_MASK,4,2          ## @RFREG_OFFSET_MASK
L_.str.5:                               ## @.str.5
	.asciz	"Incorrect rfpath %#x\n"

L_.str.6:                               ## @.str.6
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92c_phy_config_rf_with_headerfile ; -- Begin function rtl92c_phy_config_rf_with_headerfile
	.p2align	2
_rtl92c_phy_config_rf_with_headerfile:  ; @rtl92c_phy_config_rf_with_headerfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	ldr	w0, [x0]
	bl	_IS_92C_SERIAL
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x3, x9, x8, eq
Lloh4:
	adrp	x8, l_.str.1@PAGE
Lloh5:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh6:
	adrp	x9, l_.str.3@PAGE
Lloh7:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x22, x9, x8, eq
Lloh8:
	adrp	x8, _RADIOA_1TARRAYLENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RADIOA_1TARRAYLENGTH@GOTPAGEOFF]
Lloh10:
	adrp	x9, _RADIOA_2TARRAYLENGTH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RADIOA_2TARRAYLENGTH@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w23, [x8]
Lloh12:
	adrp	x8, _RTL8192CE_RADIOA_1TARRAY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTL8192CE_RADIOA_1TARRAY@GOTPAGEOFF]
Lloh14:
	adrp	x9, _RTL8192CERADIOA_2TARRAY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _RTL8192CERADIOA_2TARRAY@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x25, [x8]
Lloh16:
	adrp	x8, _RADIOB_1TARRAYLENGTH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RADIOB_1TARRAYLENGTH@GOTPAGEOFF]
Lloh18:
	adrp	x9, _RADIOB_2TARRAYLENGTH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RADIOB_2TARRAYLENGTH@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w24, [x8]
Lloh20:
	adrp	x8, _RTL8192CE_RADIOB_1TARRAY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RTL8192CE_RADIOB_1TARRAY@GOTPAGEOFF]
Lloh22:
	adrp	x9, _RTL8192CE_RADIOB_2TARRAY@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RTL8192CE_RADIOB_2TARRAY@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x26, [x8]
Lloh24:
	adrp	x27, _COMP_INIT@GOTPAGE
Lloh25:
	ldr	x27, [x27, _COMP_INIT@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh26:
	adrp	x28, _DBG_TRACE@GOTPAGE
Lloh27:
	ldr	x28, [x28, _DBG_TRACE@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x21
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x28]
	mov	x0, x21
	mov	x3, x22
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x28]
	str	x20, [sp]
Lloh28:
	adrp	x3, l_.str.4@PAGE
Lloh29:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	sub	w8, w20, #128
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.1:
	cmp	w20, #131
	b.eq	LBB0_7
; %bb.2:
	cmp	w20, #130
	b.ne	LBB0_10
; %bb.3:
	cmp	w24, #1
	b.lt	LBB0_12
; %bb.4:
	mov	x20, #0
Lloh30:
	adrp	x21, _RFREG_OFFSET_MASK@GOTPAGE
Lloh31:
	ldr	x21, [x21, _RFREG_OFFSET_MASK@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x26, x20, lsl #2
	ldr	w3, [x21]
	ldp	w2, w4, [x8]
	mov	x0, x19
	mov	w1, #130
	bl	_rtl_rfreg_delay
	add	x20, x20, #2
	cmp	w24, w20
	b.gt	LBB0_5
	b	LBB0_12
LBB0_6:
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_7:
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.8:
	mov	x20, #0
Lloh34:
	adrp	x21, _RFREG_OFFSET_MASK@GOTPAGE
Lloh35:
	ldr	x21, [x21, _RFREG_OFFSET_MASK@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x25, x20, lsl #2
	ldr	w3, [x21]
	ldp	w2, w4, [x8]
	mov	x0, x19
	mov	w1, #131
	bl	_rtl_rfreg_delay
	add	x20, x20, #2
	cmp	w23, w20
	b.gt	LBB0_9
	b	LBB0_12
LBB0_10:
Lloh36:
	adrp	x0, l_.str.6@PAGE
Lloh37:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_11:
	mov	x1, x20
	bl	_pr_info
LBB0_12:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIOA_2TARRAYLENGTH,4,2       ; @RADIOA_2TARRAYLENGTH
	.comm	_RTL8192CERADIOA_2TARRAY,8,3    ; @RTL8192CERADIOA_2TARRAY
	.comm	_RADIOB_2TARRAYLENGTH,4,2       ; @RADIOB_2TARRAYLENGTH
	.comm	_RTL8192CE_RADIOB_2TARRAY,8,3   ; @RTL8192CE_RADIOB_2TARRAY
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Radio_A:RTL8192CERADIOA_2TARRAY\n"

l_.str.1:                               ; @.str.1
	.asciz	"Radio_B:RTL8192CE_RADIOB_2TARRAY\n"

	.comm	_RADIOA_1TARRAYLENGTH,4,2       ; @RADIOA_1TARRAYLENGTH
	.comm	_RTL8192CE_RADIOA_1TARRAY,8,3   ; @RTL8192CE_RADIOA_1TARRAY
	.comm	_RADIOB_1TARRAYLENGTH,4,2       ; @RADIOB_1TARRAYLENGTH
	.comm	_RTL8192CE_RADIOB_1TARRAY,8,3   ; @RTL8192CE_RADIOB_1TARRAY
l_.str.2:                               ; @.str.2
	.asciz	"Radio_A:RTL8192CE_RADIOA_1TARRAY\n"

l_.str.3:                               ; @.str.3
	.asciz	"Radio_B:RTL8192CE_RADIOB_1TARRAY\n"

l_.str.4:                               ; @.str.4
	.asciz	"Radio No %x\n"

	.comm	_RFREG_OFFSET_MASK,4,2          ; @RFREG_OFFSET_MASK
l_.str.5:                               ; @.str.5
	.asciz	"Incorrect rfpath %#x\n"

l_.str.6:                               ; @.str.6
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols
