	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_mysqlnd_rowp_read
_php_mysqlnd_rowp_read:                 ## @php_mysqlnd_rowp_read
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	24(%rdi), %r14
	movq	16(%rdi), %r12
	movq	(%rdi), %r15
	movq	8(%rdi), %rbx
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movl	88(%r13), %r8d
	leaq	64(%r13), %r9
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_php_mysqlnd_read_row_ex
	movq	%rax, %r14
	movq	_FAIL@GOTPCREL(%rip), %rbx
	cmpq	%rax, (%rbx)
	je	LBB0_17
## %bb.1:
	movq	_packet_type_to_statistic_byte_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PROT_ROW_PACKET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_MYSQLND_HEADER_SIZE@GOTPCREL(%rip), %rsi
	movq	80(%r13), %rdx
	addq	(%rsi), %rdx
	movl	(%rax,%rcx,4), %esi
	movq	_packet_type_to_statistic_packet_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ecx
	movq	%r15, %rdi
	movl	$1, %r8d
	callq	_MYSQLND_INC_CONN_STATISTIC_W_VALUE2
	movq	-48(%rbp), %rsi
	movq	%rsi, 80(%r13)
	movq	%rsi, 64(%r13)
	movq	_ERROR_MARKER@GOTPCREL(%rip), %rcx
	movq	72(%r13), %r12
	movq	(%r12), %rax
	cmpq	%rax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %r14
	addq	$8, %r12
	decq	%rsi
	movl	48(%r13), %r9d
	movl	56(%r13), %edx
	addq	$52, %r13
	movq	%r12, %rdi
	movl	$4, %ecx
	movq	%r13, %r8
	callq	_php_mysqlnd_read_error_from_line
	jmp	LBB0_17
LBB0_3:
	movq	_EODATA_MARKER@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_7
## %bb.4:
	cmpq	$7, %rsi
	ja	LBB0_7
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	cmpq	$2, %rsi
	jb	LBB0_17
## %bb.6:
	leaq	8(%r12), %rdi
	callq	_uint2korr
	movq	%rax, 32(%r13)
	addq	$24, %r12
	movq	%r12, %rdi
	callq	_uint2korr
	movq	%rax, 40(%r13)
	movq	32(%r13), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_DBG_INF_FMT
	jmp	LBB0_17
LBB0_7:
	cmpq	$0, (%r13)
	jne	LBB0_8
## %bb.9:
	movq	_STAT_ROWS_FETCHED_FROM_SERVER_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_STAT_ROWS_FETCHED_FROM_SERVER_PS@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MYSQLND_INC_CONN_STATISTIC
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	cmpl	$0, 24(%r13)
	je	LBB0_11
## %bb.13:
	cmpq	$0, (%r13)
	jne	LBB0_14
## %bb.15:
	movq	_STAT_ROWS_SKIPPED_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	cmpq	$0, 16(%r13)
	jne	LBB0_17
## %bb.12:
	leaq	L_.str.2(%rip), %rdi
	callq	_DBG_INF
	movl	8(%r13), %edi
	movl	$4, %esi
	callq	_mnd_ecalloc
	movq	%rax, 16(%r13)
	jmp	LBB0_17
LBB0_14:
	movq	_STAT_ROWS_SKIPPED_PS@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MYSQLND_INC_CONN_STATISTIC
LBB0_17:
	movq	%r14, %rdi
	callq	_DBG_RETURN
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PASS,8,3                       ## @PASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"php_mysqlnd_rowp_read"

	.comm	_FAIL,8,3                       ## @FAIL
	.comm	_packet_type_to_statistic_byte_count,8,3 ## @packet_type_to_statistic_byte_count
	.comm	_PROT_ROW_PACKET,8,3            ## @PROT_ROW_PACKET
	.comm	_MYSQLND_HEADER_SIZE,8,3        ## @MYSQLND_HEADER_SIZE
	.comm	_packet_type_to_statistic_packet_count,8,3 ## @packet_type_to_statistic_packet_count
	.comm	_ERROR_MARKER,8,3               ## @ERROR_MARKER
	.comm	_EODATA_MARKER,8,3              ## @EODATA_MARKER
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"server_status=%u warning_count=%u"

	.comm	_STAT_ROWS_FETCHED_FROM_SERVER_PS,4,2 ## @STAT_ROWS_FETCHED_FROM_SERVER_PS
	.comm	_STAT_ROWS_FETCHED_FROM_SERVER_NORMAL,4,2 ## @STAT_ROWS_FETCHED_FROM_SERVER_NORMAL
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	"Allocating packet->fields"

	.comm	_STAT_ROWS_SKIPPED_PS,4,2       ## @STAT_ROWS_SKIPPED_PS
	.comm	_STAT_ROWS_SKIPPED_NORMAL,4,2   ## @STAT_ROWS_SKIPPED_NORMAL
	.no_dead_strip	_php_mysqlnd_rowp_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_mysqlnd_rowp_read
