	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xm_phy_init
_xm_phy_init:                           ## @xm_phy_init
	.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
	movq	48(%rdi), %r14
	movl	(%rdi), %r15d
	movq	8(%rdi), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movl	16(%rbx), %ecx
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_3
## %bb.2:
	movq	_PHY_X_AN_HD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	je	LBB0_5
## %bb.4:
	movq	_PHY_X_AN_FD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	%eax, %ecx
	movq	_fiber_pause_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rbx), %rdx
	orl	(%rax,%rdx,4), %ecx
	movq	_PHY_XMAC_AUNE_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_xm_phy_write
	movq	_PHY_CT_ANE@GOTPCREL(%rip), %rax
	movq	_PHY_CT_RE_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	jmp	LBB0_8
LBB0_6:
	movq	32(%rbx), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_PHY_CT_DUP_MD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_8:
	movq	_PHY_XMAC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_xm_phy_write
	addq	$40, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_LINK_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_ADVERTISED_1000baseT_Half,4,2  ## @ADVERTISED_1000baseT_Half
	.comm	_PHY_X_AN_HD,4,2                ## @PHY_X_AN_HD
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_PHY_X_AN_FD,4,2                ## @PHY_X_AN_FD
	.comm	_fiber_pause_map,8,3            ## @fiber_pause_map
	.comm	_PHY_XMAC_AUNE_ADV,4,2          ## @PHY_XMAC_AUNE_ADV
	.comm	_PHY_CT_ANE,4,2                 ## @PHY_CT_ANE
	.comm	_PHY_CT_RE_CFG,4,2              ## @PHY_CT_RE_CFG
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_PHY_CT_DUP_MD,4,2              ## @PHY_CT_DUP_MD
	.comm	_PHY_XMAC_CTRL,4,2              ## @PHY_XMAC_CTRL
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_LINK_HZ,8,3                    ## @LINK_HZ
	.no_dead_strip	_xm_phy_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xm_phy_init
_xm_phy_init:                           ; @xm_phy_init
	.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	x19, x0
	ldr	x20, [x0, #48]
	ldr	w21, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
Lloh3:
	adrp	x9, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _PHY_X_AN_HD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHY_X_AN_HD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
Lloh9:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
	csel	w10, wzr, w10, eq
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x11, _PHY_X_AN_FD@GOTPAGE
Lloh13:
	ldr	x11, [x11, _PHY_X_AN_FD@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w9, w8
	csel	w8, wzr, w11, eq
	orr	w8, w8, w10
Lloh15:
	adrp	x9, _fiber_pause_map@GOTPAGE
Lloh16:
	ldr	x9, [x9, _fiber_pause_map@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x10, [x19, #24]
	ldr	w9, [x9, x10, lsl #2]
	orr	w3, w8, w9
Lloh18:
	adrp	x8, _PHY_XMAC_AUNE_ADV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PHY_XMAC_AUNE_ADV@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_phy_write
Lloh21:
	adrp	x8, _PHY_CT_ANE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PHY_CT_ANE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _PHY_CT_RE_CFG@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PHY_CT_RE_CFG@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w3, w9, w8
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #32]
Lloh27:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
Lloh30:
	adrp	x10, _PHY_CT_DUP_MD@GOTPAGE
Lloh31:
	ldr	x10, [x10, _PHY_CT_DUP_MD@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w3, w10, wzr, eq
LBB0_3:
Lloh33:
	adrp	x8, _PHY_XMAC_CTRL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PHY_XMAC_CTRL@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_phy_write
	add	x0, x19, #40
Lloh36:
	adrp	x8, _jiffies@GOTPAGE
Lloh37:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
Lloh39:
	adrp	x9, _LINK_HZ@GOTPAGE
Lloh40:
	ldr	x9, [x9, _LINK_HZ@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	add	x1, x9, x8
	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	_mod_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_ADVERTISED_1000baseT_Half,4,2  ; @ADVERTISED_1000baseT_Half
	.comm	_PHY_X_AN_HD,4,2                ; @PHY_X_AN_HD
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_PHY_X_AN_FD,4,2                ; @PHY_X_AN_FD
	.comm	_fiber_pause_map,8,3            ; @fiber_pause_map
	.comm	_PHY_XMAC_AUNE_ADV,4,2          ; @PHY_XMAC_AUNE_ADV
	.comm	_PHY_CT_ANE,4,2                 ; @PHY_CT_ANE
	.comm	_PHY_CT_RE_CFG,4,2              ; @PHY_CT_RE_CFG
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_PHY_CT_DUP_MD,4,2              ; @PHY_CT_DUP_MD
	.comm	_PHY_XMAC_CTRL,4,2              ; @PHY_XMAC_CTRL
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_LINK_HZ,8,3                    ; @LINK_HZ
	.no_dead_strip	_xm_phy_init
.subsections_via_symbols
