	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_stmt_iter_move_forwards
_pdo_stmt_iter_move_forwards:           ## @pdo_stmt_iter_move_forwards
	.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, %rbx
	addq	$12, %rdi
	callq	_Z_PDO_STMT_P
	movq	%rax, %r15
	leaq	8(%rbx), %r14
	movl	8(%rbx), %edi
	callq	_Z_ISUNDEF
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_zval_ptr_dtor
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PDO_FETCH_USE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PDO_FETCH_ORI_NEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%r9d, %r9d
	callq	_do_fetch
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	incq	(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	callq	_PDO_HANDLE_STMT_ERR
	movq	$-1, (%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ZVAL_UNDEF                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_PDO_FETCH_USE_DEFAULT,4,2      ## @PDO_FETCH_USE_DEFAULT
	.comm	_PDO_FETCH_ORI_NEXT,4,2         ## @PDO_FETCH_ORI_NEXT
	.no_dead_strip	_pdo_stmt_iter_move_forwards
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_stmt_iter_move_forwards
_pdo_stmt_iter_move_forwards:           ; @pdo_stmt_iter_move_forwards
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	add	x0, x0, #12
	bl	_Z_PDO_STMT_P
	mov	x21, x0
	mov	x20, x19
	ldr	w0, [x20, #8]!
	bl	_Z_ISUNDEF
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_zval_ptr_dtor
LBB0_2:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _PDO_FETCH_USE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PDO_FETCH_USE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _PDO_FETCH_ORI_NEXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PDO_FETCH_ORI_NEXT@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	w5, #0
	mov	w6, #0
	bl	_do_fetch
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_PDO_HANDLE_STMT_ERR
	mov	x8, #-1
	str	x8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ZVAL_UNDEF
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_PDO_FETCH_USE_DEFAULT,4,2      ; @PDO_FETCH_USE_DEFAULT
	.comm	_PDO_FETCH_ORI_NEXT,4,2         ; @PDO_FETCH_ORI_NEXT
	.no_dead_strip	_pdo_stmt_iter_move_forwards
.subsections_via_symbols
