	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1_get_pauseparam
_atl1_get_pauseparam:                   ## @atl1_get_pauseparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	_MEDIA_TYPE_AUTO_SENSOR@GOTPCREL(%rip), %rcx
	movq	_MEDIA_TYPE_1000M_FULL@GOTPCREL(%rip), %rdi
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rdx
	movq	%rdx, %rsi
	cmpq	(%rdi), %rax
	je	LBB0_2
## %bb.1:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rsi
LBB0_2:
	cmpq	(%rcx), %rax
	cmoveq	%rdx, %rsi
	movl	(%rsi), %eax
	movl	%eax, 8(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_TYPE_AUTO_SENSOR,8,3     ## @MEDIA_TYPE_AUTO_SENSOR
	.comm	_MEDIA_TYPE_1000M_FULL,8,3      ## @MEDIA_TYPE_1000M_FULL
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.no_dead_strip	_atl1_get_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1_get_pauseparam
_atl1_get_pauseparam:                   ; @atl1_get_pauseparam
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MEDIA_TYPE_AUTO_SENSOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEDIA_TYPE_AUTO_SENSOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MEDIA_TYPE_1000M_FULL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MEDIA_TYPE_1000M_FULL@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
Lloh6:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh8:
	adrp	x11, _AUTONEG_DISABLE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _AUTONEG_DISABLE@GOTPAGEOFF]
	ccmp	x8, x9, #4, ne
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_TYPE_AUTO_SENSOR,8,3     ; @MEDIA_TYPE_AUTO_SENSOR
	.comm	_MEDIA_TYPE_1000M_FULL,8,3      ; @MEDIA_TYPE_1000M_FULL
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.no_dead_strip	_atl1_get_pauseparam
.subsections_via_symbols
