	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92cu_phy_config_bb_with_headerfile ## -- Begin function _rtl92cu_phy_config_bb_with_headerfile
	.p2align	4, 0x90
__rtl92cu_phy_config_bb_with_headerfile: ## @_rtl92cu_phy_config_bb_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movl	(%rax), %edi
	callq	_IS_92C_SERIAL
	testq	%rax, %rax
	movq	_AGCTAB_2T@GOTPCREL(%rip), %rcx
	cmoveq	_AGCTAB_1T@GOTPCREL(%rip), %rcx
	movq	_PHY_REG_2T@GOTPCREL(%rip), %rdx
	cmoveq	_PHY_REG_1T@GOTPCREL(%rip), %rdx
	movq	(%r14), %rax
	movq	_BASEBAND_CONFIG_PHY_REG@GOTPCREL(%rip), %rsi
	cmpq	%r15, (%rsi)
	jne	LBB0_4
## %bb.1:
	movq	(%rdx), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %r13d
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.2:
	movq	8(%rax,%rcx), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15,4), %edi
	callq	_rtl_addr_delay
	movq	_MASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx,%r15,4), %esi
	movl	4(%rbx,%r15,4), %ecx
	movq	%r12, %rdi
	callq	_rtl_set_bbreg
	movl	$1, %edi
	callq	_udelay
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx,%r15,4), %r8d
	movl	4(%rbx,%r15,4), %r9d
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rcx
	callq	_RT_TRACE
	addq	$2, %r15
	cmpl	%r15d, %r13d
	jg	LBB0_3
	jmp	LBB0_8
LBB0_4:
	movq	_BASEBAND_CONFIG_AGC_TAB@GOTPCREL(%rip), %rdx
	cmpq	%r15, (%rdx)
	jne	LBB0_8
## %bb.5:
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %r13d
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.6:
	movq	8(%rax,%rcx), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx,%r15,4), %esi
	movl	4(%rbx,%r15,4), %ecx
	movq	%r12, %rdi
	callq	_rtl_set_bbreg
	movl	$1, %edi
	callq	_udelay
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx,%r15,4), %r8d
	movl	4(%rbx,%r15,4), %r9d
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rcx
	callq	_RT_TRACE
	addq	$2, %r15
	cmpl	%r15d, %r13d
	jg	LBB0_7
LBB0_8:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AGCTAB_2T,8,3                  ## @AGCTAB_2T
	.comm	_PHY_REG_2T,8,3                 ## @PHY_REG_2T
	.comm	_AGCTAB_1T,8,3                  ## @AGCTAB_1T
	.comm	_PHY_REG_1T,8,3                 ## @PHY_REG_1T
	.comm	_BASEBAND_CONFIG_PHY_REG,8,3    ## @BASEBAND_CONFIG_PHY_REG
	.comm	_MASKDWORD,4,2                  ## @MASKDWORD
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The phy_regarray_table[0] is %x Rtl819XPHY_REGARRAY[1] is %x\n"

	.comm	_BASEBAND_CONFIG_AGC_TAB,8,3    ## @BASEBAND_CONFIG_AGC_TAB
L_.str.1:                               ## @.str.1
	.asciz	"The agctab_array_table[0] is %x Rtl819XPHY_REGARRAY[1] is %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92cu_phy_config_bb_with_headerfile ; -- Begin function _rtl92cu_phy_config_bb_with_headerfile
	.p2align	2
__rtl92cu_phy_config_bb_with_headerfile: ; @_rtl92cu_phy_config_bb_with_headerfile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	ldr	w0, [x0]
	bl	_IS_92C_SERIAL
Lloh0:
	adrp	x9, _AGCTAB_1T@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AGCTAB_1T@GOTPAGEOFF]
Lloh2:
	adrp	x10, _AGCTAB_2T@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AGCTAB_2T@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh4:
	adrp	x11, _PHY_REG_1T@GOTPAGE
Lloh5:
	ldr	x11, [x11, _PHY_REG_1T@GOTPAGEOFF]
Lloh6:
	adrp	x12, _PHY_REG_2T@GOTPAGE
