	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_stmt_iter_get              ## -- Begin function pdo_stmt_iter_get
	.p2align	4, 0x90
_pdo_stmt_iter_get:                     ## @pdo_stmt_iter_get
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_Z_PDO_STMT_P
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_zend_throw_error
	jmp	LBB0_4
LBB0_2:
	movq	%rax, %r14
	movl	$1, %edi
	movl	$32, %esi
	callq	_ecalloc
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_zend_iterator_init
	movq	_pdo_stmt_iter_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movq	%r15, %rdi
	callq	_Z_ADDREF_P
	movq	%r15, %rdi
	callq	_Z_OBJ_P
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ZVAL_OBJ
	leaq	16(%r12), %r15
	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	%r14, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	xorl	%r9d, %r9d
	callq	_do_fetch
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_PDO_HANDLE_STMT_ERR
	movq	$-1, 24(%r12)
	movq	%r15, %rdi
	callq	_ZVAL_UNDEF
LBB0_4:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"An iterator cannot be used with foreach by reference"

	.comm	_pdo_stmt_iter_funcs,4,2        ## @pdo_stmt_iter_funcs
	.comm	_PDO_FETCH_USE_DEFAULT,4,2      ## @PDO_FETCH_USE_DEFAULT
	.comm	_PDO_FETCH_ORI_NEXT,4,2         ## @PDO_FETCH_ORI_NEXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pdo_stmt_iter_get              ; -- Begin function pdo_stmt_iter_get
	.p2align	2
_pdo_stmt_iter_get:                     ; @pdo_stmt_iter_get
	.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, x2
	mov	x21, x1
	mov	x0, x1
	bl	_Z_PDO_STMT_P
	cbz	w19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	bl	_zend_throw_error
	mov	x19, #0
	b	LBB0_4
LBB0_2:
	mov	x20, x0
	mov	w0, #1
	mov	w1, #32
	bl	_ecalloc
	mov	x19, x0
	bl	_zend_iterator_init
Lloh2:
	adrp	x8, _pdo_stmt_iter_funcs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pdo_stmt_iter_funcs@GOTPAGEOFF]
	str	x8, [x19, #8]
	mov	x0, x21
	bl	_Z_ADDREF_P
	mov	x0, x21
	bl	_Z_OBJ_P
	mov	x1, x0
	mov	x0, x19
	bl	_ZVAL_OBJ
	add	x21, x19, #16
Lloh4:
	adrp	x8, _PDO_FETCH_USE_DEFAULT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PDO_FETCH_USE_DEFAULT@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
Lloh7:
	adrp	x8, _PDO_FETCH_ORI_NEXT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PDO_FETCH_ORI_NEXT@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x21
	mov	w5, #0
	mov	w6, #0
	bl	_do_fetch
	cbnz	w0, LBB0_4
; %bb.3:
	bl	_PDO_HANDLE_STMT_ERR
	mov	x8, #-1
	str	x8, [x19, #24]
	mov	x0, x21
	bl	_ZVAL_UNDEF
LBB0_4:
	mov	x0, 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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"An iterator cannot be used with foreach by reference"

	.comm	_pdo_stmt_iter_funcs,4,2        ; @pdo_stmt_iter_funcs
	.comm	_PDO_FETCH_USE_DEFAULT,4,2      ; @PDO_FETCH_USE_DEFAULT
	.comm	_PDO_FETCH_ORI_NEXT,4,2         ; @PDO_FETCH_ORI_NEXT
.subsections_via_symbols
