	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_config_macphymode   ## -- Begin function rtl92d_phy_config_macphymode
	.p2align	4, 0x90
_rtl92d_phy_config_macphymode:          ## @rtl92d_phy_config_macphymode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	movq	_REG_MAC_PHY_CTRL_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	cltq
	leaq	l_reltable.rtl92d_phy_config_macphymode(%rip), %rdx
	movslq	(%rdx,%rax,4), %rcx
	addq	%rdx, %rcx
	leaq	l_switch.table.rtl92d_phy_config_macphymode.3(%rip), %rdx
	movl	(%rdx,%rax,4), %ebx
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_RT_TRACE
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MAC_PHY_CTRL_NORMAL,4,2    ## @REG_MAC_PHY_CTRL_NORMAL
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MacPhyMode: DUALMAC_DUALPHY\n"

L_.str.1:                               ## @.str.1
	.asciz	"MacPhyMode: SINGLEMAC_SINGLEPHY\n"

L_.str.2:                               ## @.str.2
	.asciz	"MacPhyMode: DUALMAC_SINGLEPHY\n"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.rtl92d_phy_config_macphymode
l_reltable.rtl92d_phy_config_macphymode:
	.long	L_.str.1-l_reltable.rtl92d_phy_config_macphymode
	.long	L_.str.2-l_reltable.rtl92d_phy_config_macphymode
	.long	L_.str-l_reltable.rtl92d_phy_config_macphymode

	.p2align	2                               ## @switch.table.rtl92d_phy_config_macphymode.3
l_switch.table.rtl92d_phy_config_macphymode.3:
	.long	244                             ## 0xf4
	.long	241                             ## 0xf1
	.long	243                             ## 0xf3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_config_macphymode   ; -- Begin function rtl92d_phy_config_macphymode
	.p2align	2
_rtl92d_phy_config_macphymode:          ; @rtl92d_phy_config_macphymode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_hal
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _REG_MAC_PHY_CTRL_NORMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REG_MAC_PHY_CTRL_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x9]
Lloh3:
	adrp	x9, l_switch.table.rtl92d_phy_config_macphymode@PAGE
Lloh4:
	add	x9, x9, l_switch.table.rtl92d_phy_config_macphymode@PAGEOFF
	ldr	x3, [x9, w8, sxtw #3]
Lloh5:
	adrp	x9, l_switch.table.rtl92d_phy_config_macphymode.3@PAGE
Lloh6:
	add	x9, x9, l_switch.table.rtl92d_phy_config_macphymode.3@PAGEOFF
	ldr	w21, [x9, w8, sxtw #2]
Lloh7:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl_write_byte
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MAC_PHY_CTRL_NORMAL,4,2    ; @REG_MAC_PHY_CTRL_NORMAL
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MacPhyMode: DUALMAC_DUALPHY\n"

l_.str.1:                               ; @.str.1
	.asciz	"MacPhyMode: SINGLEMAC_SINGLEPHY\n"

l_.str.2:                               ; @.str.2
	.asciz	"MacPhyMode: DUALMAC_SINGLEPHY\n"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rtl92d_phy_config_macphymode
l_switch.table.rtl92d_phy_config_macphymode:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str

	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.rtl92d_phy_config_macphymode.3
l_switch.table.rtl92d_phy_config_macphymode.3:
	.long	244                             ; 0xf4
	.long	241                             ; 0xf1
	.long	243                             ; 0xf3

.subsections_via_symbols
