	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initCreatePKeys
_initCreatePKeys:                       ## @initCreatePKeys
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	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.3(%rip), %rsi
	callq	_fprintf
	leaq	_initCreatePKeys.DDLINDEXes(%rip), %rdi
	callq	_lengthof
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	leaq	-304(%rbp), %r13
	leaq	_initCreatePKeys.DDLINDEXes(%rip), %r15
	movq	%r12, -312(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_executeStatement
	incq	%r14
	leaq	_initCreatePKeys.DDLINDEXes(%rip), %rdi
	callq	_lengthof
	cltq
	addq	$8, %r15
	cmpq	%rax, %r14
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	movq	%r13, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
	movq	_index_tablespace@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_PQescapeIdentifier
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbp), %r12
	addq	$-304, %r12                     ## imm = 0xFED0
	movq	%r13, %rdi
	callq	_strlen
	movl	$256, %esi                      ## imm = 0x100
	subl	%eax, %esi
	movq	%r12, %rdi
	movq	-312(%rbp), %r12                ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_PQfreemem
	jmp	LBB0_4
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @initCreatePKeys.DDLINDEXes
_initCreatePKeys.DDLINDEXes:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alter table pgbench_branches add primary key (bid)"

L_.str.1:                               ## @.str.1
	.asciz	"alter table pgbench_tellers add primary key (tid)"

L_.str.2:                               ## @.str.2
	.asciz	"alter table pgbench_accounts add primary key (aid)"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"creating primary keys...\n"

	.comm	_index_tablespace,8,3           ## @index_tablespace
L_.str.4:                               ## @.str.4
	.asciz	" using index tablespace %s"

	.no_dead_strip	_initCreatePKeys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initCreatePKeys
_initCreatePKeys:                       ; @initCreatePKeys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
Lloh8:
	adrp	x20, _initCreatePKeys.DDLINDEXes@PAGE
Lloh9:
	add	x20, x20, _initCreatePKeys.DDLINDEXes@PAGEOFF
	mov	x0, x20
	bl	_lengthof
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x24, #0
	add	x25, sp, #8
	mov	w26, #256
Lloh10:
	adrp	x27, _index_tablespace@GOTPAGE
Lloh11:
	ldr	x27, [x27, _index_tablespace@GOTPAGEOFF]
Lloh12:
	adrp	x21, l_.str.4@PAGE
Lloh13:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_executeStatement
	add	x24, x24, #1
	mov	x0, x20
	bl	_lengthof
	cmp	x24, w0, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, x24, lsl #3]
	add	x0, sp, #8
	mov	w2, #256
	bl	_strlcpy
	ldr	x22, [x27]
	cbz	x22, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_PQescapeIdentifier
	mov	x22, x0
	add	x0, sp, #8
	bl	_strlen
	add	x23, x25, w0, sxtw
	add	x0, sp, #8
	bl	_strlen
	sub	w1, w26, w0
	mov	x0, x23
	mov	x2, x21
	mov	x3, x22
	bl	_snprintf
	mov	x0, x22
	bl	_PQfreemem
	b	LBB0_2
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @initCreatePKeys.DDLINDEXes
_initCreatePKeys.DDLINDEXes:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alter table pgbench_branches add primary key (bid)"

l_.str.1:                               ; @.str.1
	.asciz	"alter table pgbench_tellers add primary key (tid)"

l_.str.2:                               ; @.str.2
	.asciz	"alter table pgbench_accounts add primary key (aid)"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"creating primary keys...\n"

	.comm	_index_tablespace,8,3           ; @index_tablespace
l_.str.4:                               ; @.str.4
	.asciz	" using index tablespace %s"

	.no_dead_strip	_initCreatePKeys
.subsections_via_symbols
