	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseScript
_ParseScript:                           ## @ParseScript
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, -112(%rbp)
	movl	%edx, -104(%rbp)
	movl	$1024, %edi                     ## imm = 0x400
	callq	_pg_malloc
	movq	%rax, -96(%rbp)
	leaq	-88(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_initStats
	movq	_pgbench_callbacks@GOTPCREL(%rip), %rdi
	callq	_psql_scan_create
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_psql_scan_setup
	movl	%ebx, %edi
	callq	_expr_scanner_offset
	decl	%eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	leaq	-64(%rbp), %rdi
	callq	_initPQExpBuffer
	movl	$128, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_pg_strdup
	movq	%rax, 32(%r14)
	movq	%r13, %rdi
	callq	_free_command
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_resetPQExpBuffer
	movl	%ebx, %edi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	callq	_expr_scanner_get_lineno
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	%r15, %rsi
	leaq	-116(%rbp), %rdx
	callq	_psql_scan
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_create_sql_command
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rcx
	movslq	%r12d, %rdx
	incl	%r12d
	movq	%rax, (%rcx,%rdx,8)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_PSCAN_BACKSLASH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	movq	%r13, %rsi
	callq	_process_backslash_command
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r13
	movq	(%rax), %rax
	movslq	%r12d, %rbx
	movq	_META_GSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r8
	xorl	%r9d, %r9d
	callq	_syntax_error
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rax
	movq	-8(%rax,%rbx,8), %r14
	movq	8(%r14), %rax
	movq	_SQL_COMMAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 32(%r14)
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	40(%r14), %r9
	movl	$-1, (%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r8
	callq	_syntax_error
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$2, 16(%r13)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jl	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r13), %rax
	movq	8(%rax), %rdi
	cmpb	$0, (%rdi)
	jne	LBB0_15
	jmp	LBB0_14
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rax
	leal	1(%rbx), %r12d
	movq	%r13, (%rax,%rbx,8)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, %r12d
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-96(%rbp), %rdi
	movl	%eax, %ebx
	subl	$-128, %ebx
	leal	1024(,%rax,8), %esi
	callq	_pg_realloc
	movq	%rax, -96(%rbp)
	movl	%ebx, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_PSCAN_INCOMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_PSCAN_EOL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_1
LBB0_21:
	movq	-96(%rbp), %rax
	movslq	%r12d, %rcx
	movq	$0, (%rax,%rcx,8)
	movups	-112(%rbp), %xmm0
	movups	-96(%rbp), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_addScript
	leaq	-64(%rbp), %rdi
	callq	_termPQExpBuffer
	movl	%ebx, %edi
	callq	_psql_scan_finish
	movl	%ebx, %edi
	callq	_psql_scan_destroy
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pgbench_callbacks,4,2          ## @pgbench_callbacks
	.comm	_PSCAN_BACKSLASH,8,3            ## @PSCAN_BACKSLASH
	.comm	_META_GSET,8,3                  ## @META_GSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\gset must follow a SQL command"

	.comm	_SQL_COMMAND,8,3                ## @SQL_COMMAND
L_.str.1:                               ## @.str.1
	.space	1

	.comm	_PSCAN_INCOMPLETE,8,3           ## @PSCAN_INCOMPLETE
	.comm	_PSCAN_EOL,8,3                  ## @PSCAN_EOL
	.comm	_COMMANDS_ALLOC_NUM,4,2         ## @COMMANDS_ALLOC_NUM
	.no_dead_strip	_ParseScript
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseScript
_ParseScript:                           ; @ParseScript
	.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, x1
	mov	x21, x0
	str	x1, [sp, #48]
	str	w2, [sp, #56]
	mov	w0, #1024
	bl	_pg_malloc
	str	x0, [sp, #64]
	add	x8, sp, #48
	add	x0, x8, #24
	mov	w1, #0
	bl	_initStats
Lloh0:
	adrp	x0, _pgbench_callbacks@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pgbench_callbacks@GOTPAGEOFF]
	bl	_psql_scan_create
	mov	x20, x0
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	bl	_psql_scan_setup
	mov	x0, x20
	bl	_expr_scanner_offset
	sub	w21, w0, #1
	add	x0, sp, #44
	bl	_initPQExpBuffer
	mov	w27, #0
	mov	w28, #128
Lloh2:
	adrp	x23, _PSCAN_BACKSLASH@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PSCAN_BACKSLASH@GOTPAGEOFF]
Lloh4:
	adrp	x22, _PSCAN_EOL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _PSCAN_EOL@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _PSCAN_INCOMPLETE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSCAN_INCOMPLETE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x22]
	cmp	x26, x8
	ccmp	x26, x9, #4, ne
	b.eq	LBB0_19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #44
	bl	_resetPQExpBuffer
	mov	x0, x20
	mov	x1, x21
	bl	_expr_scanner_get_lineno
	mov	x25, x0
	add	x1, sp, #44
	mov	x2, sp
	mov	x0, x20
	bl	_psql_scan
	mov	x26, x0
	add	x0, sp, #44
	mov	x1, x19
	bl	_create_sql_command
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #64]
	str	x0, [x8, w27, sxtw #3]
	add	w27, w27, #1
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	cmp	x26, x8
	b.ne	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_process_backslash_command
	cbz	x0, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
	ldr	x8, [x0]
Lloh9:
	adrp	x9, _META_GSET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _META_GSET@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w27, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x25
	mov	x2, #0
	mov	x3, #0
Lloh12:
	adrp	x4, l_.str@PAGE
Lloh13:
	add	x4, x4, l_.str@PAGEOFF
	mov	x5, #0
	mov	w6, #-1
	bl	_syntax_error
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #64]
	add	x8, x8, w27, sxtw #3
	ldur	x26, [x8, #-8]
	ldr	x8, [x26, #8]
Lloh14:
	adrp	x9, _SQL_COMMAND@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SQL_COMMAND@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x5, [x26, #40]
	mov	x0, x19
	mov	x1, x25
	mov	x2, #0
	mov	x3, #0
Lloh17:
	adrp	x4, l_.str@PAGE
Lloh18:
	add	x4, x4, l_.str@PAGEOFF
	mov	w6, #-1
	bl	_syntax_error
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24, #16]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24, #24]
	ldr	x0, [x8, #8]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_pg_strdup
	str	x0, [x26, #32]
	mov	x0, x24
	bl	_free_command
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #64]
	str	x24, [x8, w27, sxtw #3]
	add	w27, w27, #1
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w27, w28
	b.lt	LBB0_1
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w28, w28, #128
	ldr	x0, [sp, #64]
	lsl	w1, w28, #3
	bl	_pg_realloc
	str	x0, [sp, #64]
	b	LBB0_1
LBB0_19:
	ldr	x8, [sp, #64]
	str	xzr, [x8, w27, sxtw #3]
	ldp	q0, q1, [sp, #48]
	stp	q0, q1, [sp]
	mov	x0, sp
	bl	_addScript
	add	x0, sp, #44
	bl	_termPQExpBuffer
	mov	x0, x20
	bl	_psql_scan_finish
	mov	x0, x20
	bl	_psql_scan_destroy
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_pgbench_callbacks,4,2          ; @pgbench_callbacks
	.comm	_PSCAN_BACKSLASH,8,3            ; @PSCAN_BACKSLASH
	.comm	_META_GSET,8,3                  ; @META_GSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\gset must follow a SQL command"

	.comm	_SQL_COMMAND,8,3                ; @SQL_COMMAND
l_.str.1:                               ; @.str.1
	.space	1

	.comm	_PSCAN_INCOMPLETE,8,3           ; @PSCAN_INCOMPLETE
	.comm	_PSCAN_EOL,8,3                  ; @PSCAN_EOL
	.comm	_COMMANDS_ALLOC_NUM,4,2         ; @COMMANDS_ALLOC_NUM
	.no_dead_strip	_ParseScript
.subsections_via_symbols
