	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_mysql_stmt_cursor_closer
_pdo_mysql_stmt_cursor_closer:          ## @pdo_mysql_stmt_cursor_closer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_PDO_DBG_ENTER
	movq	8(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_PDO_DBG_INF_FMT
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_mysql_free_result
	movq	$0, 16(%rbx)
LBB0_2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_mysql_stmt_free_result
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_PDO_DBG_RETURN
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_mysql_more_results
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_mysql_next_result
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_mysql_store_result
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_mysql_free_result
	jmp	LBB0_4
LBB0_8:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PDO_DBG_RETURN                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pdo_mysql_stmt_cursor_closer"

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

	.no_dead_strip	_pdo_mysql_stmt_cursor_closer
.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_cursor_closer
_pdo_mysql_stmt_cursor_closer:          ; @pdo_mysql_stmt_cursor_closer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
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, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mysql_free_result
	str	xzr, [x19, #16]
LBB0_2:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_mysql_stmt_free_result
	cmp	w0, #0
	cset	w0, eq
	bl	_PDO_DBG_RETURN
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_mysql_more_results
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_mysql_next_result
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_mysql_store_result
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_mysql_free_result
	b	LBB0_4
LBB0_8:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PDO_DBG_RETURN
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pdo_mysql_stmt_cursor_closer"

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

	.no_dead_strip	_pdo_mysql_stmt_cursor_closer
.subsections_via_symbols
