	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mysqlnd_fetch_stmt_row_cursor  ## -- Begin function mysqlnd_fetch_stmt_row_cursor
	.p2align	4, 0x90
_mysqlnd_fetch_stmt_row_cursor:         ## @mysqlnd_fetch_stmt_row_cursor
	.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
	movl	%edx, %r13d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$1, %r12b
	testq	%rsi, %rsi
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	40(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_4:
	movq	_MYSQLND_STMT_ID_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$4, %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	testb	%r12b, %r12b
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_9
## %bb.5:
	testq	%r12, %r12
	je	LBB0_9
## %bb.6:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 40(%rax)
	je	LBB0_9
## %bb.7:
	cmpl	$0, 24(%r12)
	je	LBB0_9
## %bb.8:
	cmpq	$0, 8(%r12)
	jne	LBB0_10
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_DBG_ERR
	movq	_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_DBG_RETURN
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %edx
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movq	8(%r13), %rax
	movq	_MYSQLND_STMT_USER_FETCHING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	movq	_CR_COMMANDS_OUT_OF_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UNKNOWN_SQLSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mysqlnd_out_of_sync@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_SET_CLIENT_ERROR
	leaq	L_.str.3(%rip), %rdi
	callq	_DBG_ERR
	movq	_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_DBG_RETURN
LBB0_12:
	movq	8(%r12), %rax
	movq	48(%rax), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_DBG_RETURN
LBB0_14:
	movq	32(%r13), %rdi
	callq	_SET_EMPTY_ERROR
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rdi
	callq	_SET_EMPTY_ERROR
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_int4store
	movq	_MYSQLND_STMT_ID_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movl	$1, %esi
	callq	_int4store
	shll	$2, %ebx
	movq	24(%r15), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	*(%rax)
	movq	_FAIL@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_16
## %bb.15:
	movq	32(%r13), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movl	(%rax), %esi
	callq	_COPY_CLIENT_ERROR
	movq	(%r14), %rdi
	callq	_DBG_RETURN
LBB0_16:
	cmpq	$0, 24(%r13)
	jne	LBB0_17
## %bb.18:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_19:
	movq	(%rax), %rax
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%rax, 48(%r12)
	movl	16(%r13), %edi
	callq	_UPSERT_STATUS_RESET
	movq	_PASS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_PACKET_READ
	cmpq	%rax, %rbx
	jne	LBB0_39
## %bb.20:
	cmpq	$0, 8(%r12)
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_21
LBB0_39:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%rax, (%r14)
	movl	16(%r13), %edi
	movl	(%r12), %esi
	callq	_UPSERT_STATUS_SET_WARNINGS
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	movl	(%r12), %esi
	callq	_UPSERT_STATUS_SET_WARNINGS
	movl	16(%r13), %edi
	movl	4(%r12), %esi
	callq	_UPSERT_STATUS_SET_SERVER_STATUS
	movl	(%rbx), %edi
	movl	4(%r12), %esi
	callq	_UPSERT_STATUS_SET_SERVER_STATUS
	movq	8(%r12), %rax
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rcx
	movq	%rax, (%rcx)
LBB0_40:
	movl	16(%r13), %edi
	movl	(%r12), %esi
	callq	_UPSERT_STATUS_SET_WARNINGS
	movl	(%rbx), %edi
	movl	(%r12), %esi
	callq	_UPSERT_STATUS_SET_WARNINGS
	movl	16(%r13), %edi
	movl	4(%r12), %esi
	callq	_UPSERT_STATUS_SET_SERVER_STATUS
	movl	(%rbx), %edi
	movl	4(%r12), %esi
	callq	_UPSERT_STATUS_SET_SERVER_STATUS
	movq	_PASS@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	(%rax), %rbx
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	(%r14), %rdx
	movl	(%r12), %r8d
	movl	4(%r12), %ecx
	movq	8(%r15), %rax
	movq	(%rax), %r9
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movq	%rbx, %rdi
	callq	_DBG_RETURN
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.41:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	cmpq	$0, 48(%r12)
	je	LBB0_22
## %bb.35:
	leaq	L_.str.5(%rip), %rdi
	callq	_DBG_INF
	movq	16(%r12), %rsi
	movq	24(%r12), %rdi
	callq	*(%rdi)
	movq	$0, 16(%r12)
LBB0_36:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rsi
	callq	_PACKET_READ
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_38
## %bb.37:
	movq	24(%r12), %rdi
	callq	*(%rdi)
	movq	$0, 16(%r12)
LBB0_38:
	movl	4(%rbx), %edi
	movq	_STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MYSQLND_INC_CONN_STATISTIC
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	incl	8(%rax)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%rax, (%r14)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_22:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r13), %esi
	callq	*40(%rdi)
	movq	40(%r12), %rax
	movq	8(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	16(%r12), %rax
	movq	%rax, 24(%rcx)
	movq	$0, 40(%r12)
	movq	$0, 16(%r12)
	movq	_PASS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	8(%rbx), %rax
	leaq	24(%rax), %rdi
	movq	16(%rax), %rsi
	movl	32(%r12), %ecx
	movl	36(%r12), %edx
	movq	8(%r13), %rbx
	movl	(%rbx), %r8d
	movl	4(%r13), %r9d
	callq	*32(%rax)
	cmpq	%rax, %r15
	je	LBB0_24
## %bb.23:
	movq	(%r14), %rdi
	callq	_DBG_RETURN
LBB0_24:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.25:
	shlq	$2, %rcx
	movl	$8, %r12d
	movq	_TRUE@GOTPCREL(%rip), %rdx
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZEND_TRY_ASSIGN_VALUE_EX
	movq	%r15, %rdi
	callq	_ZVAL_NULL
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %rdx
LBB0_34:                                ##   in Loop: Header=BB0_26 Depth=1
	incl	%ebx
	addq	$4, %r13
	addq	$16, %r12
	cmpq	%r13, %rcx
	je	LBB0_36
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %r14
	movq	(%r14,%r13,4), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_34
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	addq	%r12, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	16(%rax), %r15
	addq	%r13, %r15
	movq	%r15, %rdi
	callq	_Z_TYPE_P
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movl	8(%rax,%r13,4), %edi
	callq	_Z_REFCOUNTED
	testq	%rax, %rax
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movl	8(%rax,%r13,4), %edi
	callq	_Z_REFCOUNT
	movl	%eax, %r8d
	jmp	LBB0_30
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=1
	xorl	%r8d, %r8d
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movq	%r15, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r13,2), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_Z_STRLEN_P
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	jge	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%r15, %rdi
	callq	_Z_STRLEN_P
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%r13,2)
	jmp	LBB0_33
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MYSQLND_STMT_ID_LENGTH,4,2     ## @MYSQLND_STMT_ID_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mysqlnd_fetch_stmt_row_cursor"

