	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mysqlnd_stmt_separate_result_bind
_mysqlnd_stmt_separate_result_bind:     ## @mysqlnd_stmt_separate_result_bind
	.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
	testq	%rdi, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %r12
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movl	16(%r12), %esi
	movq	8(%r12), %rdx
	movl	(%r12), %ecx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movl	$8, %ebx
	movq	_TRUE@GOTPCREL(%rip), %r14
	leaq	L_.str.2(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx), %edi
	callq	_Z_REFCOUNT
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movslq	%eax, %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movq	8(%r12), %rdi
	addq	%rbx, %rdi
	callq	_zval_ptr_dtor
	movl	(%r12), %eax
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movl	%eax, %ecx
	addq	$16, %rbx
	cmpq	%rcx, %r13
	jae	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	-8(%rcx,%rbx), %rdx
	cmpq	(%r14), %rdx
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rcx,%rbx), %edi
	callq	_Z_REFCOUNTED
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	8(%r12), %rsi
	callq	*(%rax)
	movq	$0, 8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mysqlnd_stmt_separate_result_bind"

	.comm	_DBG_VOID_RETURN,4,2            ## @DBG_VOID_RETURN
L_.str.1:                               ## @.str.1
	.asciz	"stmt=%lu result_bind=%p field_count=%u"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"%u has refcount=%u"

	.no_dead_strip	_mysqlnd_stmt_separate_result_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mysqlnd_stmt_separate_result_bind
_mysqlnd_stmt_separate_result_bind:     ; @mysqlnd_stmt_separate_result_bind
	.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	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x22, [x19, #8]
	b	LBB0_3
LBB0_2:
	mov	x22, #0
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
	ldr	w1, [x22, #16]
	ldr	x2, [x22, #8]
	ldr	w8, [x22]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG_INF_FMT
	ldr	w8, [x22]
	cbz	w8, LBB0_10
; %bb.4:
	mov	x20, #0
	mov	w23, #8
Lloh4:
	adrp	x24, _TRUE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x2, w0
	mov	x0, x21
	mov	x1, x20
	bl	_DBG_INF_FMT
	ldr	x8, [x22, #8]
	add	x0, x8, x23
	bl	_zval_ptr_dtor
	ldr	w8, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	add	x23, x23, #16
	cmp	x20, w8, uxtw
	b.hs	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	add	x10, x9, x23
	ldur	x10, [x10, #-8]
	ldr	x11, [x24]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x9, x23]
	bl	_Z_REFCOUNTED
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x23]
	bl	_Z_REFCOUNT
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_5
LBB0_10:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x1, [x22, #8]
	mov	x0, x19
	blr	x8
	str	xzr, [x22, #8]
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mysqlnd_stmt_separate_result_bind"

	.comm	_DBG_VOID_RETURN,4,2            ; @DBG_VOID_RETURN
l_.str.1:                               ; @.str.1
	.asciz	"stmt=%lu result_bind=%p field_count=%u"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"%u has refcount=%u"

	.no_dead_strip	_mysqlnd_stmt_separate_result_bind
.subsections_via_symbols
