	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_mysql_stmt_dtor
_pdo_mysql_stmt_dtor:                   ## @pdo_mysql_stmt_dtor
	.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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r12
	leaq	L_.str(%rip), %rdi
	callq	_PDO_DBG_ENTER
	movq	8(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_PDO_DBG_INF_FMT
	movq	80(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_mysql_free_result
	movq	$0, 80(%r12)
LBB0_2:
	movq	72(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	movl	(%rax), %esi
	callq	_pefree
	movq	$0, 72(%r12)
LBB0_4:
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_pdo_mysql_stmt_close
	movq	$0, 8(%r12)
LBB0_6:
	movq	64(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_efree
LBB0_8:
	movq	56(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_efree
LBB0_10:
	movq	48(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_efree
LBB0_12:
	movq	40(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.13:
	cmpl	$0, (%r14)
	jle	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%rdi,%rbx), %rax
	movq	%rax, 80(%rsp)
	movups	64(%rdi,%rbx), %xmm0
	movups	%xmm0, 64(%rsp)
	movups	(%rdi,%rbx), %xmm0
	movups	16(%rdi,%rbx), %xmm1
	movups	32(%rdi,%rbx), %xmm2
	movups	48(%rdi,%rbx), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_pdo_free_bound_result
	incq	%r15
	movslq	(%r14), %rax
	movq	40(%r12), %rdi
	addq	$88, %rbx
	cmpq	%rax, %r15
	jl	LBB0_15
LBB0_16:
	callq	_efree
	movq	32(%r12), %rdi
	callq	_efree
	movq	24(%r12), %rdi
	callq	_efree
LBB0_17:
	movl	4(%r14), %edi
	callq	_Z_ISUNDEF
	testl	%eax, %eax
	je	LBB0_18
LBB0_24:
	movq	%r12, %rdi
	callq	_efree
	movl	$1, %edi
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PDO_DBG_RETURN                 ## TAILCALL
LBB0_18:
	movq	_objects_store@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EG
	movq	%rax, %r15
	movl	4(%r14), %edi
	callq	_Z_OBJ_HANDLE
	movl	(%r15,%rax,4), %edi
	callq	_IS_OBJ_VALID
	testq	%rax, %rax
	je	LBB0_24
## %bb.19:
	movl	4(%r14), %edi
	callq	_Z_OBJ
	movl	%eax, %edi
	callq	_OBJ_FLAGS
	movq	_IS_OBJ_FREE_CALLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_24
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	16(%r12), %rax
	movl	(%rax), %edi
	callq	_mysql_next_result
	testq	%rax, %rax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	16(%r12), %rax
	movl	(%rax), %edi
	callq	_mysql_store_result
	testq	%rax, %rax
	je	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rax, %rdi
	callq	_mysql_free_result
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	(%rax), %edi
	callq	_mysql_more_results
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pdo_mysql_stmt_dtor"

L_.str.1:                               ## @.str.1
	.asciz	"stmt=%p"

	.comm	_objects_store,4,2              ## @objects_store
	.comm	_IS_OBJ_FREE_CALLED,4,2         ## @IS_OBJ_FREE_CALLED
	.no_dead_strip	_pdo_mysql_stmt_dtor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_mysql_stmt_dtor
_pdo_mysql_stmt_dtor:                   ; @pdo_mysql_stmt_dtor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PDO_DBG_ENTER
	ldr	x1, [x19, #8]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_PDO_DBG_INF_FMT
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mysql_free_result
	str	xzr, [x19, #80]
LBB0_2:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	bl	_pefree
	str	xzr, [x19, #72]
LBB0_4:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_pdo_mysql_stmt_close
	str	xzr, [x19, #8]
LBB0_6:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_efree
LBB0_8:
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_efree
LBB0_10:
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_efree
LBB0_12:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_17
; %bb.13:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x21, #0
	mov	x22, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x21
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldp	q0, q1, [x8, #32]
	ldr	q2, [x8, #64]
	ldr	x8, [x8, #80]
	str	x8, [sp, #80]
	stp	q1, q2, [sp, #48]
	str	q0, [sp, #32]
	mov	x0, sp
	bl	_pdo_free_bound_result
	add	x22, x22, #1
	ldrsw	x8, [x20]
	ldr	x0, [x19, #40]
	add	x21, x21, #88
	cmp	x22, x8
	b.lt	LBB0_15
LBB0_16:
	bl	_efree
	ldr	x0, [x19, #32]
	bl	_efree
	ldr	x0, [x19, #24]
	bl	_efree
LBB0_17:
	ldr	w0, [x20, #4]
	bl	_Z_ISUNDEF
	cbz	w0, LBB0_19
LBB0_18:
	mov	x0, x19
	bl	_efree
	mov	w0, #1
	bl	_PDO_DBG_RETURN
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
Lloh4:
	adrp	x8, _objects_store@GOTPAGE
Lloh5:
	ldr	x8, [x8, _objects_store@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_EG
	mov	x21, x0
	ldr	w0, [x20, #4]
	bl	_Z_OBJ_HANDLE
	ldr	w0, [x21, x0, lsl #2]
	bl	_IS_OBJ_VALID
	cbz	x0, LBB0_18
; %bb.20:
	ldr	w0, [x20, #4]
	bl	_Z_OBJ
	bl	_OBJ_FLAGS
Lloh7:
	adrp	x8, _IS_OBJ_FREE_CALLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IS_OBJ_FREE_CALLED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_18
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_mysql_next_result
	cbnz	x0, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_mysql_store_result
	cbz	x0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_24 Depth=1
	bl	_mysql_free_result
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_mysql_more_results
	cbnz	x0, LBB0_21
	b	LBB0_18
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pdo_mysql_stmt_dtor"

l_.str.1:                               ; @.str.1
	.asciz	"stmt=%p"

	.comm	_objects_store,4,2              ; @objects_store
	.comm	_IS_OBJ_FREE_CALLED,4,2         ; @IS_OBJ_FREE_CALLED
	.no_dead_strip	_pdo_mysql_stmt_dtor
.subsections_via_symbols
