	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpcx_at_query_end              ## -- Begin function rpcx_at_query_end
	.p2align	4, 0x90
_rpcx_at_query_end:                     ## @rpcx_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_RPCS_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, (%r14)
	xorl	%eax, %eax
	callq	_has_pending_scripts
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_lease_ready_flag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_run_rpc_lease
LBB0_2:
	movq	_C_REPARSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movq	(%rbx), %rax
	movq	_conn_wait_net@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_conn_generation,8,3            ## @conn_generation
	.comm	_lease_ready_flag,4,2           ## @lease_ready_flag
	.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	_rpcx_at_query_end              ; -- Begin function rpcx_at_query_end
	.p2align	2
_rpcx_at_query_end:                     ; @rpcx_at_query_end
	.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
	bl	_RPCS_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]
	bl	_has_pending_scripts
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _lease_ready_flag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lease_ready_flag@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
	bl	_run_rpc_lease
LBB0_2:
Lloh5:
	adrp	x8, _C_REPARSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _C_REPARSE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _conn_wait_net@GOTPAGE
Lloh9:
	ldr	x9, [x9, _conn_wait_net@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_assert
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_generation,8,3            ; @conn_generation
	.comm	_lease_ready_flag,4,2           ; @lease_ready_flag
	.comm	_C_REPARSE,4,2                  ; @C_REPARSE
	.comm	_conn_wait_net,8,3              ; @conn_wait_net
.subsections_via_symbols
