	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92cu_phy_config_bb_with_pgheaderfile ## -- Begin function _rtl92cu_phy_config_bb_with_pgheaderfile
	.p2align	4, 0x90
__rtl92cu_phy_config_bb_with_pgheaderfile: ## @_rtl92cu_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	$0, 8(%rax)
	movq	_BASEBAND_CONFIG_PHY_REG@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	movq	_PHY_REG_PG@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %r14d
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.2:
	movq	8(%rax,%rcx), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_rtl_addr_delay
	movl	(%r12,%rbx,4), %esi
	movl	4(%r12,%rbx,4), %edx
	movl	8(%r12,%rbx,4), %ecx
	movq	%r15, %rdi
	callq	__rtl92c_store_pwrindex_diffrate_offset
	addq	$3, %rbx
	cmpl	%ebx, %r14d
	jg	LBB0_3
	jmp	LBB0_5
LBB0_4:
	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_5:
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_REG_PG,8,3                 ## @PHY_REG_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"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92cu_phy_config_bb_with_pgheaderfile ; -- Begin function _rtl92cu_phy_config_bb_with_pgheaderfile
	.p2align	2
__rtl92cu_phy_config_bb_with_pgheaderfile: ; @_rtl92cu_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
	str	xzr, [x0, #8]
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_4
; %bb.1:
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _PHY_REG_PG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_REG_PG@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #4
	ldr	w20, [x8]
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
	ldr	x22, [x8, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x22, x21, lsl #2
	ldr	w0, [x23]
	bl	_rtl_addr_delay
	ldp	w1, w2, [x23]
	ldr	w3, [x23, #8]
	mov	x0, x19
	bl	__rtl92c_store_pwrindex_diffrate_offset
	add	x21, x21, #3
	cmp	w20, w21
	b.gt	LBB0_3
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
LBB0_5:
	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	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_REG_PG,8,3                 ; @PHY_REG_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"

.subsections_via_symbols
