	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usbnet_link_change             ## -- Begin function usbnet_link_change
	.p2align	4, 0x90
_usbnet_link_change:                    ## @usbnet_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
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	(%rdi), %edi
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.2:
	callq	_netif_carrier_on
	jmp	LBB0_4
LBB0_3:
	callq	_netif_carrier_off
LBB0_4:
	movq	_EVENT_LINK_CHANGE@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movq	_EVENT_LINK_RESET@GOTPCREL(%rip), %rcx
LBB0_6:
	testl	%r15d, %r15d
	cmovneq	%rcx, %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usbnet_defer_kevent            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_LINK_RESET,4,2           ## @EVENT_LINK_RESET
	.comm	_EVENT_LINK_CHANGE,4,2          ## @EVENT_LINK_CHANGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usbnet_link_change             ; -- Begin function usbnet_link_change
	.p2align	2
_usbnet_link_change:                    ; @usbnet_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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	cbz	w1, LBB0_3
; %bb.1:
	cbnz	w21, LBB0_3
; %bb.2:
	bl	_netif_carrier_on
	b	LBB0_4
LBB0_3:
	bl	_netif_carrier_off
LBB0_4:
	cmp	w21, #0
	ccmp	w20, #0, #4, ne
Lloh0:
	adrp	x8, _EVENT_LINK_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVENT_LINK_RESET@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EVENT_LINK_CHANGE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EVENT_LINK_CHANGE@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	ldr	w1, [x8]
	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	_usbnet_defer_kevent
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_LINK_RESET,4,2           ; @EVENT_LINK_RESET
	.comm	_EVENT_LINK_CHANGE,4,2          ; @EVENT_LINK_CHANGE
.subsections_via_symbols
