	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc_handle_link_change
_lpc_handle_link_change:                ## @lpc_handle_link_change
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rbx), %rbx
	leaq	24(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	8(%rbx), %rcx
	cmpq	%rcx, (%r15)
	jne	LBB0_2
## %bb.4:
	movl	16(%rbx), %edx
	cmpl	%edx, 8(%r15)
	jne	LBB0_3
## %bb.5:
	cmpq	16(%r15), %rax
	jne	LBB0_6
	jmp	LBB0_11
LBB0_7:
	cmpq	$0, 16(%r15)
	je	LBB0_11
## %bb.8:
	movq	%r15, %rcx
	addq	$16, %rcx
	movq	$0, (%r15)
	movl	$-1, 8(%r15)
	jmp	LBB0_9
LBB0_2:
	movl	16(%rbx), %edx
LBB0_3:
	movq	%rcx, (%r15)
	movl	%edx, 8(%r15)
	cmpq	16(%r15), %rax
	je	LBB0_10
LBB0_6:
	movq	%r15, %rcx
	addq	$16, %rcx
LBB0_9:
	movq	%rax, (%rcx)
LBB0_10:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___lpc_params_setup             ## TAILCALL
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lpc_handle_link_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc_handle_link_change
_lpc_handle_link_change:                ; @lpc_handle_link_change
	.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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x21, [x20]
	add	x20, x0, #24
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x10, [x19]
	ldr	x9, [x21, #8]
	cmp	x10, x9
	b.ne	LBB0_6
; %bb.2:
	ldr	w11, [x19, #8]
	ldr	w10, [x21, #16]
	cmp	w11, w10
	b.ne	LBB0_7
; %bb.3:
	mov	x9, x19
	ldr	x10, [x9, #16]!
	cmp	x8, x10
	b.ne	LBB0_8
	b	LBB0_10
LBB0_4:
	mov	x9, x19
	ldr	x10, [x9, #16]!
	cbz	x10, LBB0_10
; %bb.5:
	str	xzr, [x19]
	mov	w10, #-1
	str	w10, [x19, #8]
	b	LBB0_8
LBB0_6:
	ldr	w10, [x21, #16]
LBB0_7:
	str	x9, [x19]
	str	w10, [x19, #8]
	mov	x9, x19
	ldr	x10, [x9, #16]!
	cmp	x8, x10
	b.eq	LBB0_9
LBB0_8:
	str	x8, [x9]
LBB0_9:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	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	___lpc_params_setup
LBB0_10:
	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	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lpc_handle_link_change
.subsections_via_symbols
