	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_pquery
_test_pquery:                           ## @test_pquery
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	leaq	-48(%rbp), %r9
	movq	%rdx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_apr_dbd_prepare
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_apr_dbd_error
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_2:
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_apr_dbd_transaction_start
	movq	-48(%rbp), %r8
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rbx
	leaq	L_.str.3(%rip), %r9
	leaq	-52(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	pushq	$0
	pushq	%rax
	pushq	%rbx
	callq	_apr_dbd_pvquery
	addq	$32, %rsp
	movl	%eax, %ebx
	movq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_apr_dbd_transaction_end
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_apr_dbd_error
	leaq	L_.str.6(%rip), %rdi
LBB0_4:
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_6:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_select_sequential
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INSERT INTO apr_dbd_test VALUES (%s, %s, %d)"

L_.str.1:                               ## @.str.1
	.asciz	"testpquery"

L_.str.2:                               ## @.str.2
	.asciz	"Prepare statement failed!\n%s\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"insert"

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

L_.str.6:                               ## @.str.6
	.asciz	"Exec of prepared statement failed!\n%s\n"

L_str:                                  ## @str
	.asciz	"Showing table (should now contain row \"prepared insert 2\")"

	.no_dead_strip	_test_pquery
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_pquery
_test_pquery:                           ; @test_pquery
	.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, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #24]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
Lloh2:
	adrp	x4, l_.str.1@PAGE
Lloh3:
	add	x4, x4, l_.str.1@PAGEOFF
	add	x5, sp, #24
	mov	x0, x2
	mov	x1, x21
	mov	x2, x19
	bl	_apr_dbd_prepare
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_apr_dbd_error
	str	x0, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	b	LBB0_5
LBB0_2:
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_apr_dbd_transaction_start
	ldr	x4, [sp, #24]
	str	xzr, [sp]
Lloh6:
	adrp	x5, l_.str.3@PAGE
Lloh7:
	add	x5, x5, l_.str.3@PAGEOFF
Lloh8:
	adrp	x6, l_.str.4@PAGE
Lloh9:
	add	x6, x6, l_.str.4@PAGEOFF
Lloh10:
	adrp	x7, l_.str.5@PAGE
Lloh11:
	add	x7, x7, l_.str.5@PAGEOFF
	add	x3, sp, #20
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_apr_dbd_pvquery
	mov	x22, x0
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_apr_dbd_transaction_end
	cbz	w22, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_apr_dbd_error
	str	x0, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x0, l_str@PAGE
Lloh15:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_select_sequential
LBB0_5:
	mov	x0, x22
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INSERT INTO apr_dbd_test VALUES (%s, %s, %d)"

l_.str.1:                               ; @.str.1
	.asciz	"testpquery"

l_.str.2:                               ; @.str.2
	.asciz	"Prepare statement failed!\n%s\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"insert"

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

l_.str.6:                               ; @.str.6
	.asciz	"Exec of prepared statement failed!\n%s\n"

l_str:                                  ; @str
	.asciz	"Showing table (should now contain row \"prepared insert 2\")"

	.no_dead_strip	_test_pquery
.subsections_via_symbols
