	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92d_phy_config_bb_with_pgheaderfile
__rtl92d_phy_config_bb_with_pgheaderfile: ## @_rtl92d_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	_BASEBAND_CONFIG_PHY_REG@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	_PHY_REG_ARRAY_PG_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.2:
	movq	_rtl8192de_phy_reg_array_pg@GOTPCREL(%rip), %rax
	movq	(%rax), %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	__rtl92d_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_ARRAY_PG_LENGTH,4,2    ## @PHY_REG_ARRAY_PG_LENGTH
	.comm	_rtl8192de_phy_reg_array_pg,8,3 ## @rtl8192de_phy_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	__rtl92d_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 _rtl92d_phy_config_bb_with_pgheaderfile
__rtl92d_phy_config_bb_with_pgheaderfile: ; @_rtl92d_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_4
; %bb.1:
Lloh3:
	adrp	x8, _PHY_REG_ARRAY_PG_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHY_REG_ARRAY_PG_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
Lloh6:
	adrp	x8, _rtl8192de_phy_reg_array_pg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rtl8192de_phy_reg_array_pg@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
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	__rtl92d_store_pwrindex_diffrate_offset
	add	x21, x21, #3
	cmp	w20, w21
	b.gt	LBB0_3
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_REG_ARRAY_PG_LENGTH,4,2    ; @PHY_REG_ARRAY_PG_LENGTH
	.comm	_rtl8192de_phy_reg_array_pg,8,3 ; @rtl8192de_phy_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	__rtl92d_phy_config_bb_with_pgheaderfile
.subsections_via_symbols
