	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_delete_aio_query            ## -- Begin function tl_delete_aio_query
	.p2align	4, 0x90
_tl_delete_aio_query:                   ## @tl_delete_aio_query
	.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
	cmpq	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_utime
	cvtsi2sdq	(%rbx), %xmm1
	subsd	%xmm1, %xmm0
	movq	_total_aio_time@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, (%rax)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
LBB0_3:
	movq	_active_aio_queries@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	%rbx, %rdi
	callq	_delete_conn_query
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_zfree
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_total_aio_time,8,3             ## @total_aio_time
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delete_aio_query(%p): query time %.6f\n"

	.comm	_active_aio_queries,4,2         ## @active_aio_queries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_delete_aio_query            ; -- Begin function tl_delete_aio_query
	.p2align	2
_tl_delete_aio_query:                   ; @tl_delete_aio_query
	.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
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_utime
	ldr	d1, [x19]
	scvtf	d1, d1
	fsub	d0, d0, d1
Lloh3:
	adrp	x8, _total_aio_time@GOTPAGE
Lloh4:
	ldr	x8, [x8, _total_aio_time@GOTPAGEOFF]
	ldr	d1, [x8]
	fadd	d1, d1, d0
	str	d1, [x8]
Lloh5:
	adrp	x8, _verbosity@GOTPAGE
Lloh6:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_3:
Lloh13:
	adrp	x8, _active_aio_queries@GOTPAGE
Lloh14:
	ldr	x8, [x8, _active_aio_queries@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	bl	_delete_conn_query
	mov	x0, x19
	mov	w1, #8
	bl	_zfree
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_total_aio_time,8,3             ; @total_aio_time
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delete_aio_query(%p): query time %.6f\n"

	.comm	_active_aio_queries,4,2         ; @active_aio_queries
.subsections_via_symbols
