	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_rows
_insert_rows:                           ## @insert_rows
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rcx
	leaq	-100(%rbp), %rdx
	movq	%r15, %rdi
	callq	_apr_dbd_query
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str.1(%rip), %r13
	movq	%r13, -96(%rbp)
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	leaq	-88(%rbp), %r14
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -88(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	leaq	-100(%rbp), %rdx
	movq	%r13, %rcx
	callq	_apr_dbd_query
	cmpl	$1, %eax
	sbbl	$-1, %ebx
	movq	(%r14), %r13
	addq	$8, %r14
	testq	%r13, %r13
	jne	LBB0_3
## %bb.4:
	movl	%eax, %r12d
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	leaq	L_.str.7(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_6
LBB0_1:
	xorl	%r12d, %r12d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INSERT into apr_dbd_test (col1) values ('foo');INSERT into apr_dbd_test values ('wibble', 'other', 5);INSERT into apr_dbd_test values ('wibble', 'nothing', 5);INSERT into apr_dbd_test values ('qwerty', 'foo', 0);INSERT into apr_dbd_test values ('asdfgh', 'bar', 1);"

L_.str.1:                               ## @.str.1
	.asciz	"INSERT into apr_dbd_test (col1) values ('foo');"

L_.str.2:                               ## @.str.2
	.asciz	"INSERT into apr_dbd_test values ('wibble', 'other', 5);"

L_.str.3:                               ## @.str.3
	.asciz	"INSERT into apr_dbd_test values ('wibble', 'nothing', 5);"

L_.str.4:                               ## @.str.4
	.asciz	"INSERT into apr_dbd_test values ('qwerty', 'foo', 0);"

L_.str.5:                               ## @.str.5
	.asciz	"INSERT into apr_dbd_test values ('asdfgh', 'bar', 1);"

L_.str.7:                               ## @.str.7
	.asciz	"%d single inserts failed too.\n"

L_str:                                  ## @str
	.asciz	"Compound insert failed; trying statements one-by-one"

	.no_dead_strip	_insert_rows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_rows
_insert_rows:                           ; @insert_rows
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	add	x2, sp, #20
	mov	x0, x19
	bl	_apr_dbd_query
	cbz	w0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	add	x8, sp, #24
	add	x23, x8, #8
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x21, x8, [sp, #24]
Lloh9:
	adrp	x8, l_.str.3@PAGE
Lloh10:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh11:
	adrp	x9, l_.str.4@PAGE
Lloh12:
	add	x9, x9, l_.str.4@PAGEOFF
	stp	x8, x9, [sp, #40]
Lloh13:
	adrp	x8, l_.str.5@PAGE
Lloh14:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x8, xzr, [sp, #56]
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #20
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_apr_dbd_query
	cmp	w0, #0
	cinc	w24, w24, ne
	ldr	x21, [x23], #8
	cbnz	x21, LBB0_2
; %bb.3:
	mov	x22, x0
	cbz	w24, LBB0_6
; %bb.4:
	str	x24, [sp]
Lloh17:
	adrp	x0, l_.str.7@PAGE
Lloh18:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	b	LBB0_6
LBB0_5:
	mov	w22, #0
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INSERT into apr_dbd_test (col1) values ('foo');INSERT into apr_dbd_test values ('wibble', 'other', 5);INSERT into apr_dbd_test values ('wibble', 'nothing', 5);INSERT into apr_dbd_test values ('qwerty', 'foo', 0);INSERT into apr_dbd_test values ('asdfgh', 'bar', 1);"

l_.str.1:                               ; @.str.1
	.asciz	"INSERT into apr_dbd_test (col1) values ('foo');"

l_.str.2:                               ; @.str.2
	.asciz	"INSERT into apr_dbd_test values ('wibble', 'other', 5);"

l_.str.3:                               ; @.str.3
	.asciz	"INSERT into apr_dbd_test values ('wibble', 'nothing', 5);"

l_.str.4:                               ; @.str.4
	.asciz	"INSERT into apr_dbd_test values ('qwerty', 'foo', 0);"

l_.str.5:                               ; @.str.5
	.asciz	"INSERT into apr_dbd_test values ('asdfgh', 'bar', 1);"

l_.str.7:                               ; @.str.7
	.asciz	"%d single inserts failed too.\n"

l_str:                                  ; @str
	.asciz	"Compound insert failed; trying statements one-by-one"

	.no_dead_strip	_insert_rows
.subsections_via_symbols
