	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlc_parse_execute             ## -- Begin function sqlc_parse_execute
	.p2align	4, 0x90
_sqlc_parse_execute:                    ## @sqlc_parse_execute
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_SQLC_DATA
	movq	%rax, %rbx
	leaq	20(%r15), %r12
	movq	%r12, %rdi
	callq	_nbit_total_ready_bytes
	movl	%eax, %r14d
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	movl	(%rbx), %r9d
	movl	4(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	pushq	%r10
	callq	_fprintf
	addq	$16, %rsp
LBB0_2:
	testl	%r14d, %r14d
	jle	LBB0_53
## %bb.3:
	leaq	24(%r15), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_53
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_C_STOPREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_C_FAILED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_53
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_conn_reading_answer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$3, %r14d
	jbe	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	_sqlc_parse_execute.psize(%rip), %rsi
	movl	$4, %edx
	callq	_nbit_read_in
	xorl	%edi, %edi
	cmpl	$4, %eax
	sete	%dil
	callq	_assert
	addl	$-4, %r14d
	movl	$1, (%rbx)
	movl	_sqlc_parse_execute.psize(%rip), %ecx
	movl	%ecx, %eax
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movl	%eax, 4(%rbx)
	shrl	$24, %ecx
	movl	%ecx, 8(%rbx)
	movl	12(%rbx), %esi
	movl	$1, %ecx
	cmpl	$2, %esi
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	$4, %eax
	xorl	%edx, %edx
	divl	%esi
	subl	%edx, %esi
	testl	%edx, %edx
	cmovel	%edx, %esi
	movl	%esi, 16(%rbx)
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	cmpl	$1, %ecx
	sete	%dil
	callq	_assert
	movl	4(%rbx), %edx
	movl	16(%rbx), %eax
	addl	%edx, %eax
	subl	%r14d, %eax
	jg	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_precise_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%rbx), %rax
	movq	_sql_noauth@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_sqlc_inner_authorise
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_sql_auth_sent@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	4(%rbx), %eax
	movl	16(%rbx), %ecx
	leal	(%rax,%rcx), %esi
	addl	$4, %esi
	movq	%r13, %rdi
	callq	_advance_skip_read_ptr
	movl	32(%rbx), %eax
	notl	%eax
	testb	$10, %al
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_mark_all_unprocessed
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_nbit_set
	movq	%r12, %rdi
	callq	_nbit_ready_bytes
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_sql_auth_sent@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_get_read_ptr
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, 4(%rax)
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_sql_auth_ok@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	16(%rbx), %eax
	leal	(%rcx,%rax), %esi
	addl	$4, %esi
	movq	%r13, %rdi
	callq	_advance_skip_read_ptr
	movq	%r15, %rdi
	callq	_SQLC_FUNC
	movq	%r15, %rdi
	callq	*16(%rax)
	testq	%rax, %rax
	jne	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_50
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_sql_auth_initdb@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_31
## %bb.38:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%rbx)
	jle	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_nbit_get_ptr
	movsbl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	jmp	LBB0_41
