	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_sqlite_stmt_fetch
_pdo_sqlite_stmt_fetch:                 ## @pdo_sqlite_stmt_fetch
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movl	4(%rbx), %edi
	xorl	%r14d, %r14d
	testl	%edi, %edi
	je	LBB0_11
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	$0, 8(%rbx)
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_3:
	cmpl	$0, (%rbx)
	jne	LBB0_11
## %bb.4:
	callq	_sqlite3_step
	cmpl	$128, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$129, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$130, %eax
	jne	LBB0_10
## %bb.8:
	movl	$1, (%rbx)
	movl	4(%rbx), %edi
	callq	_sqlite3_reset
	jmp	LBB0_11
LBB0_5:
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_9:
	movl	4(%rbx), %edi
	callq	_sqlite3_reset
LBB0_10:
	movq	%r15, %rdi
	callq	_pdo_sqlite_error_stmt
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pdo_sqlite_stmt_fetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_sqlite_stmt_fetch
_pdo_sqlite_stmt_fetch:                 ; @pdo_sqlite_stmt_fetch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w0, [x20, #4]
	cbz	w0, LBB0_12
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.2:
	str	xzr, [x20, #8]
	mov	w0, #1
	b	LBB0_12
LBB0_3:
	ldr	w8, [x20]
	cbnz	w8, LBB0_11
; %bb.4:
	bl	_sqlite3_step
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.5:
	cmp	w0, #129
	b.eq	LBB0_9
; %bb.6:
	cmp	w0, #130
	b.ne	LBB0_10
; %bb.7:
	mov	w8, #1
	str	w8, [x20]
	ldr	w0, [x20, #4]
	bl	_sqlite3_reset
	b	LBB0_11
LBB0_8:
	mov	w0, #1
	b	LBB0_12
LBB0_9:
	ldr	w0, [x20, #4]
	bl	_sqlite3_reset
LBB0_10:
	mov	x0, x19
	bl	_pdo_sqlite_error_stmt
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pdo_sqlite_stmt_fetch
.subsections_via_symbols
