	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fpm_event_queue_del
_fpm_event_queue_del:                   ## @fpm_event_queue_del
	.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
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.2:
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, 16(%rbx)
	je	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_16
LBB0_5:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:
	movq	%rax, (%rcx)
LBB0_7:
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rcx, 8(%rax)
	movq	(%rdi), %rcx
	cmpq	%rcx, %rbx
	jne	LBB0_12
## %bb.11:
	movq	%rax, (%rdi)
	movq	$0, 8(%rax)
	movq	(%rdi), %rcx
	jmp	LBB0_12
LBB0_8:
	movq	(%rdi), %rcx
	cmpq	%rcx, %rbx
	jne	LBB0_12
## %bb.9:
	movq	$0, (%rdi)
	xorl	%ecx, %ecx
LBB0_12:
	movq	_fpm_event_queue_fd@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_15
## %bb.13:
	movq	_module@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rsi, %rdi
	callq	*%rax
LBB0_15:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpm_event_queue_fd,8,3         ## @fpm_event_queue_fd
	.comm	_module,8,3                     ## @module
	.no_dead_strip	_fpm_event_queue_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fpm_event_queue_del
_fpm_event_queue_del:                   ; @fpm_event_queue_del
	.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	w8, #-1
	cbz	x0, LBB0_17
; %bb.1:
	cbz	x1, LBB0_17
; %bb.2:
	ldr	x19, [x0]
	cbz	x19, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	cmp	x8, x1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19]
	cbnz	x19, LBB0_3
LBB0_5:
	mov	w8, #-1
	b	LBB0_17
LBB0_6:
	ldp	x9, x8, [x19]
	cbz	x8, LBB0_8
; %bb.7:
	str	x9, [x8]
LBB0_8:
	cbz	x9, LBB0_11
; %bb.9:
	str	x8, [x9, #8]
	ldr	x8, [x0]
	cmp	x19, x8
	b.ne	LBB0_13
; %bb.10:
	str	x9, [x0]
	str	xzr, [x9, #8]
	ldr	x8, [x0]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x0]
	cmp	x19, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x8, #0
	str	xzr, [x0]
LBB0_13:
Lloh0:
	adrp	x9, _fpm_event_queue_fd@GOTPAGE
Lloh1:
	ldr	x9, [x9, _fpm_event_queue_fd@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.14:
Lloh3:
	adrp	x8, _module@GOTPAGE
Lloh4:
	ldr	x8, [x8, _module@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x1
	blr	x8
LBB0_16:
	mov	x0, x19
	bl	_free
	mov	w8, #0
LBB0_17:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_fpm_event_queue_fd,8,3         ; @fpm_event_queue_fd
	.comm	_module,8,3                     ; @module
	.no_dead_strip	_fpm_event_queue_del
.subsections_via_symbols
