	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8169_set_speed
_rtl8169_set_speed:                     ## @rtl8169_set_speed
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%r15d, %r14d
	movq	%rax, %r15
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	callq	*(%r15)
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	addq	$8, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_RTL8169_PHY_TIMEOUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_mod_timer
LBB0_5:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_RTL8169_PHY_TIMEOUT,8,3        ## @RTL8169_PHY_TIMEOUT
	.no_dead_strip	_rtl8169_set_speed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8169_set_speed
_rtl8169_set_speed:                     ; @rtl8169_set_speed
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x22, x1
	mov	x23, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x0]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	mov	x4, x19
	blr	x8
	mov	x20, x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x0, x23
	bl	_netif_running
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x21, #8
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _RTL8169_PHY_TIMEOUT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTL8169_PHY_TIMEOUT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
LBB0_5:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_RTL8169_PHY_TIMEOUT,8,3        ; @RTL8169_PHY_TIMEOUT
	.no_dead_strip	_rtl8169_set_speed
.subsections_via_symbols
