	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __handle_link_change
___handle_link_change:                  ## @__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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_EVENT_DEV_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	12(%rbx), %edi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	4(%rbx), %rdi
	callq	_tasklet_schedule
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_unlink_urbs
LBB0_4:
	movq	_EVENT_LINK_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_DEV_OPEN,4,2             ## @EVENT_DEV_OPEN
	.comm	_EVENT_LINK_CHANGE,4,2          ## @EVENT_LINK_CHANGE
	.no_dead_strip	___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 __handle_link_change
___handle_link_change:                  ; @__handle_link_change
	.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
Lloh0:
	adrp	x8, _EVENT_DEV_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVENT_DEV_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_netif_carrier_ok
	cbz	w0, LBB0_4
; %bb.2:
	add	x0, x19, #4
	bl	_tasklet_schedule
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x1, x19, #8
	mov	x0, x19
	bl	_unlink_urbs
LBB0_5:
Lloh3:
	adrp	x8, _EVENT_LINK_CHANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVENT_LINK_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_DEV_OPEN,4,2             ; @EVENT_DEV_OPEN
	.comm	_EVENT_LINK_CHANGE,4,2          ; @EVENT_LINK_CHANGE
	.no_dead_strip	___handle_link_change
.subsections_via_symbols
