	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_sqlite3_collation_callback
_php_sqlite3_collation_callback:        ## @php_sqlite3_collation_callback
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	8(%rdi), %r13
	movl	$40, 8(%rdi)
	addq	$40, %rdi
	leaq	48(%rbx), %rsi
	callq	_ZVAL_COPY_VALUE
	movq	$0, 32(%rbx)
	leaq	-60(%rbp), %rax
	movq	%rax, 24(%rbx)
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_ZVAL_STRINGL
	leaq	-52(%rbp), %r14
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	callq	_ZVAL_STRINGL
	movl	$2, 12(%rbx)
	movq	%r12, 16(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_zend_call_function
	movl	%eax, %ebx
	movq	_FAILURE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_8
LBB0_2:
	movl	-60(%rbp), %edi
	callq	_Z_ISUNDEF
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	-60(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_LONG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	leaq	-60(%rbp), %rdi
	callq	_convert_to_long_ex
LBB0_5:
	movl	-60(%rbp), %edi
	callq	_Z_LVAL
	movl	$1, %ebx
	testq	%rax, %rax
	jg	LBB0_7
## %bb.6:
	movl	-60(%rbp), %edi
	callq	_Z_LVAL
	movq	%rax, %rbx
	sarq	$63, %rbx
LBB0_7:
	leaq	-60(%rbp), %rdi
	callq	_zval_ptr_dtor
LBB0_8:
	leaq	-56(%rbp), %rdi
	callq	_zval_ptr_dtor
	movq	%r14, %rdi
	callq	_zval_ptr_dtor
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FAILURE,4,2                    ## @FAILURE
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"An error occurred while invoking the callback"

	.comm	_IS_LONG,8,3                    ## @IS_LONG
	.no_dead_strip	_php_sqlite3_collation_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_sqlite3_collation_callback
_php_sqlite3_collation_callback:        ; @php_sqlite3_collation_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w8, #40
	mov	x24, x0
	str	w8, [x24, #8]!
	add	x0, x0, #40
	add	x1, x23, #48
	bl	_ZVAL_COPY_VALUE
	add	x8, sp, #12
	stp	x8, xzr, [x23, #24]
	add	x25, sp, #16
	add	x0, sp, #16
	mov	x1, x19
	mov	x2, x22
	bl	_ZVAL_STRINGL
	add	x19, x25, #4
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ZVAL_STRINGL
	mov	w8, #2
	str	w8, [x23, #12]
	str	x25, [x23, #16]
	mov	x0, x24
	mov	x1, x23
	bl	_zend_call_function
	mov	x20, x0
Lloh3:
	adrp	x8, _FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_php_error_docref
	b	LBB0_9
LBB0_2:
	ldr	w0, [sp, #12]
	bl	_Z_ISUNDEF
	cbnz	w0, LBB0_9
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_Z_TYPE
Lloh11:
	adrp	x8, _IS_LONG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IS_LONG@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	add	x0, sp, #12
	bl	_convert_to_long_ex
LBB0_5:
	ldr	w0, [sp, #12]
	bl	_Z_LVAL
	cmp	x0, #0
	b.le	LBB0_7
; %bb.6:
	mov	w20, #1
	b	LBB0_8
LBB0_7:
	ldr	w0, [sp, #12]
	bl	_Z_LVAL
	asr	x20, x0, #63
LBB0_8:
	add	x0, sp, #12
	bl	_zval_ptr_dtor
LBB0_9:
	add	x0, sp, #16
	bl	_zval_ptr_dtor
	mov	x0, x19
	bl	_zval_ptr_dtor
	ldr	x8, [sp, #24]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FAILURE,4,2                    ; @FAILURE
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"An error occurred while invoking the callback"

	.comm	_IS_LONG,8,3                    ; @IS_LONG
	.no_dead_strip	_php_sqlite3_collation_callback
.subsections_via_symbols
