	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723e_phy_config_bb_with_headerfile
__rtl8723e_phy_config_bb_with_headerfile: ## @_rtl8723e_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, %r13
	callq	_rtl_priv
	movq	%rax, %r14
	movq	_BASEBAND_CONFIG_PHY_REG@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_13
## %bb.1:
	movq	_RTL8723E_PHY_REG_1TARRAY_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.2:
	movq	_RTL8723EPHY_REG_1TARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_udelay
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx,%r15,4), %esi
	movl	4(%rbx,%r15,4), %ecx
	movq	%r13, %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, %r12d
	jle	LBB0_17
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15,4), %eax
	movl	$-249, %ecx
	addl	%ecx, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$5, %edi
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$50, %edi
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	callq	_mdelay
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$5, %edi
	callq	_mdelay
	jmp	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$50, %edi
	callq	_mdelay
	jmp	LBB0_12
LBB0_13:
	movq	_BASEBAND_CONFIG_AGC_TAB@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_17
## %bb.14:
	movq	_RTL8723E_AGCTAB_1TARRAYLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.15:
	movq	_RTL8723EAGCTAB_1TARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_16:                                ## =>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	%r13, %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, %r12d
	jg	LBB0_16
LBB0_17:
	movl	$1, %eax
	addq	$8, %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_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_RTL8723E_AGCTAB_1TARRAYLENGTH,4,2 ## @RTL8723E_AGCTAB_1TARRAYLENGTH
	.comm	_RTL8723EAGCTAB_1TARRAY,8,3     ## @RTL8723EAGCTAB_1TARRAY
	.comm	_RTL8723E_PHY_REG_1TARRAY_LENGTH,4,2 ## @RTL8723E_PHY_REG_1TARRAY_LENGTH
	.comm	_RTL8723EPHY_REG_1TARRAY,8,3    ## @RTL8723EPHY_REG_1TARRAY
	.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"

	.no_dead_strip	__rtl8723e_phy_config_bb_with_headerfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723e_phy_config_bb_with_headerfile
__rtl8723e_phy_config_bb_with_headerfile: ; @_rtl8723e_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
Lloh0:
	adrp	x8, _BASEBAND_CONFIG_PHY_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BASEBAND_CONFIG_PHY_REG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_13
; %bb.1:
Lloh3:
	adrp	x8, _RTL8723E_PHY_REG_1TARRAY_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTL8723E_PHY_REG_1TARRAY_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.2:
	mov	x23, #0
Lloh6:
	adrp	x8, _RTL8723EPHY_REG_1TARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTL8723EPHY_REG_1TARRAY@GOTPAGEOFF]
Lloh8:
	ldr	x24, [x8]
Lloh9:
	adrp	x25, _MASKDWORD@GOTPAGE
Lloh10:
	ldr	x25, [x25, _MASKDWORD@GOTPAGEOFF]
Lloh11:
	adrp	x26, _COMP_INIT@GOTPAGE
Lloh12:
	ldr	x26, [x26, _COMP_INIT@GOTPAGEOFF]
Lloh13:
	adrp	x27, _DBG_TRACE@GOTPAGE
Lloh14:
	ldr	x27, [x27, _DBG_TRACE@GOTPAGEOFF]
Lloh15:
	adrp	x21, l_.str@PAGE
Lloh16:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_udelay
LBB0_5:                                 ;   in Loop: Header=BB0_6 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.le	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24, x23, lsl #2]
	sub	w8, w8, #249
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh17:
	adrp	x11, lJTI0_0@PAGE
Lloh18:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_3
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #5
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #50
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	bl	_mdelay
	b	LBB0_5
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #5
	bl	_mdelay
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #50
	bl	_mdelay
	b	LBB0_5
LBB0_13:
Lloh19:
	adrp	x8, _RTL8723E_AGCTAB_1TARRAYLENGTH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RTL8723E_AGCTAB_1TARRAYLENGTH@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
Lloh22:
	adrp	x8, _BASEBAND_CONFIG_AGC_TAB@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BASEBAND_CONFIG_AGC_TAB@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x8, x21
	ccmp	w22, #1, #8, eq
	b.lt	LBB0_16
; %bb.14:
	mov	x23, #0
Lloh25:
	adrp	x8, _RTL8723EAGCTAB_1TARRAY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RTL8723EAGCTAB_1TARRAY@GOTPAGEOFF]
Lloh27:
	ldr	x24, [x8]
Lloh28:
	adrp	x25, _MASKDWORD@GOTPAGE
Lloh29:
	ldr	x25, [x25, _MASKDWORD@GOTPAGEOFF]
Lloh30:
	adrp	x26, _COMP_INIT@GOTPAGE
Lloh31:
	ldr	x26, [x26, _COMP_INIT@GOTPAGEOFF]
Lloh32:
	adrp	x27, _DBG_TRACE@GOTPAGE
Lloh33:
	ldr	x27, [x27, _DBG_TRACE@GOTPAGEOFF]
Lloh34:
	adrp	x21, l_.str.1@PAGE
Lloh35:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_15:                                ; =>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_15
LBB0_16:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
                                        ; -- End function
	.comm	_RTL8723E_AGCTAB_1TARRAYLENGTH,4,2 ; @RTL8723E_AGCTAB_1TARRAYLENGTH
	.comm	_RTL8723EAGCTAB_1TARRAY,8,3     ; @RTL8723EAGCTAB_1TARRAY
	.comm	_RTL8723E_PHY_REG_1TARRAY_LENGTH,4,2 ; @RTL8723E_PHY_REG_1TARRAY_LENGTH
	.comm	_RTL8723EPHY_REG_1TARRAY,8,3    ; @RTL8723EPHY_REG_1TARRAY
	.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"

	.no_dead_strip	__rtl8723e_phy_config_bb_with_headerfile
.subsections_via_symbols