Lloh7:
	ldr	x12, [x12, _PHY_REG_2T@GOTPAGEOFF]
	cmp	x0, #0
	csel	x9, x9, x10, eq
	csel	x10, x11, x12, eq
Lloh8:
	adrp	x11, _BASEBAND_CONFIG_PHY_REG@GOTPAGE
Lloh9:
	ldr	x11, [x11, _BASEBAND_CONFIG_PHY_REG@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	cmp	x11, x21
	b.ne	LBB0_4
; %bb.1:
	ldr	x9, [x10]
	add	x8, x8, x9, lsl #4
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x23, #0
	ldr	x24, [x8, #8]
Lloh11:
	adrp	x25, _MASKDWORD@GOTPAGE
Lloh12:
	ldr	x25, [x25, _MASKDWORD@GOTPAGEOFF]
Lloh13:
	adrp	x26, _COMP_INIT@GOTPAGE
Lloh14:
	ldr	x26, [x26, _COMP_INIT@GOTPAGEOFF]
Lloh15:
	adrp	x21, l_.str@PAGE
Lloh16:
	add	x21, x21, l_.str@PAGEOFF
Lloh17:
	adrp	x27, _DBG_TRACE@GOTPAGE
Lloh18:
	ldr	x27, [x27, _DBG_TRACE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x24, x23, lsl #2
	ldr	w0, [x28]
	bl	_rtl_addr_delay
	ldr	w2, [x25]
	ldp	w1, w3, [x28]
	mov	x0, x19
	bl	_rtl_set_bbreg
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldp	w4, w5, [x28]
	mov	x0, x20
	mov	x3, x21
	bl	_RT_TRACE
	add	x23, x23, #2
	cmp	w22, w23
	b.gt	LBB0_3
	b	LBB0_7
LBB0_4:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #4
	ldr	w22, [x8]
Lloh19:
	adrp	x9, _BASEBAND_CONFIG_AGC_TAB@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BASEBAND_CONFIG_AGC_TAB@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x21
	ccmp	w22, #1, #8, eq
	b.lt	LBB0_7
; %bb.5:
	mov	x23, #0
	ldr	x24, [x8, #8]
Lloh22:
	adrp	x25, _MASKDWORD@GOTPAGE
Lloh23:
	ldr	x25, [x25, _MASKDWORD@GOTPAGEOFF]
Lloh24:
	adrp	x26, _COMP_INIT@GOTPAGE
Lloh25:
	ldr	x26, [x26, _COMP_INIT@GOTPAGEOFF]
Lloh26:
	adrp	x21, l_.str.1@PAGE
Lloh27:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh28:
	adrp	x27, _DBG_TRACE@GOTPAGE
Lloh29:
	ldr	x27, [x27, _DBG_TRACE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x24, x23, lsl #2
	ldr	w2, [x25]
	ldp	w1, w3, [x28]
	mov	x0, x19
	bl	_rtl_set_bbreg
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x26]
	ldr	w2, [x27]
	ldp	w4, w5, [x28]
	mov	x0, x20
	mov	x3, x21
	bl	_RT_TRACE
	add	x23, x23, #2
	cmp	w22, w23
	b.gt	LBB0_6
LBB0_7:
	mov	w0, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_AGCTAB_2T,8,3                  ; @AGCTAB_2T
	.comm	_PHY_REG_2T,8,3                 ; @PHY_REG_2T
	.comm	_AGCTAB_1T,8,3                  ; @AGCTAB_1T
	.comm	_PHY_REG_1T,8,3                 ; @PHY_REG_1T
	.comm	_BASEBAND_CONFIG_PHY_REG,8,3    ; @BASEBAND_CONFIG_PHY_REG
	.comm	_MASKDWORD,4,2                  ; @MASKDWORD
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The phy_regarray_table[0] is %x Rtl819XPHY_REGARRAY[1] is %x\n"

	.comm	_BASEBAND_CONFIG_AGC_TAB,8,3    ; @BASEBAND_CONFIG_AGC_TAB
l_.str.1:                               ; @.str.1
	.asciz	"The agctab_array_table[0] is %x Rtl819XPHY_REGARRAY[1] is %x\n"

.subsections_via_symbols
