	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function result_type_read
_result_type_read:                      ## @result_type_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MYSQLI_STATUS_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CHECK_STATUS
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_mysqli_result_is_unbuffered
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_MYSQLI_STORE_RESULT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_ZVAL_NULL
	jmp	LBB0_6
LBB0_3:
	movq	_MYSQLI_USE_RESULT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ZVAL_LONG
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MYSQLI_STATUS_VALID,4,2        ## @MYSQLI_STATUS_VALID
	.comm	_MYSQLI_USE_RESULT,4,2          ## @MYSQLI_USE_RESULT
	.comm	_MYSQLI_STORE_RESULT,4,2        ## @MYSQLI_STORE_RESULT
	.no_dead_strip	_result_type_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function result_type_read
_result_type_read:                      ; @result_type_read
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MYSQLI_STATUS_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MYSQLI_STATUS_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CHECK_STATUS
	ldr	x8, [x20]
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mysqli_result_is_unbuffered
Lloh3:
	adrp	x8, _MYSQLI_USE_RESULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MYSQLI_USE_RESULT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MYSQLI_STORE_RESULT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MYSQLI_STORE_RESULT@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ZVAL_LONG
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_ZVAL_NULL
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MYSQLI_STATUS_VALID,4,2        ; @MYSQLI_STATUS_VALID
	.comm	_MYSQLI_USE_RESULT,4,2          ; @MYSQLI_USE_RESULT
	.comm	_MYSQLI_STORE_RESULT,4,2        ; @MYSQLI_STORE_RESULT
	.no_dead_strip	_result_type_read
.subsections_via_symbols
