	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_link_status
_update_link_status:                    ## @update_link_status
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_GET_LIO
	cmpq	$0, 40(%rax)
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	(%r15), %rax
	cmpq	%rax, 8(%rbx)
	je	LBB0_8
## %bb.2:
	movl	16(%rbx), %r15d
	movq	48(%rbx), %r12
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	_print_link_info
	incl	32(%rbx)
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_netif_carrier_on
	movq	%r14, %rdi
	callq	_wake_txqs
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	callq	_stop_txqs
LBB0_5:
	movl	16(%rbx), %ecx
	cmpl	%r15d, %ecx
	je	LBB0_7
## %bb.6:
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_dev_info
	movl	16(%rbx), %r15d
	movl	%r15d, (%r14)
LBB0_7:
	movslq	%r15d, %rcx
	movq	8(%r14), %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_8
## %bb.9:
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_warn
	movl	4(%rbx), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Max MTU Changed from %d to %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Current MTU is higher than new max MTU; Reducing the current mtu from %d to %d\n"

	.no_dead_strip	_update_link_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_link_status
_update_link_status:                    ; @update_link_status
	.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	x20, x0
	bl	_GET_LIO
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #8]
	ldr	x8, [x21]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.2:
	ldr	w21, [x19, #16]
	ldr	x22, [x19, #48]
	str	x8, [x19, #8]
	mov	x0, x20
	bl	_print_link_info
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_netif_carrier_on
	mov	x0, x20
	bl	_wake_txqs
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_netif_carrier_off
	mov	x0, x20
	bl	_stop_txqs
LBB0_5:
	ldr	w3, [x19, #16]
	cmp	w3, w21
	b.eq	LBB0_7
; %bb.6:
	ldr	x0, [x22]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_info
	ldr	w21, [x19, #16]
	str	w21, [x20]
LBB0_7:
	sxtw	x3, w21
	ldr	x2, [x20, #8]
	cmp	x2, x3
	b.le	LBB0_9
; %bb.8:
	ldr	x0, [x22]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_warn
	ldr	w0, [x19, #4]
	mov	x1, x19
	mov	w2, #0
	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	_queue_delayed_work
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Max MTU Changed from %d to %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Current MTU is higher than new max MTU; Reducing the current mtu from %d to %d\n"

	.no_dead_strip	_update_link_status
.subsections_via_symbols
