	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_mysqlnd_read_row_ex
_php_mysqlnd_read_row_ex:               ## @php_mysqlnd_read_row_ex
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	16(%rbp), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movq	$0, (%rbx)
	movq	_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	-56(%rbp), %rdx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %r15
	movq	%r13, %rsi
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rcx
	movq	%r12, %r14
	movq	%r12, %r8
	callq	_mysqlnd_read_header
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_UNEXPECTED
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FAIL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r12
LBB0_15:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_2:
	movq	-56(%rbp), %rax
	movq	16(%rbp), %rsi
	movq	(%rsi), %rcx
	leaq	(%rcx,%rax), %rdx
	movq	%rdx, (%rsi)
	leaq	(%rcx,%rax), %rsi
	incq	%rsi
	callq	*16(%rdi)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_PASS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %r10
	movq	-56(%rbp), %rcx
	movq	%r15, %rsi
	movq	%rax, %rdx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r14, %r9
	callq	*(%r10)
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpq	%rax, %r13
	setne	%dil
	callq	_UNEXPECTED
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_DBG_ERR
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_php_error
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %r13
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rax
	movq	_MYSQLND_MAX_PACKET_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_5
LBB0_4:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	_FAIL@GOTPCREL(%rip), %rbx
LBB0_16:
	cmpq	(%rbx), %r12
	jne	LBB0_19
## %bb.17:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_19
## %bb.18:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	*(%rdi)
	movq	$0, (%r15)
LBB0_19:
	movq	%r12, %rdi
	callq	_DBG_RETURN
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	_FAIL@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	-56(%rbp), %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_mysqlnd_read_header
	cmpq	%rax, %rbx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rax
	movq	16(%rbp), %rsi
	movq	(%rsi), %rdx
	leaq	(%rdx,%rax), %rcx
	movq	%rcx, (%rsi)
	testq	%rax, %rax
	movq	_FAIL@GOTPCREL(%rip), %rbx
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rsi
	incq	%rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%rdi)
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%rbp), %rcx
	movq	(%rcx), %rdx
	movq	-56(%rbp), %rcx
	subq	%rcx, %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	_PASS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %r8
	movq	%r13, %r9
	callq	*(%rax)
	cmpq	%rax, %r12
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rax
	movq	_MYSQLND_MAX_PACKET_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jae	LBB0_8
	jmp	LBB0_16
LBB0_9:
	movq	_FAIL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r12
	jmp	LBB0_16
LBB0_12:
	movq	%r13, %rdi
	callq	_SET_OOM_ERROR
	movq	(%rbx), %r12
	jmp	LBB0_16
LBB0_14:
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_DBG_ERR
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	_FAIL@GOTPCREL(%rip), %rbx
	callq	_php_error
	movq	%r15, %r12
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_PASS,8,3                       ## @PASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"php_mysqlnd_read_row_ex"

	.comm	_FAIL,8,3                       ## @FAIL
L_.str.1:                               ## @.str.1
	.asciz	"Empty row packet body"

	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.comm	_MYSQLND_MAX_PACKET_SIZE,8,3    ## @MYSQLND_MAX_PACKET_SIZE
	.no_dead_strip	_php_mysqlnd_read_row_ex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_mysqlnd_read_row_ex
_php_mysqlnd_read_row_ex:               ; @php_mysqlnd_read_row_ex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x6
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
	str	xzr, [x21]
Lloh2:
	adrp	x28, _FAIL@GOTPAGE
Lloh3:
	ldr	x28, [x28, _FAIL@GOTPAGEOFF]
	ldr	x26, [x28]
	add	x2, sp, #8
	mov	x0, x25
	mov	x1, x24
	mov	x3, x23
	mov	x4, x22
	bl	_mysqlnd_read_header
	cmp	x26, x0
	cset	w0, eq
	bl	_UNEXPECTED
	cbz	x0, LBB0_2
LBB0_1:
	ldr	x26, [x28]
	b	LBB0_9
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	add	x8, x9, x8
	str	x8, [x21]
	ldr	x9, [x20, #16]
	add	x1, x8, #1
	mov	x0, x20
	blr	x9
	mov	x2, x0
	str	x0, [x19]
Lloh4:
	adrp	x8, _PASS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PASS@GOTPAGEOFF]
Lloh6:
	ldr	x27, [x8]
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	x3, [sp, #8]
	mov	x0, x25
	mov	x1, x24
	mov	x4, x23
	mov	x5, x22
	blr	x8
	mov	x26, x0
	cmp	x27, x0
	cset	w0, ne
	bl	_UNEXPECTED
	cbz	x0, LBB0_8
; %bb.3:
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_DBG_ERR
Lloh9:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_php_error
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x27, [x28]
	add	x2, sp, #8
	mov	x0, x25
	mov	x1, x24
	mov	x3, x23
	mov	x4, x22
	bl	_mysqlnd_read_header
	cmp	x27, x0
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [sp, #8]
	ldr	x2, [x21]
	add	x8, x2, x9
	str	x8, [x21]
	cbz	x9, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x20, #8]
	ldr	x1, [x19]
	add	x3, x8, #1
	mov	x0, x20
	blr	x9
	str	x0, [x19]
	cbz	x0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	ldr	x3, [sp, #8]
	sub	x8, x8, x3
	add	x2, x0, x8, lsl #2
Lloh12:
	adrp	x8, _PASS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PASS@GOTPAGEOFF]
Lloh14:
	ldr	x26, [x8]
	ldr	x8, [x25]
	ldr	x8, [x8]
	mov	x0, x25
	mov	x1, x24
	mov	x4, x23
	mov	x5, x22
	blr	x8
	cmp	x26, x0
	b.ne	LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
Lloh15:
	adrp	x9, _MYSQLND_MAX_PACKET_SIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MYSQLND_MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_4
LBB0_9:
	ldr	x8, [x28]
	cmp	x26, x8
	b.ne	LBB0_12
; %bb.10:
	ldr	x1, [x19]
	cbz	x1, LBB0_12
; %bb.11:
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	str	xzr, [x19]
LBB0_12:
	mov	x0, x26
	bl	_DBG_RETURN
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	x0, x22
	bl	_SET_OOM_ERROR
	ldr	x26, [x28]
	b	LBB0_9
LBB0_14:
	mov	x27, x0
Lloh18:
	adrp	x21, l_.str.1@PAGE
Lloh19:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_DBG_ERR
Lloh20:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_php_error
	mov	x26, x27
	b	LBB0_9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PASS,8,3                       ; @PASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"php_mysqlnd_read_row_ex"

	.comm	_FAIL,8,3                       ; @FAIL
l_.str.1:                               ; @.str.1
	.asciz	"Empty row packet body"

	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.comm	_MYSQLND_MAX_PACKET_SIZE,8,3    ; @MYSQLND_MAX_PACKET_SIZE
	.no_dead_strip	_php_mysqlnd_read_row_ex
.subsections_via_symbols
