	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdo_mysql_fill_stmt_from_result
_pdo_mysql_fill_stmt_from_result:       ## @pdo_mysql_fill_stmt_from_result
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	16(%r14), %rbx
	leaq	L_.str(%rip), %rdi
	callq	_PDO_DBG_ENTER
	movl	(%rbx), %edi
	callq	_mysql_affected_rows
	cmpq	$-1, %rax
	je	LBB0_1
## %bb.7:
	movq	%rax, 8(%r15)
	jmp	LBB0_8
LBB0_1:
	cmpl	$0, 4(%rbx)
	movl	(%rbx), %edi
	je	LBB0_2
## %bb.3:
	callq	_mysql_store_result
	jmp	LBB0_4
LBB0_2:
	callq	_mysql_use_result
LBB0_4:
	movq	%rax, %rdi
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_pdo_mysql_error_stmt
	xorl	%edi, %edi
	callq	_PDO_DBG_RETURN
	movq	(%r14), %rdi
LBB0_6:
	callq	_mysql_num_rows
	movq	%rax, 8(%r15)
	movq	(%r14), %rdi
	callq	_mysql_num_fields
	movl	%eax, (%r15)
	movq	(%r14), %rdi
	callq	_mysql_fetch_fields
	movl	%eax, 8(%r14)
LBB0_8:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PDO_DBG_RETURN                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pdo_mysql_fill_stmt_from_result"

	.no_dead_strip	_pdo_mysql_fill_stmt_from_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdo_mysql_fill_stmt_from_result
_pdo_mysql_fill_stmt_from_result:       ; @pdo_mysql_fill_stmt_from_result
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x20, [x0, #16]
	ldr	x21, [x20, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PDO_DBG_ENTER
	ldr	w0, [x21]
	bl	_mysql_affected_rows
	cmn	x0, #1
	b.eq	LBB0_2
; %bb.1:
	str	x0, [x19, #8]
	b	LBB0_6
LBB0_2:
	ldp	w0, w8, [x21]
	cbz	w8, LBB0_7
; %bb.3:
	bl	_mysql_store_result
	str	x0, [x20]
	cbnz	x0, LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_pdo_mysql_error_stmt
	mov	w0, #0
	bl	_PDO_DBG_RETURN
	ldr	x0, [x20]
LBB0_5:
	bl	_mysql_num_rows
	str	x0, [x19, #8]
	ldr	x0, [x20]
	bl	_mysql_num_fields
	str	w0, [x19]
	ldr	x0, [x20]
	bl	_mysql_fetch_fields
	str	w0, [x20, #8]
LBB0_6:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PDO_DBG_RETURN
LBB0_7:
	bl	_mysql_use_result
	str	x0, [x20]
	cbnz	x0, LBB0_5
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pdo_mysql_fill_stmt_from_result"

	.no_dead_strip	_pdo_mysql_fill_stmt_from_result
.subsections_via_symbols
