	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_bb_config           ## -- Begin function rtl92d_phy_bb_config
	.p2align	4, 0x90
_rtl92d_phy_bb_config:                  ## @rtl92d_phy_bb_config
	.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	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	__rtl92d_phy_init_bb_rf_register_definition
	movq	_REG_SYS_FUNC_EN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_rtl_read_word
	movl	%eax, %r15d
	movq	(%rbx), %r12
	movl	$13, %edi
	callq	_BIT
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	$1, %edi
	callq	_BIT
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_rtl_write_word
	movq	_REG_AFE_PLL_CTRL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	movl	$131, %edx
	callq	_rtl_write_byte
	movq	(%rbx), %rsi
	incq	%rsi
	movq	%r13, %rdi
	movl	$219, %edx
	callq	_rtl_write_byte
	movq	_REG_RF_CTRL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_rtl_read_byte
	movq	_RF_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RF_RSTB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%rbx), %rsi
	movq	_RF_SDMRSTB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_rtl_write_byte
	movq	_FEN_PPLL@GOTPCREL(%rip), %rax
	movq	_FEN_PCIEA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_FEN_DIO_PCIE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_FEN_BB_GLB_RSTN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_REG_SYS_FUNC_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_FEN_BBRSTB@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_rtl_write_byte
	movq	_REG_AFE_XTAL_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	movq	%r13, %rdi
	movl	$128, %edx
	callq	_rtl_write_byte
	movl	(%r13), %edi
	callq	_IS_92D_SINGLEPHY
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_REG_LEDCFG0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rtl_read_dword
	movl	%eax, %ebx
	movl	(%r15), %r15d
	movl	$23, %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_rtl_write_dword
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__rtl92d_phy_bb_config          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SYS_FUNC_EN,8,3            ## @REG_SYS_FUNC_EN
	.comm	_REG_AFE_PLL_CTRL,8,3           ## @REG_AFE_PLL_CTRL
	.comm	_REG_RF_CTRL,8,3                ## @REG_RF_CTRL
	.comm	_RF_EN,4,2                      ## @RF_EN
	.comm	_RF_RSTB,4,2                    ## @RF_RSTB
	.comm	_RF_SDMRSTB,4,2                 ## @RF_SDMRSTB
	.comm	_FEN_PPLL,4,2                   ## @FEN_PPLL
	.comm	_FEN_PCIEA,4,2                  ## @FEN_PCIEA
	.comm	_FEN_DIO_PCIE,4,2               ## @FEN_DIO_PCIE
	.comm	_FEN_BB_GLB_RSTN,4,2            ## @FEN_BB_GLB_RSTN
	.comm	_FEN_BBRSTB,4,2                 ## @FEN_BBRSTB
	.comm	_REG_AFE_XTAL_CTRL,8,3          ## @REG_AFE_XTAL_CTRL
	.comm	_REG_LEDCFG0,4,2                ## @REG_LEDCFG0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_bb_config           ; -- Begin function rtl92d_phy_bb_config
	.p2align	2
_rtl92d_phy_bb_config:                  ; @rtl92d_phy_bb_config
	.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	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	__rtl92d_phy_init_bb_rf_register_definition
Lloh0:
	adrp	x23, _REG_SYS_FUNC_EN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _REG_SYS_FUNC_EN@GOTPAGEOFF]
	ldr	x1, [x23]
	mov	x0, x20
	bl	_rtl_read_word
	mov	x21, x0
	ldr	x22, [x23]
	mov	w0, #13
	bl	_BIT
	orr	w21, w0, w21
	mov	w0, #0
	bl	_BIT
	orr	w21, w21, w0
	mov	w0, #1
	bl	_BIT
	orr	w2, w21, w0
	mov	x0, x20
	mov	x1, x22
	bl	_rtl_write_word
Lloh2:
	adrp	x21, _REG_AFE_PLL_CTRL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REG_AFE_PLL_CTRL@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x20
	mov	w2, #131
	bl	_rtl_write_byte
	ldr	x8, [x21]
	add	x1, x8, #1
	mov	x0, x20
	mov	w2, #219
	bl	_rtl_write_byte
Lloh4:
	adrp	x21, _REG_RF_CTRL@GOTPAGE
Lloh5:
	ldr	x21, [x21, _REG_RF_CTRL@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x20
	bl	_rtl_read_byte
	ldr	x1, [x21]
Lloh6:
	adrp	x8, _RF_EN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF_EN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh9:
	adrp	x9, _RF_RSTB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RF_RSTB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _RF_SDMRSTB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RF_SDMRSTB@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_rtl_write_byte
Lloh15:
	adrp	x8, _FEN_PPLL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FEN_PPLL@GOTPAGEOFF]
	ldr	x1, [x23]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _FEN_PCIEA@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FEN_PCIEA@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _FEN_DIO_PCIE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FEN_DIO_PCIE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _FEN_BB_GLB_RSTN@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FEN_BB_GLB_RSTN@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _FEN_BBRSTB@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FEN_BBRSTB@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_rtl_write_byte
Lloh30:
	adrp	x8, _REG_AFE_XTAL_CTRL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _REG_AFE_XTAL_CTRL@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	add	x1, x8, #1
	mov	x0, x20
	mov	w2, #128
	bl	_rtl_write_byte
	ldr	w0, [x20]
	bl	_IS_92D_SINGLEPHY
	cbnz	w0, LBB0_2
; %bb.1:
Lloh33:
	adrp	x22, _REG_LEDCFG0@GOTPAGE
Lloh34:
	ldr	x22, [x22, _REG_LEDCFG0@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_rtl_read_dword
	mov	x21, x0
	ldr	w22, [x22]
	mov	w0, #23
	bl	_BIT
	orr	w2, w0, w21
	mov	x0, x20
	mov	x1, x22
	bl	_rtl_write_dword
LBB0_2:
	mov	x0, x19
	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
	b	__rtl92d_phy_bb_config
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_SYS_FUNC_EN,8,3            ; @REG_SYS_FUNC_EN
	.comm	_REG_AFE_PLL_CTRL,8,3           ; @REG_AFE_PLL_CTRL
	.comm	_REG_RF_CTRL,8,3                ; @REG_RF_CTRL
	.comm	_RF_EN,4,2                      ; @RF_EN
	.comm	_RF_RSTB,4,2                    ; @RF_RSTB
	.comm	_RF_SDMRSTB,4,2                 ; @RF_SDMRSTB
	.comm	_FEN_PPLL,4,2                   ; @FEN_PPLL
	.comm	_FEN_PCIEA,4,2                  ; @FEN_PCIEA
	.comm	_FEN_DIO_PCIE,4,2               ; @FEN_DIO_PCIE
	.comm	_FEN_BB_GLB_RSTN,4,2            ; @FEN_BB_GLB_RSTN
	.comm	_FEN_BBRSTB,4,2                 ; @FEN_BBRSTB
	.comm	_REG_AFE_XTAL_CTRL,8,3          ; @REG_AFE_XTAL_CTRL
	.comm	_REG_LEDCFG0,4,2                ; @REG_LEDCFG0
.subsections_via_symbols
