	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initCreateFKeys
_initCreateFKeys:                       ## @initCreateFKeys
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
	leaq	_initCreateFKeys.DDLKEYs(%rip), %r14
	movq	%r14, %rdi
	callq	_lengthof
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_executeStatement
	incq	%r12
	movq	%r14, %rdi
	callq	_lengthof
	cltq
	addq	$8, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @initCreateFKeys.DDLKEYs
_initCreateFKeys.DDLKEYs:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alter table pgbench_tellers add constraint pgbench_tellers_bid_fkey foreign key (bid) references pgbench_branches"

L_.str.1:                               ## @.str.1
	.asciz	"alter table pgbench_accounts add constraint pgbench_accounts_bid_fkey foreign key (bid) references pgbench_branches"

L_.str.2:                               ## @.str.2
	.asciz	"alter table pgbench_history add constraint pgbench_history_bid_fkey foreign key (bid) references pgbench_branches"

L_.str.3:                               ## @.str.3
	.asciz	"alter table pgbench_history add constraint pgbench_history_tid_fkey foreign key (tid) references pgbench_tellers"

L_.str.4:                               ## @.str.4
	.asciz	"alter table pgbench_history add constraint pgbench_history_aid_fkey foreign key (aid) references pgbench_accounts"

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

	.no_dead_strip	_initCreateFKeys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initCreateFKeys
_initCreateFKeys:                       ; @initCreateFKeys
	.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	x19, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.5@PAGE
Lloh4:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
Lloh5:
	adrp	x20, _initCreateFKeys.DDLKEYs@PAGE
Lloh6:
	add	x20, x20, _initCreateFKeys.DDLKEYs@PAGEOFF
	mov	x0, x20
	bl	_lengthof
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20, x21, lsl #3]
	mov	x0, x19
	bl	_executeStatement
	add	x21, x21, #1
	mov	x0, x20
	bl	_lengthof
	cmp	x21, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @initCreateFKeys.DDLKEYs
_initCreateFKeys.DDLKEYs:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alter table pgbench_tellers add constraint pgbench_tellers_bid_fkey foreign key (bid) references pgbench_branches"

l_.str.1:                               ; @.str.1
	.asciz	"alter table pgbench_accounts add constraint pgbench_accounts_bid_fkey foreign key (bid) references pgbench_branches"

l_.str.2:                               ; @.str.2
	.asciz	"alter table pgbench_history add constraint pgbench_history_bid_fkey foreign key (bid) references pgbench_branches"

l_.str.3:                               ; @.str.3
	.asciz	"alter table pgbench_history add constraint pgbench_history_tid_fkey foreign key (tid) references pgbench_tellers"

l_.str.4:                               ; @.str.4
	.asciz	"alter table pgbench_history add constraint pgbench_history_aid_fkey foreign key (aid) references pgbench_accounts"

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

	.no_dead_strip	_initCreateFKeys
.subsections_via_symbols
