	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_create_query               ## -- Begin function rpc_create_query
	.p2align	4, 0x90
_rpc_create_query:                      ## @rpc_create_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	%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	%ecx, %r14d
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_verbosity@GOTPCREL(%rip), %r13
	cmpl	$4, (%r13)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	_MAX_PACKET_LEN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	setge	%al
	cmpl	$16, %ebx
	setge	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_server_check_ready
	movq	_cr_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.6:
	movl	%ebx, (%r15)
	movq	%r12, %rdi
	callq	_RPCS_DATA
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	movl	%ecx, 4(%r15)
	movl	%r14d, 8(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movl	$-1, %ebx
	cmpl	$4, (%r13)
	jl	LBB0_7
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"creating query... len = %d, op = %x\n"

	.comm	_MAX_PACKET_LEN,4,2             ## @MAX_PACKET_LEN
	.comm	_cr_ok,8,3                      ## @cr_ok
L_.str.1:                               ## @.str.1
	.asciz	"not_created: connection_failedn\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_create_query               ; -- Begin function rpc_create_query
	.p2align	2
_rpc_create_query:                      ; @rpc_create_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _verbosity@GOTPAGE
Lloh1:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	stp	x22, x19, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh7:
	adrp	x8, _MAX_PACKET_LEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_PACKET_LEN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w22, #15
	ccmp	w8, w22, #8, gt
	cset	w0, ge
	bl	_assert
	cbz	x21, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_server_check_ready
Lloh10:
	adrp	x8, _cr_ok@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cr_ok@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	str	w22, [x20]
	mov	x0, x21
	bl	_RPCS_DATA
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	stp	w9, w19, [x20, #4]
	b	LBB0_8
LBB0_5:
	ldr	w8, [x23]
	cmp	w8, #4
	b.lt	LBB0_7
; %bb.6:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"creating query... len = %d, op = %x\n"

	.comm	_MAX_PACKET_LEN,4,2             ; @MAX_PACKET_LEN
	.comm	_cr_ok,8,3                      ; @cr_ok
l_.str.1:                               ; @.str.1
	.asciz	"not_created: connection_failedn\n"

.subsections_via_symbols
