	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mysqlnd_stmt_execute_check_n_enlarge_buffer
_mysqlnd_stmt_execute_check_n_enlarge_buffer: ## @mysqlnd_stmt_execute_check_n_enlarge_buffer
	.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	(%rdx), %rax
	movq	(%rsi), %rbx
	subq	(%rdi), %rbx
	sarq	$2, %rbx
	subq	%rbx, %rax
	addq	$5, %r8
	movq	_PASS@GOTPCREL(%rip), %r12
	cmpq	%r8, %rax
	jae	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r8
	movq	%r8, (%rdx)
	movq	%r8, %rdi
	callq	_mnd_emalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	(%r15), %rsi
	movq	%rax, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	(%r15), %rdi
	cmpq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.4:
	callq	_mnd_efree
LBB0_5:
	movq	%r13, (%r15)
	leaq	(,%rbx,4), %rax
	addq	%r13, %rax
	movq	%rax, (%r14)
	jmp	LBB0_6
LBB0_2:
	movq	_FAIL@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_PASS,4,2                       ## @PASS
	.no_dead_strip	_mysqlnd_stmt_execute_check_n_enlarge_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mysqlnd_stmt_execute_check_n_enlarge_buffer
_mysqlnd_stmt_execute_check_n_enlarge_buffer: ; @mysqlnd_stmt_execute_check_n_enlarge_buffer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x9, [x2]
	ldr	x8, [x1]
	ldr	x10, [x0]
	sub	x8, x8, x10
	asr	x21, x8, #2
	add	x8, x4, #5
	sub	x9, x9, x21
	cmp	x9, x8
	b.hs	LBB0_5
; %bb.1:
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	add	x0, x8, x21
	str	x0, [x2]
	bl	_mnd_emalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x23, x0
	ldr	x1, [x20]
	mov	x2, x21
	bl	_memcpy
	ldr	x0, [x20]
	cmp	x0, x22
	b.eq	LBB0_4
; %bb.3:
	bl	_mnd_efree
LBB0_4:
	str	x23, [x20]
	add	x8, x23, x21, lsl #2
	str	x8, [x19]
LBB0_5:
Lloh0:
	adrp	x8, _PASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PASS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _FAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_PASS,4,2                       ; @PASS
	.no_dead_strip	_mysqlnd_stmt_execute_check_n_enlarge_buffer
.subsections_via_symbols