_php_mysqlnd_rowp_read:                 ; @php_mysqlnd_rowp_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	ldp	x22, x19, [x0, #16]
	ldp	x21, x23, [x0]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
	ldr	w4, [x20, #88]
	add	x5, x20, #64
	add	x6, sp, #8
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	bl	_php_mysqlnd_read_row_ex
	mov	x19, x0
Lloh2:
	adrp	x22, _FAIL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FAIL@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x0
	b.eq	LBB0_11
; %bb.1:
Lloh4:
	adrp	x8, _packet_type_to_statistic_byte_count@GOTPAGE
Lloh5:
	ldr	x8, [x8, _packet_type_to_statistic_byte_count@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _PROT_ROW_PACKET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PROT_ROW_PACKET@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w1, [x8, x9]
Lloh10:
	adrp	x8, _MYSQLND_HEADER_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MYSQLND_HEADER_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x10, [x20, #80]
	add	x2, x10, x8
Lloh13:
	adrp	x8, _packet_type_to_statistic_packet_count@GOTPAGE
Lloh14:
	ldr	x8, [x8, _packet_type_to_statistic_packet_count@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w3, [x8, x9]
	mov	x0, x21
	mov	w4, #1
	bl	_MYSQLND_INC_CONN_STATISTIC_W_VALUE2
	ldr	x8, [sp, #8]
	str	x8, [x20, #80]
	str	x8, [x20, #64]
Lloh16:
	adrp	x9, _ERROR_MARKER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ERROR_MARKER@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x9]
	ldr	x23, [x20, #72]
	ldr	x9, [x23]
	cmp	x10, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x19, [x22]
	add	x0, x23, #8
	sub	x1, x8, #1
	ldr	w2, [x20, #56]
	add	x4, x20, #52
	ldr	w5, [x20, #48]
	mov	w3, #4
	bl	_php_mysqlnd_read_error_from_line
	b	LBB0_11
LBB0_3:
Lloh19:
	adrp	x10, _EODATA_MARKER@GOTPAGE
Lloh20:
	ldr	x10, [x10, _EODATA_MARKER@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_7
; %bb.4:
	cmp	x8, #7
	b.hi	LBB0_7
; %bb.5:
Lloh22:
	adrp	x9, _TRUE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	str	w9, [x20, #28]
	cmp	x8, #2
	b.lo	LBB0_11
; %bb.6:
	add	x0, x23, #8
	bl	_uint2korr
	str	x0, [x20, #32]
	add	x0, x23, #24
	bl	_uint2korr
	mov	x1, x0
	str	x0, [x20, #40]
	ldr	x2, [x20, #32]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG_INF_FMT
	b	LBB0_11
LBB0_7:
Lloh27:
	adrp	x8, _STAT_ROWS_FETCHED_FROM_SERVER_PS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _STAT_ROWS_FETCHED_FROM_SERVER_PS@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh29:
	adrp	x10, _STAT_ROWS_FETCHED_FROM_SERVER_NORMAL@GOTPAGE
Lloh30:
	ldr	x10, [x10, _STAT_ROWS_FETCHED_FROM_SERVER_NORMAL@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MYSQLND_INC_CONN_STATISTIC
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x20, #28]
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_9
; %bb.8:
Lloh34:
	adrp	x8, _STAT_ROWS_SKIPPED_PS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _STAT_ROWS_SKIPPED_PS@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh36:
	adrp	x10, _STAT_ROWS_SKIPPED_NORMAL@GOTPAGE
Lloh37:
	ldr	x10, [x10, _STAT_ROWS_SKIPPED_NORMAL@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, x21
	bl	_MYSQLND_INC_CONN_STATISTIC
	b	LBB0_11
LBB0_9:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_11
; %bb.10:
Lloh38:
	adrp	x0, l_.str.2@PAGE
Lloh39:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DBG_INF
	ldr	w0, [x20, #8]
	mov	w1, #4
	bl	_mnd_ecalloc
	str	x0, [x20, #16]
LBB0_11:
	mov	x0, x19
	bl	_DBG_RETURN
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_PASS,8,3                       ; @PASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"php_mysqlnd_rowp_read"

	.comm	_FAIL,8,3                       ; @FAIL
	.comm	_packet_type_to_statistic_byte_count,8,3 ; @packet_type_to_statistic_byte_count
	.comm	_PROT_ROW_PACKET,8,3            ; @PROT_ROW_PACKET
	.comm	_MYSQLND_HEADER_SIZE,8,3        ; @MYSQLND_HEADER_SIZE
	.comm	_packet_type_to_statistic_packet_count,8,3 ; @packet_type_to_statistic_packet_count
	.comm	_ERROR_MARKER,8,3               ; @ERROR_MARKER
	.comm	_EODATA_MARKER,8,3              ; @EODATA_MARKER
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"server_status=%u warning_count=%u"

	.comm	_STAT_ROWS_FETCHED_FROM_SERVER_PS,4,2 ; @STAT_ROWS_FETCHED_FROM_SERVER_PS
	.comm	_STAT_ROWS_FETCHED_FROM_SERVER_NORMAL,4,2 ; @STAT_ROWS_FETCHED_FROM_SERVER_NORMAL
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	"Allocating packet->fields"

	.comm	_STAT_ROWS_SKIPPED_PS,4,2       ; @STAT_ROWS_SKIPPED_PS
	.comm	_STAT_ROWS_SKIPPED_NORMAL,4,2   ; @STAT_ROWS_SKIPPED_NORMAL
	.no_dead_strip	_php_mysqlnd_rowp_read
.subsections_via_symbols
