	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq100x_advertise
_aq100x_advertise:                      ## @aq100x_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	andl	%esi, %r8d
	movq	_ADV_10G_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmovnel	%ecx, %r8d
	movq	_MDIO_MMD_AN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MDIO_AN_10GBT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_t3_mdio_change_bits
	testl	%eax, %eax
	jne	LBB0_11
## %bb.1:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	movq	_ADV_1G_FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmovnel	%edi, %eax
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%ebx, %r8d
	movq	_ADV_1G_HALF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovnel	%ecx, %r8d
	orl	%eax, %r8d
	movl	(%r15), %esi
	movq	_AQ_1G_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%edi, %ecx
	movq	%r14, %rdi
	callq	_t3_mdio_change_bits
	testl	%eax, %eax
	je	LBB0_2
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	je	LBB0_4
## %bb.3:
	movq	_ADVERTISE_100HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%ebx, %r8d
	je	LBB0_6
## %bb.5:
	movq	_ADVERTISE_100FULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_6:
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	je	LBB0_8
## %bb.7:
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	orl	%eax, %r8d
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	je	LBB0_10
## %bb.9:
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	orl	%ebx, %ecx
	orl	%ecx, %r8d
	movl	(%r15), %esi
	movq	_MDIO_AN_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$4064, %ecx                     ## imm = 0xFE0
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_mdio_change_bits            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADVERTISED_10000baseT_Full,4,2 ## @ADVERTISED_10000baseT_Full
	.comm	_ADV_10G_FULL,4,2               ## @ADV_10G_FULL
	.comm	_MDIO_MMD_AN,4,2                ## @MDIO_MMD_AN
	.comm	_MDIO_AN_10GBT_CTRL,4,2         ## @MDIO_AN_10GBT_CTRL
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_ADV_1G_FULL,4,2                ## @ADV_1G_FULL
	.comm	_ADVERTISED_1000baseT_Half,4,2  ## @ADVERTISED_1000baseT_Half
	.comm	_ADV_1G_HALF,4,2                ## @ADV_1G_HALF
	.comm	_AQ_1G_CTRL,4,2                 ## @AQ_1G_CTRL
	.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	_MDIO_AN_ADVERTISE,4,2          ## @MDIO_AN_ADVERTISE
	.no_dead_strip	_aq100x_advertise
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq100x_advertise
_aq100x_advertise:                      ; @aq100x_advertise
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ADV_10G_FULL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADV_10G_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	tst	w8, w1
	csel	w4, wzr, w3, eq
Lloh6:
	adrp	x21, _MDIO_MMD_AN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MDIO_MMD_AN@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _MDIO_AN_10GBT_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MDIO_AN_10GBT_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_t3_mdio_change_bits
	cbnz	w0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh13:
	adrp	x9, _ADV_1G_FULL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ADV_1G_FULL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, wzr, w9, eq
Lloh17:
	adrp	x10, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x11, _ADV_1G_HALF@GOTPAGE
Lloh21:
	ldr	x11, [x11, _ADV_1G_HALF@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	tst	w10, w20
	csel	w10, wzr, w11, eq
	orr	w4, w10, w8
	ldr	w1, [x21]
Lloh23:
	adrp	x8, _AQ_1G_CTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AQ_1G_CTRL@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	orr	w3, w11, w9
	mov	x0, x19
	bl	_t3_mdio_change_bits
	cbz	w0, LBB0_3
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
LBB0_3:
Lloh26:
	adrp	x8, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _ADVERTISE_100HALF@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ADVERTISE_100HALF@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, wzr, w9, eq
Lloh32:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
Lloh35:
	adrp	x10, _ADVERTISE_100FULL@GOTPAGE
Lloh36:
	ldr	x10, [x10, _ADVERTISE_100FULL@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh38:
	adrp	x9, _ADVERTISED_Pause@GOTPAGE
Lloh39:
	ldr	x9, [x9, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh42:
	ldr	x10, [x10, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh44:
	adrp	x9, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
Lloh47:
	adrp	x10, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh48:
	ldr	x10, [x10, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
Lloh49:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w4, w8, w9
	ldr	w1, [x21]
Lloh50:
	adrp	x8, _MDIO_AN_ADVERTISE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MDIO_AN_ADVERTISE@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #4064
	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	_t3_mdio_change_bits
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_ADV_10G_FULL,4,2               ; @ADV_10G_FULL
	.comm	_MDIO_MMD_AN,4,2                ; @MDIO_MMD_AN
	.comm	_MDIO_AN_10GBT_CTRL,4,2         ; @MDIO_AN_10GBT_CTRL
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_ADV_1G_FULL,4,2                ; @ADV_1G_FULL
	.comm	_ADVERTISED_1000baseT_Half,4,2  ; @ADVERTISED_1000baseT_Half
	.comm	_ADV_1G_HALF,4,2                ; @ADV_1G_HALF
	.comm	_AQ_1G_CTRL,4,2                 ; @AQ_1G_CTRL
	.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	_MDIO_AN_ADVERTISE,4,2          ; @MDIO_AN_ADVERTISE
	.no_dead_strip	_aq100x_advertise
.subsections_via_symbols
