	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select_sequential
_select_sequential:                     ## @select_sequential
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	L_.str(%rip), %r8
	leaq	-48(%rbp), %rcx
	movq	%rdx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%r9d, %r9d
	callq	_apr_dbd_select
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_apr_dbd_error
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_12
LBB0_2:
	movq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$-1, %r8d
	callq	_apr_dbd_get_row
	testl	%eax, %eax
	je	LBB0_3
LBB0_11:
	xorl	%r14d, %r14d
	cmpl	$-1, %eax
	setne	%r14b
LBB0_12:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %r12
	leaq	L_.str.4(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_fputs
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-56(%rbp), %rcx
	movl	$-1, %r8d
	callq	_apr_dbd_get_row
	testl	%eax, %eax
	jne	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	incl	%r15d
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_apr_dbd_num_cols
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%r13, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	%r14d
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_apr_dbd_num_cols
	cmpl	%eax, %r14d
	jge	LBB0_10
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_apr_dbd_get_entry
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT * FROM apr_dbd_test ORDER BY col1, col2"

L_.str.1:                               ## @.str.1
	.asciz	"Select failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"ROW %d:\t"

L_.str.3:                               ## @.str.3
	.asciz	"(null)\t"

L_.str.4:                               ## @.str.4
	.asciz	"%s\t"

L_.str.5:                               ## @.str.5
	.asciz	"\n"

	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_select_sequential
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_sequential
_select_sequential:                     ; @select_sequential
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x22, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	add	x3, sp, #24
	mov	x0, x2
	mov	x1, x20
	mov	x2, x22
	mov	w5, #0
	bl	_apr_dbd_select
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_apr_dbd_error
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	b	LBB0_4
LBB0_2:
	ldr	x2, [sp, #24]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x20
	mov	w4, #-1
	bl	_apr_dbd_get_row
	cbz	w0, LBB0_5
LBB0_3:
	cmn	w0, #1
	cset	w21, ne
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	mov	w26, #0
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh6:
	adrp	x22, l_.str.3@PAGE
Lloh7:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh8:
	adrp	x23, l_.str.4@PAGE
Lloh9:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh10:
	adrp	x27, _stdout@GOTPAGE
Lloh11:
	ldr	x27, [x27, _stdout@GOTPAGEOFF]
Lloh12:
	adrp	x24, l_.str.5@PAGE
Lloh13:
	add	x24, x24, l_.str.5@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x27]
	mov	x0, x24
	bl	_fputs
	ldr	x2, [sp, #24]
	add	x3, sp, #16
	mov	x0, x19
	mov	x1, x20
	mov	w4, #-1
	bl	_apr_dbd_get_row
	cbnz	w0, LBB0_3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	add	w26, w26, #1
	str	x26, [sp]
	mov	x0, x21
	bl	_printf
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_apr_dbd_num_cols
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w25, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	str	x0, [sp]
	mov	x0, x23
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	bl	_printf
	add	w25, w25, #1
	ldr	x1, [sp, #24]
	mov	x0, x19
	bl	_apr_dbd_num_cols
	cmp	w25, w0
	b.ge	LBB0_6
LBB0_11:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x1, [sp, #16]
	mov	x0, x19
	mov	x2, x25
	bl	_apr_dbd_get_entry
	cbnz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x22
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT * FROM apr_dbd_test ORDER BY col1, col2"

l_.str.1:                               ; @.str.1
	.asciz	"Select failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"ROW %d:\t"

l_.str.3:                               ; @.str.3
	.asciz	"(null)\t"

l_.str.4:                               ; @.str.4
	.asciz	"%s\t"

l_.str.5:                               ; @.str.5
	.asciz	"\n"

	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_select_sequential
.subsections_via_symbols
