	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_link_down
_skge_link_down:                        ## @skge_link_down
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movl	8(%rbx), %r14d
	movq	_LNK_LED_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SK_REG
	movq	_LED_REG_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_skge_write8
	movl	(%rbx), %edi
	callq	_netif_carrier_off
	movl	(%rbx), %edi
	callq	_netif_stop_queue
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_info                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LNK_LED_REG,4,2                ## @LNK_LED_REG
	.comm	_LED_REG_OFF,4,2                ## @LED_REG_OFF
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Link is down\n"

	.no_dead_strip	_skge_link_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_link_down
_skge_link_down:                        ; @skge_link_down
	.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, x0
	ldp	w0, w20, [x0, #4]
Lloh0:
	adrp	x8, _LNK_LED_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LNK_LED_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_SK_REG
	mov	x1, x0
Lloh3:
	adrp	x8, _LED_REG_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_REG_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_skge_write8
	ldr	w0, [x19]
	bl	_netif_carrier_off
	ldr	w0, [x19]
	bl	_netif_stop_queue
Lloh6:
	adrp	x8, _link@GOTPAGE
Lloh7:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_info
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LNK_LED_REG,4,2                ; @LNK_LED_REG
	.comm	_LED_REG_OFF,4,2                ; @LED_REG_OFF
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Link is down\n"

	.no_dead_strip	_skge_link_down
.subsections_via_symbols