LBB0_39:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$-1, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_41:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	movq	_sql_auth_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_43:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	24(%r15), %r14d
	movq	_conn_running@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	callq	_SQLC_FUNC
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	*(%rax)
	movl	24(%r15), %r8d
	movq	_SKIP_ALL_BYTES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r8d, %r14d
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %r9d
	movl	16(%rbx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %r10d
	movl	(%r15), %edx
	movl	4(%r15), %r11d
	subq	$8, %rsp
	leaq	L_.str.8(%rip), %rsi
	movl	%r14d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_fprintf
	addq	$48, %rsp
LBB0_46:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %eax
	movl	16(%rbx), %ecx
	leal	(%rax,%rcx), %esi
	addl	$4, %esi
	jmp	LBB0_49
LBB0_47:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r8d, %r14d
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %eax
	addl	%r8d, %eax
	addl	$4, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r14d
	sete	%dil
	callq	_assert
	movl	16(%rbx), %esi
LBB0_49:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_advance_skip_read_ptr
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_nbit_set
	movq	%r12, %rdi
	callq	_nbit_ready_bytes
	movl	%eax, %r14d
	movl	$0, (%rbx)
	movslq	4(%r15), %rax
	movq	_conn_running@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_conn_wait_answer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	jmp	LBB0_52
LBB0_11:
	movl	%eax, %ebx
	jmp	LBB0_54
LBB0_16:
	movq	_conn_error@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$-1, 12(%r15)
LBB0_53:
	xorl	%ebx, %ebx
LBB0_54:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_conn_error@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$-1, 12(%r15)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %r14d
	movl	28(%r15), %edi
	callq	_show_ip
	movl	16(%r15), %r8d
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r12d, %edi
	movl	%r14d, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_54
LBB0_7:
	movl	$4, %ebx
	subl	%r14d, %ebx
	jmp	LBB0_54
LBB0_31:
	movq	%r13, %rdi
	callq	_get_read_ptr
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_33
## %bb.32:
	cmpb	$0, 4(%rax)
	je	LBB0_35
LBB0_33:
	movq	_conn_error@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$-1, 12(%r15)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	movl	$0, %ebx
	jl	LBB0_54
## %bb.34:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_27
LBB0_25:
	movq	_conn_error@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$-1, 12(%r15)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	movl	$0, %ebx
	jl	LBB0_54
## %bb.26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_27:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_54
LBB0_35:
	movq	_sql_auth_ok@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	16(%rbx), %eax
	leal	(%rcx,%rax), %esi
	addl	$4, %esi
	movq	%r13, %rdi
	callq	_advance_skip_read_ptr
	movq	_conn_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	$0, (%rbx)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_37
## %bb.36:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_37:
	movq	%r15, %rdi
	callq	_SQLC_FUNC
	movq	%r15, %rdi
	callq	*8(%rax)
	jmp	LBB0_53
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_sqlc_parse_execute.psize,4,2 ## @sqlc_parse_execute.psize
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sqlc_parse_execute(%d), status=%d, bytes=%d, packet_state=%d, packet_len=%d\n"

	.comm	_C_FAILED,4,2                   ## @C_FAILED
	.comm	_C_STOPREAD,4,2                 ## @C_STOPREAD
	.comm	_conn_reading_answer,4,2        ## @conn_reading_answer
	.comm	_precise_now,4,2                ## @precise_now
L_.str.1:                               ## @.str.1
	.asciz	"client packet ready: len=%d, seq_num=%d\n"

	.comm	_sql_noauth,8,3                 ## @sql_noauth
	.comm	_conn_error,8,3                 ## @conn_error
	.comm	_sql_auth_sent,8,3              ## @sql_auth_sent
L_.str.2:                               ## @.str.2
	.asciz	"ok packet expected in response to authentification from connection %d (%s:%d)\n"

	.comm	_sql_auth_ok,8,3                ## @sql_auth_ok
L_.str.3:                               ## @.str.3
	.asciz	"sql authorisation failed\n"

L_.str.4:                               ## @.str.4
	.asciz	"outcoming authorization successful\n"

	.comm	_sql_auth_initdb,8,3            ## @sql_auth_initdb
L_.str.5:                               ## @.str.5
	.asciz	"ok packet expected in response to initdb\n"

	.comm	_conn_ready,4,2                 ## @conn_ready
L_.str.6:                               ## @.str.6
	.asciz	"outcoming initdb successful\n"

L_.str.7:                               ## @.str.7
	.asciz	"execute, op=%d\n"

	.comm	_conn_running,8,3               ## @conn_running
	.comm	_SKIP_ALL_BYTES,4,2             ## @SKIP_ALL_BYTES
L_.str.8:                               ## @.str.8
	.asciz	"error: in SKIP_ALL_BYTES for connection %d: keep_total=%d != total_bytes=%d, packet_len=%d, packet_padding=%d, packet_state=%d, packet_seq=%d, op=%d, status=%d\n"

	.comm	_conn_wait_answer,8,3           ## @conn_wait_answer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sqlc_parse_execute             ; -- Begin function sqlc_parse_execute
	.p2align	2
_sqlc_parse_execute:                    ; @sqlc_parse_execute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_SQLC_DATA
	mov	x20, x0
	add	x21, x19, #20
	mov	x0, x21
	bl	_nbit_total_ready_bytes
	mov	x28, x0
Lloh0:
	adrp	x25, _verbosity@GOTPAGE
Lloh1:
	ldr	x25, [x25, _verbosity@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.le	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	w8, w9, [x19]
	ldp	w10, w11, [x20]
	stp	x10, x11, [sp, #24]
	stp	x9, x28, [sp, #8]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	cmp	w28, #1
	b.lt	LBB0_42
; %bb.3:
Lloh7:
	adrp	x26, _C_FAILED@GOTPAGE
Lloh8:
	ldr	x26, [x26, _C_FAILED@GOTPAGEOFF]
Lloh9:
	adrp	x24, _C_STOPREAD@GOTPAGE
Lloh10:
	ldr	x24, [x24, _C_STOPREAD@GOTPAGEOFF]
	add	x22, x19, #24
Lloh11:
	adrp	x27, _conn_running@GOTPAGE
Lloh12:
	ldr	x27, [x27, _conn_running@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w28, #0
	b.le	LBB0_42
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x26]
	ldr	w10, [x24]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_42
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _conn_reading_answer@GOTPAGE
Lloh14:
	ldr	x8, [x8, _conn_reading_answer@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w8, [x20]
	cbnz	w8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w28, #3
	b.ls	LBB0_44
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
Lloh16:
	adrp	x23, _sqlc_parse_execute.psize@PAGE
Lloh17:
	add	x23, x23, _sqlc_parse_execute.psize@PAGEOFF
	mov	x1, x23
	mov	w2, #4
	bl	_nbit_read_in
	cmp	w0, #4
	cset	w0, eq
	bl	_assert
	sub	w28, w28, #4
	mov	w8, #1
	str	w8, [x20]
	ldr	w10, [x23]
	and	w9, w10, #0xffffff
	lsr	w10, w10, #24
	stp	w9, w10, [x20, #4]
	ldr	w10, [x20, #12]
	cmp	w10, #2
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w9, #4
	udiv	w9, w8, w10
	msub	w8, w9, w10, w8
	sub	w9, w10, w8
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	str	w8, [x20, #16]
	mov	w8, #1
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #1
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20, #4]
	ldr	w9, [x20, #16]
	add	w9, w9, w8
	subs	w0, w9, w28
	b.gt	LBB0_43
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh18:
	adrp	x9, _precise_now@GOTPAGE
Lloh19:
	ldr	x9, [x9, _precise_now@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	str	w9, [x19, #32]
	ldr	w9, [x25]
	cmp	w9, #2
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh21:
	adrp	x9, _stderr@GOTPAGE
Lloh22:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x9]
	ldr	w9, [x20, #8]
	stp	x8, x9, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #24]
Lloh26:
	adrp	x9, _sql_noauth@GOTPAGE
Lloh27:
	ldr	x9, [x9, _sql_noauth@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_sqlc_inner_authorise
	tbnz	w0, #31, LBB0_39
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh29:
	adrp	x8, _sql_auth_sent@GOTPAGE
Lloh30:
	ldr	x8, [x8, _sql_auth_sent@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x20, #24]
	ldr	w8, [x20, #4]
	ldr	w9, [x20, #16]
	add	w8, w8, w9
	add	w1, w8, #4
	mov	x0, x22
	bl	_advance_skip_read_ptr
	ldr	w8, [x20, #32]
	mov	w9, #10
	bics	wzr, w9, w8
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_mark_all_unprocessed
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_nbit_set
	mov	x0, x21
	bl	_nbit_ready_bytes
	b	LBB0_37
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh32:
	adrp	x9, _sql_auth_sent@GOTPAGE
Lloh33:
	ldr	x9, [x9, _sql_auth_sent@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_get_read_ptr
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_40
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w9, [x0, #4]
	cbnz	w9, LBB0_40
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh35:
	adrp	x9, _sql_auth_ok@GOTPAGE
Lloh36:
	ldr	x9, [x9, _sql_auth_ok@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	str	x9, [x20, #24]
	ldr	w9, [x20, #16]
	add	w8, w8, w9
	add	w1, w8, #4
	mov	x0, x22
	bl	_advance_skip_read_ptr
	mov	x0, x19
	bl	_SQLC_FUNC
	ldr	x8, [x0, #16]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_49
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25]
	cmp	w8, #2
	b.lt	LBB0_37
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	b	LBB0_37
LBB0_24:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh43:
	adrp	x9, _sql_auth_initdb@GOTPAGE
Lloh44:
	ldr	x9, [x9, _sql_auth_initdb@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_45
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #4]
	cmp	w9, #1
	b.lt	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_nbit_get_ptr
	ldrsb	w28, [x0]
	ldr	x8, [x20, #24]
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #-1
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh46:
	adrp	x9, _sql_auth_ok@GOTPAGE
Lloh47:
	ldr	x9, [x9, _sql_auth_ok@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x25]
	cmp	w8, #1
	b.le	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh49:
	adrp	x8, _stderr@GOTPAGE
Lloh50:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	str	x28, [sp]
Lloh52:
	adrp	x1, l_.str.7@PAGE
Lloh53:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
LBB0_30:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w23, [x19, #24]
	ldr	x8, [x27]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_SQLC_FUNC
	ldr	x8, [x0]
	mov	x0, x19
	mov	x1, x28
	blr	x8
Lloh54:
	adrp	x8, _SKIP_ALL_BYTES@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SKIP_ALL_BYTES@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x8]
	ldr	w8, [x19, #24]
	cmp	w0, w9
	b.ne	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, w8
	b.eq	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh57:
	adrp	x9, _stderr@GOTPAGE
Lloh58:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x9]
	ldr	w9, [x20, #16]
	ldp	w11, w10, [x20]
	ldr	w12, [x20, #8]
	ldp	w13, w14, [x19]
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	stp	x28, x14, [sp, #56]
	stp	x11, x12, [sp, #40]
	stp	x10, x9, [sp, #24]
	stp	x23, x8, [sp, #8]
	str	x13, [sp]
Lloh60:
	adrp	x1, l_.str.8@PAGE
Lloh61:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
LBB0_33:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #4]
	ldr	w9, [x20, #16]
	add	w8, w8, w9
	add	w1, w8, #4
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, w8
	b.eq	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #4]
	add	w8, w8, w9
	add	w8, w8, #4
	cmp	w23, w8
	cset	w0, eq
	bl	_assert
	ldr	w1, [x20, #16]
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_advance_skip_read_ptr
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_nbit_set
	mov	x0, x21
	bl	_nbit_ready_bytes
	mov	x28, x0
	str	wzr, [x20]
	ldrsw	x8, [x19, #4]
	ldr	x9, [x27]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.38:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh62:
	adrp	x8, _conn_wait_answer@GOTPAGE
Lloh63:
	ldr	x8, [x8, _conn_wait_answer@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	str	w8, [x19, #4]
	b	LBB0_4
LBB0_39:
	mov	w0, #0
Lloh65:
	adrp	x8, _conn_error@GOTPAGE
Lloh66:
	ldr	x8, [x8, _conn_error@GOTPAGEOFF]
Lloh67:
	ldr	x8, [x8]
	str	w8, [x19, #4]
	mov	w8, #-1
	str	w8, [x19, #12]
	b	LBB0_43
LBB0_40:
Lloh68:
	adrp	x8, _conn_error@GOTPAGE
Lloh69:
	ldr	x8, [x8, _conn_error@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	str	w8, [x19, #4]
	mov	w8, #-1
	str	w8, [x19, #12]
Lloh71:
	adrp	x8, _stderr@GOTPAGE
Lloh72:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh73:
	ldr	w20, [x8]
	ldr	w0, [x19, #28]
	ldr	w21, [x19]
	bl	_show_ip
	ldr	w8, [x19, #16]
	stp	x0, x8, [sp, #8]
	str	x21, [sp]
Lloh74:
	adrp	x1, l_.str.2@PAGE
Lloh75:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
LBB0_41:
	bl	_fprintf
LBB0_42:
	mov	w0, #0
LBB0_43:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_44:
	mov	w8, #4
	sub	w0, w8, w28
	b	LBB0_43
LBB0_45:
	mov	x0, x22
	bl	_get_read_ptr
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_47
; %bb.46:
	ldrb	w9, [x0, #4]
	cbz	w9, LBB0_51
LBB0_47:
Lloh76:
	adrp	x8, _conn_error@GOTPAGE
Lloh77:
	ldr	x8, [x8, _conn_error@GOTPAGEOFF]
Lloh78:
	ldr	x8, [x8]
	str	w8, [x19, #4]
	mov	w8, #-1
	str	w8, [x19, #12]
	ldr	w8, [x25]
	cmp	w8, #2
	b.lt	LBB0_42
; %bb.48:
Lloh79:
	adrp	x8, _stderr@GOTPAGE
Lloh80:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
Lloh82:
	adrp	x1, l_.str.5@PAGE
Lloh83:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_41
LBB0_49:
Lloh84:
	adrp	x8, _conn_error@GOTPAGE
Lloh85:
	ldr	x8, [x8, _conn_error@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
	str	w8, [x19, #4]
	mov	w8, #-1
	str	w8, [x19, #12]
	ldr	w8, [x25]
	cmp	w8, #2
	b.lt	LBB0_42
; %bb.50:
Lloh87:
	adrp	x8, _stderr@GOTPAGE
Lloh88:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
Lloh90:
	adrp	x1, l_.str.3@PAGE
Lloh91:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_41
LBB0_51:
Lloh92:
	adrp	x9, _sql_auth_ok@GOTPAGE
Lloh93:
	ldr	x9, [x9, _sql_auth_ok@GOTPAGEOFF]
Lloh94:
	ldr	x9, [x9]
	str	x9, [x20, #24]
	ldr	w9, [x20, #16]
	add	w8, w8, w9
	add	w1, w8, #4
	mov	x0, x22
	bl	_advance_skip_read_ptr
Lloh95:
	adrp	x8, _conn_ready@GOTPAGE
Lloh96:
	ldr	x8, [x8, _conn_ready@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	str	wzr, [x20]
	ldr	w8, [x25]
	cmp	w8, #2
	b.lt	LBB0_53
; %bb.52:
Lloh98:
	adrp	x8, _stderr@GOTPAGE
Lloh99:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh100:
	ldr	w0, [x8]
Lloh101:
	adrp	x1, l_.str.6@PAGE
Lloh102:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_53:
	mov	x0, x19
	bl	_SQLC_FUNC
	ldr	x8, [x0, #8]
	mov	x0, x19
	blr	x8
	b	LBB0_42
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_sqlc_parse_execute.psize,4,2 ; @sqlc_parse_execute.psize
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sqlc_parse_execute(%d), status=%d, bytes=%d, packet_state=%d, packet_len=%d\n"

	.comm	_C_FAILED,4,2                   ; @C_FAILED
	.comm	_C_STOPREAD,4,2                 ; @C_STOPREAD
	.comm	_conn_reading_answer,4,2        ; @conn_reading_answer
	.comm	_precise_now,4,2                ; @precise_now
l_.str.1:                               ; @.str.1
	.asciz	"client packet ready: len=%d, seq_num=%d\n"

	.comm	_sql_noauth,8,3                 ; @sql_noauth
	.comm	_conn_error,8,3                 ; @conn_error
	.comm	_sql_auth_sent,8,3              ; @sql_auth_sent
l_.str.2:                               ; @.str.2
	.asciz	"ok packet expected in response to authentification from connection %d (%s:%d)\n"

	.comm	_sql_auth_ok,8,3                ; @sql_auth_ok
l_.str.3:                               ; @.str.3
	.asciz	"sql authorisation failed\n"

l_.str.4:                               ; @.str.4
	.asciz	"outcoming authorization successful\n"

	.comm	_sql_auth_initdb,8,3            ; @sql_auth_initdb
l_.str.5:                               ; @.str.5
	.asciz	"ok packet expected in response to initdb\n"

	.comm	_conn_ready,4,2                 ; @conn_ready
l_.str.6:                               ; @.str.6
	.asciz	"outcoming initdb successful\n"

l_.str.7:                               ; @.str.7
	.asciz	"execute, op=%d\n"

	.comm	_conn_running,8,3               ; @conn_running
	.comm	_SKIP_ALL_BYTES,4,2             ; @SKIP_ALL_BYTES
l_.str.8:                               ; @.str.8
	.asciz	"error: in SKIP_ALL_BYTES for connection %d: keep_total=%d != total_bytes=%d, packet_len=%d, packet_padding=%d, packet_state=%d, packet_seq=%d, op=%d, status=%d\n"

	.comm	_conn_wait_answer,8,3           ; @conn_wait_answer
.subsections_via_symbols
