	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initCreateTables
_initCreateTables:                      ## @initCreateTables
	.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	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -568(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_fprintf
	leaq	_initCreateTables.DDLs(%rip), %rdi
	callq	_lengthof
	testl	%eax, %eax
	jle	LBB0_10
## %bb.1:
	leaq	_initCreateTables.DDLs+8(%rip), %r12
	leaq	-304(%rbp), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_scale@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	8(%r12), %rcx
	movq	_SCALE_32BIT_THRESHOLD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	cmovlq	%r12, %rcx
	movq	_unlogged_tables@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	(%rcx), %r9
	leaq	L_.str.14(%rip), %rcx
	leaq	L_.str.15(%rip), %rax
	cmoveq	%rax, %rcx
	movq	-8(%r12), %r8
	movq	%r13, (%rsp)
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	leaq	L_.str.13(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_executeStatement
	incq	%r14
	leaq	_initCreateTables.DDLs(%rip), %rdi
	callq	_lengthof
	cltq
	addq	$32, %r12
	cmpq	%rax, %r14
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, -304(%rbp)
	movq	_partition_method@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PART_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_append_fillfactor
	jmp	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %rbx
	addq	$-304, %rbx                     ## imm = 0xFED0
	movq	%r13, %rdi
	callq	_strlen
	movl	$256, %esi                      ## imm = 0x100
	subl	%eax, %esi
	movq	_PARTITION_METHOD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_partition_method@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rbx, %rdi
	leaq	L_.str.11(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_tablespace@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_PQescapeIdentifier
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %r15
	addq	$-304, %r15                     ## imm = 0xFED0
	movq	%r13, %rdi
	callq	_strlen
	movl	$256, %esi                      ## imm = 0x100
	subl	%eax, %esi
	movq	%r15, %rdi
	leaq	L_.str.12(%rip), %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_PQfreemem
	jmp	LBB0_9
LBB0_10:
	movq	_partition_method@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PART_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	callq	_createPartitions
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @initCreateTables.DDLs
_initCreateTables.DDLs:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.long	0                               ## 0x0
	.space	4
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.4
	.long	1                               ## 0x1
	.space	4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.long	1                               ## 0x1
	.space	4
	.quad	L_.str.8
	.quad	L_.str.9
	.quad	L_.str.9
	.long	1                               ## 0x1
	.space	4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pgbench_history"

L_.str.1:                               ## @.str.1
	.asciz	"tid int,bid int,aid    int,delta int,mtime timestamp,filler char(22)"

L_.str.2:                               ## @.str.2
	.asciz	"tid int,bid int,aid bigint,delta int,mtime timestamp,filler char(22)"

L_.str.3:                               ## @.str.3
	.asciz	"pgbench_tellers"

L_.str.4:                               ## @.str.4
	.asciz	"tid int not null,bid int,tbalance int,filler char(84)"

L_.str.5:                               ## @.str.5
	.asciz	"pgbench_accounts"

L_.str.6:                               ## @.str.6
	.asciz	"aid    int not null,bid int,abalance int,filler char(84)"

L_.str.7:                               ## @.str.7
	.asciz	"aid bigint not null,bid int,abalance int,filler char(84)"

L_.str.8:                               ## @.str.8
	.asciz	"pgbench_branches"

L_.str.9:                               ## @.str.9
	.asciz	"bid int not null,bbalance int,filler char(88)"

	.comm	_stderr,4,2                     ## @stderr
L_.str.10:                              ## @.str.10
	.asciz	"creating tables...\n"

	.comm	_partition_method,8,3           ## @partition_method
	.comm	_PART_NONE,8,3                  ## @PART_NONE
L_.str.11:                              ## @.str.11
	.asciz	" partition by %s (aid)"

	.comm	_PARTITION_METHOD,8,3           ## @PARTITION_METHOD
	.comm	_tablespace,8,3                 ## @tablespace
L_.str.12:                              ## @.str.12
	.asciz	" tablespace %s"

	.comm	_scale,8,3                      ## @scale
	.comm	_SCALE_32BIT_THRESHOLD,8,3      ## @SCALE_32BIT_THRESHOLD
L_.str.13:                              ## @.str.13
	.asciz	"create%s table %s(%s)%s"

	.comm	_unlogged_tables,8,3            ## @unlogged_tables
L_.str.14:                              ## @.str.14
	.asciz	" unlogged"

L_.str.15:                              ## @.str.15
	.space	1

	.no_dead_strip	_initCreateTables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initCreateTables
_initCreateTables:                      ; @initCreateTables
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #560
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.10@PAGE
Lloh7:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fprintf
Lloh8:
	adrp	x0, _initCreateTables.DDLs@PAGE
Lloh9:
	add	x0, x0, _initCreateTables.DDLs@PAGEOFF
	bl	_lengthof
Lloh10:
	adrp	x27, _partition_method@GOTPAGE
Lloh11:
	ldr	x27, [x27, _partition_method@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x24, #0
Lloh12:
	adrp	x23, _initCreateTables.DDLs@PAGE+8
Lloh13:
	add	x23, x23, _initCreateTables.DDLs@PAGEOFF+8
	add	x22, sp, #288
Lloh14:
	adrp	x28, l_.str.15@PAGE
Lloh15:
	add	x28, x28, l_.str.15@PAGEOFF
Lloh16:
	adrp	x20, l_.str.13@PAGE
Lloh17:
	add	x20, x20, l_.str.13@PAGEOFF
Lloh18:
	adrp	x21, _initCreateTables.DDLs@PAGE
Lloh19:
	add	x21, x21, _initCreateTables.DDLs@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x8, _scale@GOTPAGE
Lloh21:
	ldr	x8, [x8, _scale@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _SCALE_32BIT_THRESHOLD@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SCALE_32BIT_THRESHOLD@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x10, x23, #8
	cmp	x8, x9
	csel	x8, x23, x10, lt
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _unlogged_tables@GOTPAGE
Lloh27:
	ldr	x9, [x9, _unlogged_tables@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, #0
Lloh29:
	adrp	x9, l_.str.14@PAGE
Lloh30:
	add	x9, x9, l_.str.14@PAGEOFF
	csel	x3, x28, x9, eq
	ldur	x9, [x23, #-8]
	stp	x8, x22, [sp, #8]
	add	x0, sp, #32
	str	x9, [sp]
	mov	w1, #256
	mov	x2, x20
	bl	_snprintf
	add	x1, sp, #32
	mov	x0, x19
	bl	_executeStatement
	add	x24, x24, #1
	mov	x0, x21
	bl	_lengthof
	add	x23, x23, #32
	cmp	x24, w0, sxtw
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [sp, #288]
	ldr	x8, [x27]
Lloh31:
	adrp	x9, _PART_NONE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _PART_NONE@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x0, [x23, #-8]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x24, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #288
	mov	w1, #256
	bl	_append_fillfactor
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #288
	bl	_strlen
	add	x25, x22, w0, sxtw
	add	x0, sp, #288
	bl	_strlen
	mov	w8, #256
	sub	w1, w8, w0
Lloh36:
	adrp	x8, _PARTITION_METHOD@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PARTITION_METHOD@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	x9, [x27]
	ldr	x3, [x8, x9, lsl #3]
	mov	x0, x25
Lloh39:
	adrp	x2, l_.str.11@PAGE
Lloh40:
	add	x2, x2, l_.str.11@PAGEOFF
	bl	_snprintf
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh41:
	adrp	x8, _tablespace@GOTPAGE
Lloh42:
	ldr	x8, [x8, _tablespace@GOTPAGEOFF]
Lloh43:
	ldr	x25, [x8]
	cbz	x25, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x25
	bl	_PQescapeIdentifier
	mov	x25, x0
	add	x0, sp, #288
	bl	_strlen
	add	x26, x22, w0, sxtw
	add	x0, sp, #288
	bl	_strlen
	mov	w8, #256
	sub	w1, w8, w0
	mov	x0, x26
Lloh44:
	adrp	x2, l_.str.12@PAGE
Lloh45:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x3, x25
	bl	_snprintf
	mov	x0, x25
	bl	_PQfreemem
	b	LBB0_2
LBB0_10:
	ldr	x8, [x27]
Lloh46:
	adrp	x9, _PART_NONE@GOTPAGE
Lloh47:
	ldr	x9, [x9, _PART_NONE@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_createPartitions
LBB0_12:
	ldur	x8, [x29, #-96]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #560
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @initCreateTables.DDLs
_initCreateTables.DDLs:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.long	0                               ; 0x0
	.space	4
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.4
	.long	1                               ; 0x1
	.space	4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.long	1                               ; 0x1
	.space	4
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.9
	.long	1                               ; 0x1
	.space	4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pgbench_history"

l_.str.1:                               ; @.str.1
	.asciz	"tid int,bid int,aid    int,delta int,mtime timestamp,filler char(22)"

l_.str.2:                               ; @.str.2
	.asciz	"tid int,bid int,aid bigint,delta int,mtime timestamp,filler char(22)"

l_.str.3:                               ; @.str.3
	.asciz	"pgbench_tellers"

l_.str.4:                               ; @.str.4
	.asciz	"tid int not null,bid int,tbalance int,filler char(84)"

l_.str.5:                               ; @.str.5
	.asciz	"pgbench_accounts"

l_.str.6:                               ; @.str.6
	.asciz	"aid    int not null,bid int,abalance int,filler char(84)"

l_.str.7:                               ; @.str.7
	.asciz	"aid bigint not null,bid int,abalance int,filler char(84)"

l_.str.8:                               ; @.str.8
	.asciz	"pgbench_branches"

l_.str.9:                               ; @.str.9
	.asciz	"bid int not null,bbalance int,filler char(88)"

	.comm	_stderr,4,2                     ; @stderr
l_.str.10:                              ; @.str.10
	.asciz	"creating tables...\n"

	.comm	_partition_method,8,3           ; @partition_method
	.comm	_PART_NONE,8,3                  ; @PART_NONE
l_.str.11:                              ; @.str.11
	.asciz	" partition by %s (aid)"

	.comm	_PARTITION_METHOD,8,3           ; @PARTITION_METHOD
	.comm	_tablespace,8,3                 ; @tablespace
l_.str.12:                              ; @.str.12
	.asciz	" tablespace %s"

	.comm	_scale,8,3                      ; @scale
	.comm	_SCALE_32BIT_THRESHOLD,8,3      ; @SCALE_32BIT_THRESHOLD
l_.str.13:                              ; @.str.13
	.asciz	"create%s table %s(%s)%s"

	.comm	_unlogged_tables,8,3            ; @unlogged_tables
l_.str.14:                              ; @.str.14
	.asciz	" unlogged"

l_.str.15:                              ; @.str.15
	.space	1

	.no_dead_strip	_initCreateTables
.subsections_via_symbols
