	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_net_write_run_sql      ## -- Begin function command_net_write_run_sql
	.p2align	4, 0x90
_command_net_write_run_sql:             ## @command_net_write_run_sql
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	_conn_ready@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	leaq	12(%rbx), %rdi
	movq	(%r14), %rdx
	movq	8(%r14), %rsi
	callq	_write_out
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_SQLC_FUNC
	movq	(%r14), %rsi
	addq	$-4, %rsi
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_flush_connection_output
	movq	_precise_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_conn_wait_answer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_resp_first@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_SQLC_DATA
	movl	%r15d, (%rax)
	movq	8(%r14), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conn_ready,8,3                 ## @conn_ready
	.comm	_precise_now,4,2                ## @precise_now
	.comm	_conn_wait_answer,8,3           ## @conn_wait_answer
	.comm	_resp_first,4,2                 ## @resp_first
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_net_write_run_sql      ; -- Begin function command_net_write_run_sql
	.p2align	2
_command_net_write_run_sql:             ; @command_net_write_run_sql
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _conn_ready@GOTPAGE
Lloh1:
	ldr	x9, [x9, _conn_ready@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	add	x0, x20, #12
	ldp	x2, x1, [x19]
	bl	_write_out
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_SQLC_FUNC
	ldr	x8, [x0]
	ldr	x9, [x19]
	sub	x1, x9, #4
	mov	x0, x20
	blr	x8
	mov	x0, x20
	bl	_flush_connection_output
Lloh3:
	adrp	x8, _precise_now@GOTPAGE
Lloh4:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _conn_wait_answer@GOTPAGE
Lloh7:
	ldr	x9, [x9, _conn_wait_answer@GOTPAGEOFF]
	str	w8, [x20, #8]
Lloh8:
	ldr	x8, [x9]
	str	x8, [x20]
Lloh9:
	adrp	x8, _resp_first@GOTPAGE
Lloh10:
	ldr	x8, [x8, _resp_first@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_SQLC_DATA
	str	w21, [x0]
	ldr	x0, [x19, #8]
	bl	_free
	stp	xzr, xzr, [x19]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_conn_ready,8,3                 ; @conn_ready
	.comm	_precise_now,4,2                ; @precise_now
	.comm	_conn_wait_answer,8,3           ; @conn_wait_answer
	.comm	_resp_first,4,2                 ; @resp_first
.subsections_via_symbols
