	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723bu_init_phy_bb
_rtl8723bu_init_phy_bb:                 ## @rtl8723bu_init_phy_bb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_REG_SYS_FUNC@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	callq	_rtl8xxxu_read16
	movq	_SYS_FUNC_BB_GLB_RSTN@GOTPCREL(%rip), %rcx
	movq	_SYS_FUNC_BBRSTB@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movq	_SYS_FUNC_DIO_RF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_rtl8xxxu_write16
	movq	_REG_S0S1_PATH_SWITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtl8xxxu_write32
	movq	_RF_ENABLE@GOTPCREL(%rip), %rax
	movq	_RF_RSTB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_RF_SDMRSTB@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_REG_RF_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_rtl8xxxu_write8
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	movl	$227, %edx
	callq	_rtl8xxxu_write8
	movq	_REG_AFE_XTAL_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	_rtl8xxxu_write8
	movq	_rtl8723b_phy_1t_init_table@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtl8xxxu_init_phy_regs
	movq	_rtl8xxx_agc_8723bu_table@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtl8xxxu_init_phy_regs         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_SYS_FUNC,8,3               ## @REG_SYS_FUNC
	.comm	_SYS_FUNC_BB_GLB_RSTN,4,2       ## @SYS_FUNC_BB_GLB_RSTN
	.comm	_SYS_FUNC_BBRSTB,4,2            ## @SYS_FUNC_BBRSTB
	.comm	_SYS_FUNC_DIO_RF,4,2            ## @SYS_FUNC_DIO_RF
	.comm	_REG_S0S1_PATH_SWITCH,4,2       ## @REG_S0S1_PATH_SWITCH
	.comm	_RF_ENABLE,4,2                  ## @RF_ENABLE
	.comm	_RF_RSTB,4,2                    ## @RF_RSTB
	.comm	_RF_SDMRSTB,4,2                 ## @RF_SDMRSTB
	.comm	_REG_RF_CTRL,8,3                ## @REG_RF_CTRL
	.comm	_REG_AFE_XTAL_CTRL,8,3          ## @REG_AFE_XTAL_CTRL
	.comm	_rtl8723b_phy_1t_init_table,4,2 ## @rtl8723b_phy_1t_init_table
	.comm	_rtl8xxx_agc_8723bu_table,4,2   ## @rtl8xxx_agc_8723bu_table
	.no_dead_strip	_rtl8723bu_init_phy_bb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8723bu_init_phy_bb
_rtl8723bu_init_phy_bb:                 ; @rtl8723bu_init_phy_bb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _REG_SYS_FUNC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_SYS_FUNC@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_rtl8xxxu_read16
Lloh2:
	adrp	x8, _SYS_FUNC_BB_GLB_RSTN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SYS_FUNC_BB_GLB_RSTN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SYS_FUNC_BBRSTB@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SYS_FUNC_BBRSTB@GOTPAGEOFF]
Lloh7:
	adrp	x10, _SYS_FUNC_DIO_RF@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SYS_FUNC_DIO_RF@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w2, w8, w10
	ldr	x1, [x20]
	mov	x0, x19
	bl	_rtl8xxxu_write16
Lloh11:
	adrp	x8, _REG_S0S1_PATH_SWITCH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_S0S1_PATH_SWITCH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl8xxxu_write32
Lloh14:
	adrp	x8, _RF_ENABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RF_ENABLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _RF_RSTB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RF_RSTB@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _RF_SDMRSTB@GOTPAGE
Lloh21:
	ldr	x10, [x10, _RF_SDMRSTB@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh22:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh23:
	adrp	x8, _REG_RF_CTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _REG_RF_CTRL@GOTPAGEOFF]
Lloh25:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_rtl8xxxu_write8
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #227
	bl	_rtl8xxxu_write8
Lloh26:
	adrp	x8, _REG_AFE_XTAL_CTRL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _REG_AFE_XTAL_CTRL@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	add	x1, x8, #1
	mov	x0, x19
	mov	w2, #128
	bl	_rtl8xxxu_write8
Lloh29:
	adrp	x8, _rtl8723b_phy_1t_init_table@GOTPAGE
Lloh30:
	ldr	x8, [x8, _rtl8723b_phy_1t_init_table@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl8xxxu_init_phy_regs
Lloh32:
	adrp	x8, _rtl8xxx_agc_8723bu_table@GOTPAGE
Lloh33:
	ldr	x8, [x8, _rtl8xxx_agc_8723bu_table@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl8xxxu_init_phy_regs
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_SYS_FUNC,8,3               ; @REG_SYS_FUNC
	.comm	_SYS_FUNC_BB_GLB_RSTN,4,2       ; @SYS_FUNC_BB_GLB_RSTN
	.comm	_SYS_FUNC_BBRSTB,4,2            ; @SYS_FUNC_BBRSTB
	.comm	_SYS_FUNC_DIO_RF,4,2            ; @SYS_FUNC_DIO_RF
	.comm	_REG_S0S1_PATH_SWITCH,4,2       ; @REG_S0S1_PATH_SWITCH
	.comm	_RF_ENABLE,4,2                  ; @RF_ENABLE
	.comm	_RF_RSTB,4,2                    ; @RF_RSTB
	.comm	_RF_SDMRSTB,4,2                 ; @RF_SDMRSTB
	.comm	_REG_RF_CTRL,8,3                ; @REG_RF_CTRL
	.comm	_REG_AFE_XTAL_CTRL,8,3          ; @REG_AFE_XTAL_CTRL
	.comm	_rtl8723b_phy_1t_init_table,4,2 ; @rtl8723b_phy_1t_init_table
	.comm	_rtl8xxx_agc_8723bu_table,4,2   ; @rtl8xxx_agc_8723bu_table
	.no_dead_strip	_rtl8723bu_init_phy_bb
.subsections_via_symbols
