	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_sqlite__create_scalar_function ## -- Begin function svn_sqlite__create_scalar_function
	.p2align	4, 0x90
_svn_sqlite__create_scalar_function:    ## @svn_sqlite__create_scalar_function
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r13d
	movq	%rcx, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movl	$16, %esi
	callq	_apr_pcalloc
	movl	%r13d, 8(%rax)
	movq	%r12, (%rax)
	movq	_SQLITE_ANY@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	_SQLITE_DETERMINISTIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	(%rdx), %ecx
	movl	(%rbx), %edi
	movq	_wrapped_func@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%rax, %r8
	callq	_sqlite3_create_function
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_SQLITE_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_ANY,4,2                 ## @SQLITE_ANY
	.comm	_SQLITE_DETERMINISTIC,4,2       ## @SQLITE_DETERMINISTIC
	.comm	_wrapped_func,4,2               ## @wrapped_func
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_sqlite__create_scalar_function ; -- Begin function svn_sqlite__create_scalar_function
	.p2align	2
_svn_sqlite__create_scalar_function:    ; @svn_sqlite__create_scalar_function
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w0, [x0, #4]
	mov	w1, #16
	bl	_apr_pcalloc
	mov	x4, x0
	str	w20, [x0, #8]
Lloh0:
	adrp	x8, _SQLITE_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_ANY@GOTPAGEOFF]
	str	x19, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SQLITE_DETERMINISTIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SQLITE_DETERMINISTIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x21, #0
	csel	w9, wzr, w9, eq
	orr	w3, w9, w8
	ldr	w0, [x24]
Lloh6:
	adrp	x8, _wrapped_func@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wrapped_func@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x1, x23
	mov	x2, x22
	mov	x6, #0
	mov	x7, #0
	bl	_sqlite3_create_function
	mov	x1, x24
	bl	_SQLITE_ERR
Lloh9:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_ANY,4,2                 ; @SQLITE_ANY
	.comm	_SQLITE_DETERMINISTIC,4,2       ; @SQLITE_DETERMINISTIC
	.comm	_wrapped_func,4,2               ; @wrapped_func
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