L_.str.1:                               ## @.str.1
	.asciz	"no statement"

	.comm	_FAIL,8,3                       ## @FAIL
L_.str.2:                               ## @.str.2
	.asciz	"stmt=%lu flags=%u"

	.comm	_MYSQLND_STMT_USER_FETCHING,8,3 ## @MYSQLND_STMT_USER_FETCHING
	.comm	_CR_COMMANDS_OUT_OF_SYNC,4,2    ## @CR_COMMANDS_OUT_OF_SYNC
	.comm	_UNKNOWN_SQLSTATE,4,2           ## @UNKNOWN_SQLSTATE
	.comm	_mysqlnd_out_of_sync,4,2        ## @mysqlnd_out_of_sync
L_.str.3:                               ## @.str.3
	.asciz	"command out of sync"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_PASS,8,3                       ## @PASS
L_.str.4:                               ## @.str.4
	.asciz	"i=%u bound_var=%p type=%u refc=%u"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
L_.str.5:                               ## @.str.5
	.asciz	"skipping extraction"

	.comm	_STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR,4,2 ## @STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR
L_.str.6:                               ## @.str.6
	.asciz	"ret=%s fetched=%u server_status=%u warnings=%u eof=%u"

L_.str.7:                               ## @.str.7
	.asciz	"PASS"

