	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linkwatch_fire_event           ## -- Begin function linkwatch_fire_event
	.p2align	4, 0x90
_linkwatch_fire_event:                  ## @linkwatch_fire_event
	.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
	callq	_linkwatch_urgent_event
	movl	%eax, %r14d
	movq	___LINK_STATE_LINKWATCH_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	testl	%r14d, %r14d
	jne	LBB0_2
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_dev_hold
	movq	%rbx, %rdi
	callq	_linkwatch_add_event
LBB0_2:
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_linkwatch_schedule_work        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___LINK_STATE_LINKWATCH_PENDING,4,2 ## @__LINK_STATE_LINKWATCH_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linkwatch_fire_event           ; -- Begin function linkwatch_fire_event
	.p2align	2
_linkwatch_fire_event:                  ; @linkwatch_fire_event
	.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	x20, x0
	bl	_linkwatch_urgent_event
	mov	x19, x0
Lloh0:
	adrp	x8, ___LINK_STATE_LINKWATCH_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___LINK_STATE_LINKWATCH_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
	cbz	w0, LBB0_3
; %bb.1:
	cbnz	w19, LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	bl	_dev_hold
	mov	x0, x20
	bl	_linkwatch_add_event
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_linkwatch_schedule_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___LINK_STATE_LINKWATCH_PENDING,4,2 ; @__LINK_STATE_LINKWATCH_PENDING
.subsections_via_symbols
