	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts_at_query_end               ## -- Begin function hts_at_query_end
	.p2align	4, 0x90
_hts_at_query_end:                      ## @hts_at_query_end
	.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	%esi, %r15d
	movq	%rdi, %rbx
	callq	_HTS_DATA
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_clear_connection_timeout
	movq	_conn_generation@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	%rcx, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	$0, 8(%r14)
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.1:
	movq	_QF_KEEPALIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_2
LBB0_3:
	movq	_C_REPARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	movq	(%rbx), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_conn_write_close@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movl	$-1, 8(%rbx)
LBB0_4:
	movq	_conn_wait_net@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_conn_generation,8,3            ## @conn_generation
	.comm	_QF_KEEPALIVE,4,2               ## @QF_KEEPALIVE
	.comm	_conn_write_close,8,3           ## @conn_write_close
	.comm	_C_REPARSE,4,2                  ## @C_REPARSE
	.comm	_conn_wait_net,8,3              ## @conn_wait_net
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hts_at_query_end               ; -- Begin function hts_at_query_end
	.p2align	2
_hts_at_query_end:                      ; @hts_at_query_end
	.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, x1
	mov	x19, x0
	bl	_HTS_DATA
	mov	x20, x0
	mov	x0, x19
	bl	_clear_connection_timeout
Lloh0:
	adrp	x8, _conn_generation@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conn_generation@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	stp	xzr, x9, [x19, #16]
	str	xzr, [x20, #8]
	cbz	w21, LBB0_2
; %bb.1:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _QF_KEEPALIVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QF_KEEPALIVE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _C_REPARSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _C_REPARSE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	ldr	x8, [x19]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _conn_write_close@GOTPAGE
Lloh9:
	ldr	x8, [x8, _conn_write_close@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w9, #-1
	str	w9, [x19, #8]
LBB0_4:
Lloh11:
	adrp	x9, _conn_wait_net@GOTPAGE
Lloh12:
	ldr	x9, [x9, _conn_wait_net@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	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	_assert
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_generation,8,3            ; @conn_generation
	.comm	_QF_KEEPALIVE,4,2               ; @QF_KEEPALIVE
	.comm	_conn_write_close,8,3           ; @conn_write_close
	.comm	_C_REPARSE,4,2                  ; @C_REPARSE
	.comm	_conn_wait_net,8,3              ; @conn_wait_net
.subsections_via_symbols
