	.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_pgheaderfile
__rtl8723e_phy_config_bb_with_pgheaderfile: ## @_rtl8723e_phy_config_bb_with_pgheaderfile
	.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, %r14
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	_BASEBAND_CONFIG_PHY_REG@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_13
## %bb.1:
	movq	_RTL8723E_PHY_REG_ARRAY_PGLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_14
## %bb.2:
	movq	_RTL8723EPHY_REG_ARRAY_PG@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %r13
	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
	movl	(%r12,%rbx,4), %esi
	movl	4(%r12,%rbx,4), %edx
	movl	8(%r12,%rbx,4), %ecx
	movq	%r15, %rdi
	callq	_store_pwrindex_diffrate_offset
	addq	$3, %rbx
	cmpl	%ebx, %r14d
	jle	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %eax
	movl	$-249, %ecx
	addl	%ecx, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %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	_COMP_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	callq	_RT_TRACE
LBB0_14:
	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_PHY_REG_ARRAY_PGLENGTH,4,2 ## @RTL8723E_PHY_REG_ARRAY_PGLENGTH
	.comm	_RTL8723EPHY_REG_ARRAY_PG,8,3   ## @RTL8723EPHY_REG_ARRAY_PG
	.comm	_BASEBAND_CONFIG_PHY_REG,8,3    ## @BASEBAND_CONFIG_PHY_REG
	.comm	_COMP_SEND,4,2                  ## @COMP_SEND
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"configtype != BaseBand_Config_PHY_REG\n"

	.no_dead_strip	__rtl8723e_phy_config_bb_with_pgheaderfile
.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_pgheaderfile
__rtl8723e_phy_config_bb_with_pgheaderfile: ; @_rtl8723e_phy_config_bb_with_pgheaderfile
	.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	x20, x1
	mov	x19, x0
	bl	_rtl_priv
Lloh0:
	adrp	x8, _BASEBAND_CONFIG_PHY_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BASEBAND_CONFIG_PHY_REG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_13
; %bb.1:
Lloh3:
	adrp	x8, _RTL8723E_PHY_REG_ARRAY_PGLENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTL8723E_PHY_REG_ARRAY_PGLENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	cmp	w20, #1
	b.lt	LBB0_14
; %bb.2:
	mov	x21, #0
Lloh6:
	adrp	x8, _RTL8723EPHY_REG_ARRAY_PG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTL8723EPHY_REG_ARRAY_PG@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
Lloh9:
	adrp	x23, lJTI0_0@PAGE
Lloh10:
	add	x23, x23, lJTI0_0@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	x8, x22, x21, lsl #2
	ldp	w1, w2, [x8]
	ldr	w3, [x8, #8]
	mov	x0, x19
	bl	_store_pwrindex_diffrate_offset
	add	x21, x21, #3
	cmp	w20, w21
	b.le	LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22, x21, lsl #2]
	sub	w8, w8, #249
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x23, 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:
Lloh11:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x3, l_.str@PAGE
Lloh18:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
LBB0_14:
	mov	w0, #1
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.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_PHY_REG_ARRAY_PGLENGTH,4,2 ; @RTL8723E_PHY_REG_ARRAY_PGLENGTH
	.comm	_RTL8723EPHY_REG_ARRAY_PG,8,3   ; @RTL8723EPHY_REG_ARRAY_PG
	.comm	_BASEBAND_CONFIG_PHY_REG,8,3    ; @BASEBAND_CONFIG_PHY_REG
	.comm	_COMP_SEND,4,2                  ; @COMP_SEND
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"configtype != BaseBand_Config_PHY_REG\n"

	.no_dead_strip	__rtl8723e_phy_config_bb_with_pgheaderfile
.subsections_via_symbols
