	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_enable_anotherphy   ## -- Begin function rtl92d_phy_enable_anotherphy
	.p2align	4, 0x90
_rtl92d_phy_enable_anotherphy:          ## @rtl92d_phy_enable_anotherphy
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r13
	movl	$3, %edi
	callq	_BIT
	movl	%eax, %r15d
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	$2, %edi
	callq	_BIT
	orl	%eax, %r15d
LBB0_2:
	testl	%ebx, %ebx
	movq	_REG_MAC1@GOTPCREL(%rip), %rax
	cmoveq	_REG_MAC0@GOTPCREL(%rip), %rax
	movq	_MAC1_ON@GOTPCREL(%rip), %rcx
	cmoveq	_MAC0_ON@GOTPCREL(%rip), %rcx
	movl	(%rax), %ebx
	movl	(%rcx), %r12d
	movq	$0, (%r13)
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r13, %rdi
	callq	_RT_TRACE
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_rtl_read_byte
	xorl	%ebx, %ebx
	testl	%r12d, %eax
	jne	LBB0_4
## %bb.3:
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	callq	_RT_TRACE
	movq	_REG_SYS_ISO_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_rtl92de_read_dword_dbi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$29, %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	$16, %edi
	callq	_BIT
	orl	%eax, %ebx
	movl	$17, %edi
	callq	_BIT
	orl	%eax, %ebx
	orl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_rtl92de_write_dword_dbi
	movl	$1, %ebx
LBB0_4:
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r13, %rdi
	callq	_RT_TRACE
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MAC1,4,2                   ## @REG_MAC1
	.comm	_REG_MAC0,4,2                   ## @REG_MAC0
	.comm	_MAC1_ON,4,2                    ## @MAC1_ON
	.comm	_MAC0_ON,4,2                    ## @MAC0_ON
	.comm	_COMP_RF,4,2                    ## @COMP_RF
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"===>\n"

	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
L_.str.1:                               ## @.str.1
	.asciz	"enable BB & RF\n"

	.comm	_REG_SYS_ISO_CTRL,4,2           ## @REG_SYS_ISO_CTRL
L_.str.2:                               ## @.str.2
	.asciz	"<===\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_enable_anotherphy   ; -- Begin function rtl92d_phy_enable_anotherphy
	.p2align	2
_rtl92d_phy_enable_anotherphy:          ; @rtl92d_phy_enable_anotherphy
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	w0, #3
	bl	_BIT
	mov	x21, x0
	cbz	w22, LBB0_2
; %bb.1:
	mov	w0, #2
	bl	_BIT
	orr	w21, w0, w21
LBB0_2:
Lloh0:
	adrp	x8, _REG_MAC1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_MAC1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _REG_MAC0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_MAC0@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
	ldr	w22, [x8]
Lloh4:
	adrp	x8, _MAC1_ON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAC1_ON@GOTPAGEOFF]
Lloh6:
	adrp	x9, _MAC0_ON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAC0_ON@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w23, [x8]
	str	xzr, [x19]
Lloh8:
	adrp	x24, _COMP_RF@GOTPAGE
Lloh9:
	ldr	x24, [x24, _COMP_RF@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh10:
	adrp	x25, _DBG_LOUD@GOTPAGE
Lloh11:
	ldr	x25, [x25, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	mov	x1, x22
	bl	_rtl_read_byte
	mov	w22, #0
	tst	w0, w23
	b.ne	LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w2, [x25]
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh19:
	adrp	x8, _REG_SYS_ISO_CTRL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_SYS_ISO_CTRL@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_rtl92de_read_dword_dbi
	mov	x23, x0
	mov	w0, #29
	bl	_BIT
	orr	w23, w0, w23
	mov	w0, #16
	bl	_BIT
	orr	w23, w23, w0
	mov	w0, #17
	bl	_BIT
	orr	w2, w23, w0
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_rtl92de_write_dword_dbi
	mov	w22, #1
LBB0_4:
	ldr	w1, [x24]
	ldr	w2, [x25]
Lloh22:
	adrp	x3, l_.str.2@PAGE
Lloh23:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MAC1,4,2                   ; @REG_MAC1
	.comm	_REG_MAC0,4,2                   ; @REG_MAC0
	.comm	_MAC1_ON,4,2                    ; @MAC1_ON
	.comm	_MAC0_ON,4,2                    ; @MAC0_ON
	.comm	_COMP_RF,4,2                    ; @COMP_RF
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"===>\n"

	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
l_.str.1:                               ; @.str.1
	.asciz	"enable BB & RF\n"

	.comm	_REG_SYS_ISO_CTRL,4,2           ; @REG_SYS_ISO_CTRL
l_.str.2:                               ; @.str.2
	.asciz	"<===\n"

.subsections_via_symbols
