	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	$0, -32(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	xorl	%eax, %eax
	callq	_apr_initialize
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_apr_pool_create
	movl	%ebx, %eax
	andl	$-2, %eax
	cmpl	$2, %eax
	jne	LBB0_17
## %bb.1:
	movq	8(%r14), %r15
	cmpl	$3, %ebx
	jne	LBB0_2
## %bb.3:
	movq	16(%r14), %r14
	jmp	LBB0_4
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.18(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_18
LBB0_2:
	leaq	L_.str(%rip), %r14
LBB0_4:
	movq	-32(%rbp), %rdi
	callq	_apr_dbd_init
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_setbuf
	movq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rsi
	callq	_apr_dbd_get_driver
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_14
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	-40(%rbp), %rdi
	movq	-32(%rbp), %rsi
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdx
	callq	_apr_dbd_open
	cmpl	$128, %eax
	je	LBB0_15
## %bb.7:
	cmpl	$131, %eax
	jne	LBB0_16
## %bb.8:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_9
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_13:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_11
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
LBB0_11:
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_18:
	movq	-32(%rbp), %rdi
	callq	_apr_pool_destroy
	xorl	%eax, %eax
	callq	_apr_terminate
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printf
	movq	_create_table@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.9(%rip), %rdi
	callq	_TEST
	movq	_insert_rows@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.10(%rip), %rdi
	callq	_TEST
	movq	_invalid_op@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	callq	_TEST
	movq	_select_random@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdi
	callq	_TEST
	movq	_select_sequential@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.13(%rip), %rdi
	callq	_TEST
	movq	_test_transactions@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.14(%rip), %rdi
	callq	_TEST
	movq	_test_pselect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.15(%rip), %rdi
	callq	_TEST
	movq	_test_pquery@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.16(%rip), %rdi
	callq	_TEST
	movq	_drop_table@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.17(%rip), %rdi
	callq	_TEST
	movq	-40(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_apr_dbd_close
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.8(%rip), %rdi
LBB0_9:
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"Loaded %s driver OK.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to load driver file apr_dbd_%s.so\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to load driver apr_dbd_%s_driver.\n"

L_.str.4:                               ## @.str.4
	.asciz	"No driver available for %s.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Internal error loading %s.\n"

L_.str.6:                               ## @.str.6
	.asciz	"Opened %s[%s] OK\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to open %s[%s]\n"

L_.str.8:                               ## @.str.8
	.asciz	"Internal error opening %s[%s]\n"

L_.str.9:                               ## @.str.9
	.asciz	"create table"

	.comm	_create_table,4,2               ## @create_table
L_.str.10:                              ## @.str.10
	.asciz	"insert rows"

	.comm	_insert_rows,4,2                ## @insert_rows
L_.str.11:                              ## @.str.11
	.asciz	"invalid op"

	.comm	_invalid_op,4,2                 ## @invalid_op
L_.str.12:                              ## @.str.12
	.asciz	"select random"

	.comm	_select_random,4,2              ## @select_random
L_.str.13:                              ## @.str.13
	.asciz	"select sequential"

	.comm	_select_sequential,4,2          ## @select_sequential
L_.str.14:                              ## @.str.14
	.asciz	"transactions"

	.comm	_test_transactions,4,2          ## @test_transactions
L_.str.15:                              ## @.str.15
	.asciz	"prepared select"

	.comm	_test_pselect,4,2               ## @test_pselect
L_.str.16:                              ## @.str.16
	.asciz	"prepared query"

	.comm	_test_pquery,4,2                ## @test_pquery
L_.str.17:                              ## @.str.17
	.asciz	"drop table"

	.comm	_drop_table,4,2                 ## @drop_table
	.comm	_stderr,4,2                     ## @stderr
L_.str.18:                              ## @.str.18
	.asciz	"Usage: %s driver-name [params]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	bl	_apr_initialize
	add	x0, sp, #24
	mov	x1, #0
	bl	_apr_pool_create
	and	w8, w21, #0xfffffffe
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.1:
	ldr	x19, [x20, #8]
	cmp	w21, #3
	b.ne	LBB0_4
; %bb.2:
	ldr	x20, [x20, #16]
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [x20]
Lloh3:
	adrp	x1, l_.str.18@PAGE
Lloh4:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_fprintf
	b	LBB0_17
LBB0_4:
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
LBB0_5:
	ldr	x0, [sp, #24]
	bl	_apr_dbd_init
Lloh7:
	adrp	x8, _stdout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_setbuf
	ldr	x0, [sp, #24]
	add	x2, sp, #8
	mov	x1, x19
	bl	_apr_dbd_get_driver
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_13
; %bb.6:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
	ldr	x0, [sp, #8]
	ldr	x1, [sp, #24]
	add	x3, sp, #16
	mov	x2, x20
	bl	_apr_dbd_open
	cmp	w0, #128
	b.eq	LBB0_14
; %bb.8:
	cmp	w0, #131
	b.ne	LBB0_15
; %bb.9:
	str	x20, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_16
LBB0_10:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_11:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_16
LBB0_14:
	str	x20, [sp]
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x19
	bl	_printf
Lloh26:
	adrp	x8, _create_table@GOTPAGE
Lloh27:
	ldr	x8, [x8, _create_table@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x0, l_.str.9@PAGE
Lloh30:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_TEST
Lloh31:
	adrp	x8, _insert_rows@GOTPAGE
Lloh32:
	ldr	x8, [x8, _insert_rows@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x0, l_.str.10@PAGE
Lloh35:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_TEST
Lloh36:
	adrp	x8, _invalid_op@GOTPAGE
Lloh37:
	ldr	x8, [x8, _invalid_op@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x0, l_.str.11@PAGE
Lloh40:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_TEST
Lloh41:
	adrp	x8, _select_random@GOTPAGE
Lloh42:
	ldr	x8, [x8, _select_random@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x0, l_.str.12@PAGE
Lloh45:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_TEST
Lloh46:
	adrp	x8, _select_sequential@GOTPAGE
Lloh47:
	ldr	x8, [x8, _select_sequential@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x0, l_.str.13@PAGE
Lloh50:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_TEST
Lloh51:
	adrp	x8, _test_transactions@GOTPAGE
Lloh52:
	ldr	x8, [x8, _test_transactions@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x0, l_.str.14@PAGE
Lloh55:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_TEST
Lloh56:
	adrp	x8, _test_pselect@GOTPAGE
Lloh57:
	ldr	x8, [x8, _test_pselect@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
Lloh59:
	adrp	x0, l_.str.15@PAGE
Lloh60:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_TEST
Lloh61:
	adrp	x8, _test_pquery@GOTPAGE
Lloh62:
	ldr	x8, [x8, _test_pquery@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
Lloh64:
	adrp	x0, l_.str.16@PAGE
Lloh65:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_TEST
Lloh66:
	adrp	x8, _drop_table@GOTPAGE
Lloh67:
	ldr	x8, [x8, _drop_table@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
Lloh69:
	adrp	x0, l_.str.17@PAGE
Lloh70:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_TEST
	ldp	x0, x1, [sp, #8]
	bl	_apr_dbd_close
	b	LBB0_17
LBB0_15:
	str	x20, [sp]
Lloh71:
	adrp	x0, l_.str.8@PAGE
Lloh72:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_16:
	mov	x1, x19
	bl	_printf
LBB0_17:
	ldr	x0, [sp, #24]
	bl	_apr_pool_destroy
	bl	_apr_terminate
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh71, Lloh72
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"Loaded %s driver OK.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to load driver file apr_dbd_%s.so\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to load driver apr_dbd_%s_driver.\n"

l_.str.4:                               ; @.str.4
	.asciz	"No driver available for %s.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Internal error loading %s.\n"

l_.str.6:                               ; @.str.6
	.asciz	"Opened %s[%s] OK\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to open %s[%s]\n"

l_.str.8:                               ; @.str.8
	.asciz	"Internal error opening %s[%s]\n"

l_.str.9:                               ; @.str.9
	.asciz	"create table"

	.comm	_create_table,4,2               ; @create_table
l_.str.10:                              ; @.str.10
	.asciz	"insert rows"

	.comm	_insert_rows,4,2                ; @insert_rows
l_.str.11:                              ; @.str.11
	.asciz	"invalid op"

	.comm	_invalid_op,4,2                 ; @invalid_op
l_.str.12:                              ; @.str.12
	.asciz	"select random"

	.comm	_select_random,4,2              ; @select_random
l_.str.13:                              ; @.str.13
	.asciz	"select sequential"

	.comm	_select_sequential,4,2          ; @select_sequential
l_.str.14:                              ; @.str.14
	.asciz	"transactions"

	.comm	_test_transactions,4,2          ; @test_transactions
l_.str.15:                              ; @.str.15
	.asciz	"prepared select"

	.comm	_test_pselect,4,2               ; @test_pselect
l_.str.16:                              ; @.str.16
	.asciz	"prepared query"

	.comm	_test_pquery,4,2                ; @test_pquery
l_.str.17:                              ; @.str.17
	.asciz	"drop table"

	.comm	_drop_table,4,2                 ; @drop_table
	.comm	_stderr,4,2                     ; @stderr
l_.str.18:                              ; @.str.18
	.asciz	"Usage: %s driver-name [params]\n"

.subsections_via_symbols
