	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6gmac_linkisup
_s6gmac_linkisup:                       ## @s6gmac_linkisup
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %r12
	movl	4(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	(%r12), %eax
	xorl	%ecx, %ecx
	cmpl	$1000, %eax                     ## imm = 0x3E8
	sete	%cl
	movl	%ecx, (%rbx)
	cmpl	%eax, 4(%rbx)
	je	LBB0_2
## %bb.1:
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_s6gmac_set_rgmii_txclock
LBB0_2:
	movl	%r15d, 8(%rbx)
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_netif_carrier_on
LBB0_4:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_print_status               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_s6gmac_linkisup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6gmac_linkisup
_s6gmac_linkisup:                       ; @s6gmac_linkisup
	.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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x22, x0
	ldr	x20, [x0, #16]
	ldp	w8, w9, [x20]
	str	w9, [x0, #12]
	cmp	w8, #1000
	cset	w9, eq
	str	w9, [x0]
	ldr	w9, [x0, #4]
	cmp	w9, w8
	b.eq	LBB0_2
; %bb.1:
	str	w8, [x22, #4]
	mov	x0, x22
	bl	_s6gmac_set_rgmii_txclock
LBB0_2:
	str	w21, [x22, #8]
	cbz	w21, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_netif_carrier_on
LBB0_4:
	mov	x0, x20
	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	_phy_print_status
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_s6gmac_linkisup
.subsections_via_symbols