L_.str.8:                               ## @.str.8
	.asciz	"FAIL"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mysqlnd_fetch_stmt_row_cursor  ; -- Begin function mysqlnd_fetch_stmt_row_cursor
	.p2align	2
_mysqlnd_fetch_stmt_row_cursor:         ; @mysqlnd_fetch_stmt_row_cursor
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x22, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	x3, [x29, #-96]                 ; 8-byte Folded Spill
	cbz	x1, LBB0_3
; %bb.1:
	ldr	x27, [x1]
	cbz	x27, LBB0_4
; %bb.2:
	mov	w19, #0
	ldr	x21, [x27, #40]
	b	LBB0_5
LBB0_3:
	mov	x27, #0
LBB0_4:
	mov	x21, #0
	mov	w19, #1
LBB0_5:
Lloh3:
	adrp	x26, _MYSQLND_STMT_ID_LENGTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MYSQLND_STMT_ID_LENGTH@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w25, w8, #4
	lsl	x8, x25, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
Lloh9:
	adrp	x24, _FAIL@GOTPAGE
Lloh10:
	ldr	x24, [x24, _FAIL@GOTPAGEOFF]
	tbnz	w19, #0, LBB0_10
; %bb.6:
	cbz	x20, LBB0_10
; %bb.7:
	ldr	x8, [x27, #40]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_10
; %bb.9:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_11
LBB0_10:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG_ERR
	ldr	x0, [x24]
	bl	_DBG_RETURN
LBB0_11:
	ldr	w8, [x27]
	stp	x8, x22, [sp, #-16]!
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBG_INF_FMT
	add	sp, sp, #16
	ldr	x8, [x27, #8]
Lloh15:
	adrp	x9, _MYSQLND_STMT_USER_FETCHING@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MYSQLND_STMT_USER_FETCHING@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_13
; %bb.12:
	ldr	x0, [x21, #16]
Lloh18:
	adrp	x8, _CR_COMMANDS_OUT_OF_SYNC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CR_COMMANDS_OUT_OF_SYNC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _UNKNOWN_SQLSTATE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UNKNOWN_SQLSTATE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
Lloh24:
	adrp	x8, _mysqlnd_out_of_sync@GOTPAGE
Lloh25:
	ldr	x8, [x8, _mysqlnd_out_of_sync@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	bl	_SET_CLIENT_ERROR
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DBG_ERR
	ldr	x0, [x24]
	bl	_DBG_RETURN
LBB0_13:
	ldr	x8, [x20, #8]
	ldr	x22, [x8, #48]
	cbnz	x22, LBB0_15
; %bb.14:
	ldr	x0, [x24]
	bl	_DBG_RETURN
LBB0_15:
	ldr	x0, [x27, #32]
	bl	_SET_EMPTY_ERROR
	ldr	x0, [x21, #16]
	bl	_SET_EMPTY_ERROR
	ldr	w1, [x27]
	mov	x0, x23
	bl	_int4store
	ldrsw	x8, [x26]
	add	x0, x23, x8, lsl #2
	mov	w1, #1
	bl	_int4store
	lsl	w2, w25, #2
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x23
	blr	x8
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.16:
	ldr	x0, [x27, #32]
	ldr	x8, [x21, #16]
	ldr	w1, [x8]
	bl	_COPY_CLIENT_ERROR
	ldr	x0, [x24]
	bl	_DBG_RETURN
LBB0_17:
Lloh29:
	adrp	x19, _FALSE@GOTPAGE
Lloh30:
	ldr	x19, [x19, _FALSE@GOTPAGEOFF]
Lloh31:
	adrp	x28, _TRUE@GOTPAGE
Lloh32:
	ldr	x28, [x28, _TRUE@GOTPAGEOFF]
	ldr	x8, [x27, #24]
	cmp	x8, #0
	csel	x8, x28, x19, eq
	ldr	x8, [x8]
	str	x8, [x22, #48]
	ldr	w0, [x27, #16]
	bl	_UPSERT_STATUS_RESET
Lloh33:
	adrp	x26, _PASS@GOTPAGE
Lloh34:
	ldr	x26, [x26, _PASS@GOTPAGEOFF]
	ldr	x25, [x26]
	mov	x0, x21
	mov	x1, x22
	bl	_PACKET_READ
	mov	x23, x0
	cmp	x25, x0
	b.ne	LBB0_19
; %bb.18:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_22
LBB0_19:
	ldr	x8, [x19]
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	str	x8, [x19]
	ldr	w0, [x27, #16]
	ldr	w1, [x22]
	bl	_UPSERT_STATUS_SET_WARNINGS
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_UPSERT_STATUS_SET_WARNINGS
	ldr	w0, [x27, #16]
	ldr	w1, [x22, #4]
	bl	_UPSERT_STATUS_SET_SERVER_STATUS
	ldr	w0, [x21]
	ldr	w1, [x22, #4]
	bl	_UPSERT_STATUS_SET_SERVER_STATUS
	ldr	x8, [x22, #8]
	ldr	x9, [x20, #8]
	str	x8, [x9]
LBB0_20:
	ldr	w0, [x27, #16]
	ldr	w1, [x22]
	bl	_UPSERT_STATUS_SET_WARNINGS
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_UPSERT_STATUS_SET_WARNINGS
	ldr	w0, [x27, #16]
	ldr	w1, [x22, #4]
	bl	_UPSERT_STATUS_SET_SERVER_STATUS
	ldr	w0, [x21]
	ldr	w1, [x22, #4]
	bl	_UPSERT_STATUS_SET_SERVER_STATUS
	ldr	x8, [x26]
Lloh35:
	adrp	x9, l_.str.8@PAGE
Lloh36:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh37:
	adrp	x10, l_.str.7@PAGE
Lloh38:
	add	x10, x10, l_.str.7@PAGEOFF
	cmp	x23, x8
	csel	x8, x10, x9, eq
	ldr	x9, [x19]
	ldr	x10, [x20, #8]
	ldr	x10, [x10]
	ldp	w12, w11, [x22]
	sub	sp, sp, #48
	stp	x12, x10, [sp, #24]
	stp	x9, x11, [sp, #8]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.6@PAGE
Lloh40:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DBG_INF_FMT
	add	sp, sp, #48
	mov	x0, x23
	bl	_DBG_RETURN
	ldur	x8, [x29, #-88]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.21:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
	ldr	x8, [x22, #48]
	stur	x20, [x29, #-104]               ; 8-byte Folded Spill
	cbz	x8, LBB0_27
; %bb.23:
Lloh44:
	adrp	x0, l_.str.5@PAGE
Lloh45:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DBG_INF
	ldp	x1, x0, [x22, #16]
	ldr	x8, [x0]
	blr	x8
	str	xzr, [x22, #16]
LBB0_24:
	mov	x0, x21
	mov	x1, x22
	bl	_PACKET_READ
	mov	x23, x0
	ldr	x1, [x22, #16]
	cbz	x1, LBB0_26
; %bb.25:
	ldr	x0, [x22, #24]
	ldr	x8, [x0]
	blr	x8
	str	xzr, [x22, #16]
LBB0_26:
	ldr	w0, [x21, #4]
Lloh46:
	adrp	x8, _STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_MYSQLND_INC_CONN_STATISTIC
	ldp	x20, x19, [x29, #-104]          ; 16-byte Folded Reload
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	ldr	x8, [x28]
	str	x8, [x19]
	b	LBB0_20
LBB0_27:
	mov	x23, x20
	ldr	w20, [x20]
	ldp	x0, x8, [x23, #8]
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	ldr	x8, [x0, #40]
	ldr	w1, [x21, #4]
	blr	x8
	ldr	x8, [x22, #40]
	ldr	x9, [x23, #8]
	str	x8, [x9, #16]
	ldr	x8, [x22, #16]
	str	x8, [x9, #24]
	str	xzr, [x22, #40]
	str	xzr, [x22, #16]
	ldr	x19, [x26]
	ldr	x8, [x23, #8]
	ldr	x9, [x8, #32]
	add	x0, x8, #24
	ldr	x1, [x8, #16]
	ldp	w3, w2, [x22, #32]
	ldr	x8, [x21, #8]
	ldr	w4, [x8]
	ldr	w5, [x21, #4]
	blr	x9
	cmp	x19, x0
	b.eq	LBB0_29
; %bb.28:
	ldr	x0, [x24]
	bl	_DBG_RETURN
LBB0_29:
	cbz	w20, LBB0_24
; %bb.30:
	mov	x19, #0
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x24
	mov	x1, x25
	mov	w2, #0
	bl	_ZEND_TRY_ASSIGN_VALUE_EX
	mov	x0, x25
	bl	_ZVAL_NULL
	mov	x26, x28
	mov	x28, x23
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x19, x19, #1
	cmp	x19, x20
	b.eq	LBB0_24
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, #24]
	add	x24, x8, x19, lsl #4
	ldr	x8, [x24], #8
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x23, x28
	mov	x28, x26
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #16]
	add	x25, x8, x19, lsl #2
	mov	x0, x25
	bl	_Z_TYPE_P
	mov	x26, x0
	ldr	x8, [x27, #24]
	add	x8, x8, x19, lsl #4
	ldr	w0, [x8, #8]
	bl	_Z_REFCOUNTED
	cbz	x0, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x27, #24]
	add	x8, x8, x19, lsl #4
	ldr	w0, [x8, #8]
	bl	_Z_REFCOUNT
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_36:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	sp, sp, #32
	stp	x26, x0, [sp, #16]
	stp	x19, x24, [sp]
Lloh49:
	adrp	x0, l_.str.4@PAGE
Lloh50:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DBG_INF_FMT
	add	sp, sp, #32
	mov	x0, x25
	bl	_Z_TYPE_P
Lloh51:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh52:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_31
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x26, [x8, x19, lsl #3]
	mov	x0, x25
	bl	_Z_STRLEN_P
	cmp	x26, x0
	b.ge	LBB0_31
; %bb.38:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x25
	bl	_Z_STRLEN_P
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	x8, [x8]
	str	x0, [x8, x19, lsl #3]
	b	LBB0_31
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_MYSQLND_STMT_ID_LENGTH,4,2     ; @MYSQLND_STMT_ID_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mysqlnd_fetch_stmt_row_cursor"

l_.str.1:                               ; @.str.1
	.asciz	"no statement"

	.comm	_FAIL,8,3                       ; @FAIL
l_.str.2:                               ; @.str.2
	.asciz	"stmt=%lu flags=%u"

	.comm	_MYSQLND_STMT_USER_FETCHING,8,3 ; @MYSQLND_STMT_USER_FETCHING
	.comm	_CR_COMMANDS_OUT_OF_SYNC,4,2    ; @CR_COMMANDS_OUT_OF_SYNC
	.comm	_UNKNOWN_SQLSTATE,4,2           ; @UNKNOWN_SQLSTATE
	.comm	_mysqlnd_out_of_sync,4,2        ; @mysqlnd_out_of_sync
l_.str.3:                               ; @.str.3
	.asciz	"command out of sync"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_PASS,8,3                       ; @PASS
l_.str.4:                               ; @.str.4
	.asciz	"i=%u bound_var=%p type=%u refc=%u"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
l_.str.5:                               ; @.str.5
	.asciz	"skipping extraction"

	.comm	_STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR,4,2 ; @STAT_ROWS_FETCHED_FROM_CLIENT_PS_CURSOR
l_.str.6:                               ; @.str.6
	.asciz	"ret=%s fetched=%u server_status=%u warnings=%u eof=%u"

l_.str.7:                               ; @.str.7
	.asciz	"PASS"

l_.str.8:                               ; @.str.8
	.asciz	"FAIL"

.subsections_via_symbols
