	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_to_queue                  ## -- Begin function send_to_queue
	.p2align	4, 0x90
_send_to_queue:                         ## @send_to_queue
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_queue_conn@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_get_target_connection
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rax, %r13
	movq	_my_verbosity_tmp@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	leaq	_send_to_queue.header(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_sprintf
	movl	%eax, %r12d
	movq	%rbx, %r14
	movq	%r13, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	leaq	_send_to_queue.header(%rip), %rsi
	movl	%eax, %edx
	callq	_write_out
	xorl	%edi, %edi
	cmpl	%r12d, %eax
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_write_out
	xorl	%edi, %edi
	cmpl	%r15d, %eax
	sete	%dil
	callq	_assert
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_write_out
	xorl	%edi, %edi
	cmpl	$2, %eax
	sete	%dil
	callq	_assert
	movq	_sent_queries@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%r13, %rdi
	callq	_MCC_FUNC
	movq	%r13, %rdi
	callq	*(%rax)
	movq	_precise_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	%rbx, %r12
	movq	_verbosity@GOTPCREL(%rip), %rax
	movl	$-1, %ebx
	cmpq	$0, (%rax)
	jle	LBB0_9
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testq	%r14, %r14
	je	LBB0_3
## %bb.4:
	movl	4(%r14), %edi
	xorl	%esi, %esi
	callq	_conv_addr
	movq	%rax, %rdx
	movl	(%r14), %ecx
	jmp	LBB0_5
LBB0_3:
	xorl	%ecx, %ecx
	leaq	L_.str.1(%rip), %rdx
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_queue_conn,8,3                 ## @queue_conn
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot find connection to target %s:%d for query %s, dropping query\n"

L_.str.1:                               ## @.str.1
	.asciz	"?"

	.comm	_my_verbosity_tmp,4,2           ## @my_verbosity_tmp
L_.str.2:                               ## @.str.2
	.asciz	"send query %d|%s\n"

.zerofill __DATA,__bss,_send_to_queue.header,50,4 ## @send_to_queue.header
L_.str.3:                               ## @.str.3
	.asciz	"set %d@entry 0 0 %d\r\n"

L_.str.4:                               ## @.str.4
	.asciz	"\r\n"

	.comm	_sent_queries,4,2               ## @sent_queries
	.comm	_precise_now,4,2                ## @precise_now
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_to_queue                  ; -- Begin function send_to_queue
	.p2align	2
_send_to_queue:                         ; @send_to_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _queue_conn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _queue_conn@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_get_target_connection
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _my_verbosity_tmp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _my_verbosity_tmp@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	stp	x22, x19, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_3:
Lloh11:
	adrp	x23, _send_to_queue.header@PAGE
Lloh12:
	add	x23, x23, _send_to_queue.header@PAGEOFF
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	bl	_sprintf
	mov	x22, x0
	add	x24, x20, #4
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	bl	_write_out
	cmp	w0, w22
	cset	w0, eq
	bl	_assert
	mov	x0, x24
	mov	x1, x19
	mov	x2, x21
	bl	_write_out
	cmp	w0, w21
	cset	w0, eq
	bl	_assert
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	mov	w2, #2
	bl	_write_out
	cmp	w0, #2
	cset	w0, eq
	bl	_assert
Lloh17:
	adrp	x8, _sent_queries@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sent_queries@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x20
	bl	_MCC_FUNC
	ldr	x8, [x0]
	mov	x0, x20
	blr	x8
	mov	w0, #0
Lloh19:
	adrp	x8, _precise_now@GOTPAGE
Lloh20:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_10
LBB0_4:
Lloh22:
	adrp	x8, _verbosity@GOTPAGE
Lloh23:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.5:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
	cbz	x23, LBB0_7
; %bb.6:
	ldr	w0, [x23, #4]
	mov	w1, #0
	bl	_conv_addr
	ldr	w8, [x23]
	b	LBB0_8
LBB0_7:
	mov	w8, #0
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	stp	x8, x19, [sp, #8]
	str	x0, [sp]
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_queue_conn,8,3                 ; @queue_conn
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot find connection to target %s:%d for query %s, dropping query\n"

l_.str.1:                               ; @.str.1
	.asciz	"?"

	.comm	_my_verbosity_tmp,4,2           ; @my_verbosity_tmp
l_.str.2:                               ; @.str.2
	.asciz	"send query %d|%s\n"

.zerofill __DATA,__bss,_send_to_queue.header,50,0 ; @send_to_queue.header
l_.str.3:                               ; @.str.3
	.asciz	"set %d@entry 0 0 %d\r\n"

l_.str.4:                               ; @.str.4
	.asciz	"\r\n"

	.comm	_sent_queries,4,2               ; @sent_queries
	.comm	_precise_now,4,2                ; @precise_now
.subsections_via_symbols
