	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_mysqlnd_read_error_from_line
_php_mysqlnd_read_error_from_line:      ## @php_mysqlnd_read_error_from_line
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movq	_CR_UNKNOWN_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_unknown_sqlstate@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_MYSQLND_SQLSTATE_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rdi
	callq	_memcpy
	cmpq	$3, %r13
	jb	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_uint2korr
	movl	%eax, (%r15)
	cmpb	$35, 2(%rbx)
	jne	LBB0_4
## %bb.2:
	leaq	-3(%r13), %rax
	movq	_MYSQLND_SQLSTATE_LENGTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_5
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_4:
	leaq	2(%rbx), %r15
	jmp	LBB0_6
LBB0_5:
	leaq	3(%rbx), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	_MYSQLND_SQLSTATE_LENGTH@GOTPCREL(%rip), %rax
	addq	(%rax), %r15
LBB0_6:
	subq	%r15, %rbx
	addq	%r13, %rbx
	je	LBB0_8
## %bb.7:
	decl	%r14d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_MIN
	movq	%rax, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movq	_MYSQLND_SQLSTATE_LENGTH@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	xorl	%r14d, %r14d
	movq	_MYSQLND_SQLSTATE_LENGTH@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	movq	(%rcx), %rax
	movb	$0, (%r12,%rax)
	movb	$0, (%rbx,%r14)
	movq	_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBG_RETURN                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"php_mysqlnd_read_error_from_line"

	.comm	_CR_UNKNOWN_ERROR,4,2           ## @CR_UNKNOWN_ERROR
	.comm	_unknown_sqlstate,8,3           ## @unknown_sqlstate
	.comm	_MYSQLND_SQLSTATE_LENGTH,8,3    ## @MYSQLND_SQLSTATE_LENGTH
	.comm	_FAIL,4,2                       ## @FAIL
	.no_dead_strip	_php_mysqlnd_read_error_from_line
.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_error_from_line
_php_mysqlnd_read_error_from_line:      ; @php_mysqlnd_read_error_from_line
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x24, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
Lloh2:
	adrp	x8, _CR_UNKNOWN_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CR_UNKNOWN_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x24]
Lloh5:
	adrp	x8, _unknown_sqlstate@GOTPAGE
Lloh6:
	ldr	x8, [x8, _unknown_sqlstate@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
Lloh8:
	adrp	x25, _MYSQLND_SQLSTATE_LENGTH@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MYSQLND_SQLSTATE_LENGTH@GOTPAGEOFF]
	ldr	x2, [x25]
	mov	x0, x19
	bl	_memcpy
	subs	x26, x22, #3
	b.lo	LBB0_6
; %bb.1:
	mov	x0, x23
	bl	_uint2korr
	str	w0, [x24]
	mov	x24, x23
	ldrb	w8, [x24, #2]!
	cmp	w8, #35
	b.ne	LBB0_4
; %bb.2:
	ldr	x2, [x25]
	cmp	x26, x2
	b.lo	LBB0_6
; %bb.3:
	add	x24, x23, #3
	mov	x0, x19
	mov	x1, x24
	bl	_memcpy
	ldr	x8, [x25]
	add	x24, x24, x8
LBB0_4:
	sub	x8, x23, x24
	adds	x0, x8, x22
	b.eq	LBB0_6
; %bb.5:
	sub	w1, w21, #1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_MIN
	mov	x21, x0
	mov	x0, x20
	mov	x1, x24
	mov	x2, x21
	bl	_memcpy
	b	LBB0_7
LBB0_6:
	mov	x21, #0
LBB0_7:
	ldr	x8, [x25]
	strb	wzr, [x19, x8]
	strb	wzr, [x20, x21]
Lloh10:
	adrp	x8, _FAIL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_DBG_RETURN
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"php_mysqlnd_read_error_from_line"

	.comm	_CR_UNKNOWN_ERROR,4,2           ; @CR_UNKNOWN_ERROR
	.comm	_unknown_sqlstate,8,3           ; @unknown_sqlstate
	.comm	_MYSQLND_SQLSTATE_LENGTH,8,3    ; @MYSQLND_SQLSTATE_LENGTH
	.comm	_FAIL,4,2                       ; @FAIL
	.no_dead_strip	_php_mysqlnd_read_error_from_line
.subsections_via_symbols
