	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t3_phy_advertise               ## -- Begin function t3_phy_advertise
	.p2align	4, 0x90
_t3_phy_advertise:                      ## @t3_phy_advertise
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$0, -36(%rbp)
	movq	_MDIO_DEVAD_NONE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MII_CTRL1000@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-36(%rbp), %rcx
	callq	_t3_mdio_read
	testl	%eax, %eax
	jne	LBB0_20
## %bb.1:
	movq	_ADVERTISE_1000HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ADVERTISE_1000FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	orl	%edx, %ecx
	notl	%ecx
	andl	-36(%rbp), %ecx
	movl	%ecx, -36(%rbp)
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rsi
	testl	%ebx, (%rsi)
	je	LBB0_3
## %bb.2:
	orl	%edx, %ecx
	movl	%ecx, -36(%rbp)
LBB0_3:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rdx
	testl	%ebx, (%rdx)
	je	LBB0_5
## %bb.4:
	orl	%eax, %ecx
	movl	%ecx, -36(%rbp)
LBB0_5:
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_t3_mdio_write
	testl	%eax, %eax
	jne	LBB0_20
## %bb.6:
	movl	$1, -36(%rbp)
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_ADVERTISE_10HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	$1, %ecx
	movl	%ecx, -36(%rbp)
	jmp	LBB0_9
LBB0_7:
	movl	$1, %ecx
LBB0_9:
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_ADVERTISE_10FULL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
LBB0_11:
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_ADVERTISE_100HALF@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
LBB0_13:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_ADVERTISE_100FULL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
LBB0_15:
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.16:
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
LBB0_17:
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.18:
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -36(%rbp)
LBB0_19:
	movl	(%r15), %esi
	movq	_MII_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_t3_mdio_write
LBB0_20:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_DEVAD_NONE,4,2            ## @MDIO_DEVAD_NONE
	.comm	_MII_CTRL1000,4,2               ## @MII_CTRL1000
	.comm	_ADVERTISE_1000HALF,4,2         ## @ADVERTISE_1000HALF
	.comm	_ADVERTISE_1000FULL,4,2         ## @ADVERTISE_1000FULL
	.comm	_ADVERTISED_1000baseT_Half,4,2  ## @ADVERTISED_1000baseT_Half
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.comm	_ADVERTISE_10HALF,4,2           ## @ADVERTISE_10HALF
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_ADVERTISE_10FULL,4,2           ## @ADVERTISE_10FULL
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_ADVERTISE_100HALF,4,2          ## @ADVERTISE_100HALF
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_ADVERTISE_100FULL,4,2          ## @ADVERTISE_100FULL
	.comm	_ADVERTISED_Pause,4,2           ## @ADVERTISED_Pause
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ## @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISED_Asym_Pause,4,2      ## @ADVERTISED_Asym_Pause
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ## @ADVERTISE_PAUSE_ASYM
	.comm	_MII_ADVERTISE,4,2              ## @MII_ADVERTISE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t3_phy_advertise               ; -- Begin function t3_phy_advertise
	.p2align	2
_t3_phy_advertise:                      ; @t3_phy_advertise
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x21, _MDIO_DEVAD_NONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MDIO_DEVAD_NONE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _MII_CTRL1000@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MII_CTRL1000@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #12
	bl	_t3_mdio_read
	cbnz	w0, LBB0_19
; %bb.1:
Lloh4:
	adrp	x8, _ADVERTISE_1000HALF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ADVERTISE_1000HALF@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
Lloh7:
	adrp	x8, _ADVERTISE_1000FULL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ADVERTISE_1000FULL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w10, w8, w9
	ldr	w11, [sp, #12]
	bic	w3, w11, w10
	str	w3, [sp, #12]
Lloh10:
	adrp	x10, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	tst	w10, w20
	b.eq	LBB0_3
; %bb.2:
	orr	w3, w3, w9
	str	w3, [sp, #12]
LBB0_3:
Lloh13:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_5
; %bb.4:
	orr	w3, w3, w8
	str	w3, [sp, #12]
LBB0_5:
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_t3_mdio_write
	cbnz	w0, LBB0_19
; %bb.6:
	mov	w3, #1
	str	w3, [sp, #12]
Lloh16:
	adrp	x8, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh19:
	adrp	x8, _ADVERTISE_10HALF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ADVERTISE_10HALF@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w3, w8, #0x1
	str	w3, [sp, #12]
LBB0_8:
Lloh22:
	adrp	x8, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
Lloh25:
	adrp	x8, _ADVERTISE_10FULL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ADVERTISE_10FULL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	orr	w3, w3, w8
	str	w3, [sp, #12]
LBB0_10:
Lloh28:
	adrp	x8, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.11:
Lloh31:
	adrp	x8, _ADVERTISE_100HALF@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ADVERTISE_100HALF@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	orr	w3, w3, w8
	str	w3, [sp, #12]
LBB0_12:
Lloh34:
	adrp	x8, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.13:
Lloh37:
	adrp	x8, _ADVERTISE_100FULL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ADVERTISE_100FULL@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	orr	w3, w3, w8
	str	w3, [sp, #12]
LBB0_14:
Lloh40:
	adrp	x8, _ADVERTISED_Pause@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
Lloh43:
	adrp	x8, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w3, w3, w8
	str	w3, [sp, #12]
LBB0_16:
Lloh46:
	adrp	x8, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_18
; %bb.17:
Lloh49:
	adrp	x8, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	orr	w3, w3, w8
	str	w3, [sp, #12]
LBB0_18:
	ldr	w1, [x21]
Lloh52:
	adrp	x8, _MII_ADVERTISE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MII_ADVERTISE@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_t3_mdio_write
LBB0_19:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_DEVAD_NONE,4,2            ; @MDIO_DEVAD_NONE
	.comm	_MII_CTRL1000,4,2               ; @MII_CTRL1000
	.comm	_ADVERTISE_1000HALF,4,2         ; @ADVERTISE_1000HALF
	.comm	_ADVERTISE_1000FULL,4,2         ; @ADVERTISE_1000FULL
	.comm	_ADVERTISED_1000baseT_Half,4,2  ; @ADVERTISED_1000baseT_Half
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.comm	_ADVERTISE_10HALF,4,2           ; @ADVERTISE_10HALF
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_ADVERTISE_10FULL,4,2           ; @ADVERTISE_10FULL
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_ADVERTISE_100HALF,4,2          ; @ADVERTISE_100HALF
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_ADVERTISE_100FULL,4,2          ; @ADVERTISE_100FULL
	.comm	_ADVERTISED_Pause,4,2           ; @ADVERTISED_Pause
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ; @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISED_Asym_Pause,4,2      ; @ADVERTISED_Asym_Pause
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ; @ADVERTISE_PAUSE_ASYM
	.comm	_MII_ADVERTISE,4,2              ; @MII_ADVERTISE
.subsections_via_symbols
