	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hexFunc
_hexFunc:                               ## @hexFunc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpl	$1, %esi
	sete	%dil
	callq	_assert
	movl	%ebx, %edi
	callq	_UNUSED_PARAMETER
	movq	(%r12), %rdi
	callq	_sqlite3_value_blob
	movq	%rax, %r13
	movq	(%r12), %rdi
	callq	_sqlite3_value_bytes
	movl	%eax, %r15d
	movq	(%r12), %rdi
	callq	_sqlite3_value_blob
	xorl	%edi, %edi
	cmpq	%rax, %r13
	sete	%dil
	callq	_assert
	leal	(%r15,%r15), %esi
	incl	%esi
	movq	%r14, %rdi
	callq	_contextMalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	leal	(%r15,%r15), %edx
	movq	%rax, %rsi
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.2:
	cmpl	$1, %r15d
	jne	LBB0_4
## %bb.3:
	movq	%rax, %rsi
	jmp	LBB0_6
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r15d, %r10d
	andl	$-2, %r10d
	movq	_hexdigits@GOTPCREL(%rip), %r8
	movq	%rax, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %ebx
	movq	(%r8), %r9
	movq	%rbx, %rdi
	shrq	$4, %rdi
	movzbl	(%r9,%rdi,8), %ecx
	movb	%cl, (%rsi)
	movq	(%r8), %rcx
	andl	$15, %ebx
	movzbl	(%rcx,%rbx,8), %ecx
	movb	%cl, 1(%rsi)
	movzbl	1(%r13), %ebx
	movq	(%r8), %rdi
	movq	%rbx, %rcx
	shrq	$4, %rcx
	movzbl	(%rdi,%rcx,8), %ecx
	movb	%cl, 2(%rsi)
	movq	(%r8), %rcx
	andl	$15, %ebx
	movzbl	(%rcx,%rbx,8), %ecx
	movb	%cl, 3(%rsi)
	addq	$4, %rsi
	addq	$2, %r13
	addl	$-2, %r10d
	jne	LBB0_5
LBB0_6:
	testb	$1, %r15b
	je	LBB0_8
## %bb.7:
	movzbl	(%r13), %edi
	movq	_hexdigits@GOTPCREL(%rip), %r8
	movq	(%r8), %rbx
	movq	%rdi, %rcx
	shrq	$4, %rcx
	movb	(%rbx,%rcx,8), %cl
	movb	%cl, (%rsi)
	movq	(%r8), %rcx
	andl	$15, %edi
	movb	(%rcx,%rdi,8), %cl
	movb	%cl, 1(%rsi)
	addq	$2, %rsi
LBB0_8:
	movb	$0, (%rsi)
	movq	_sqlite3_free@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_text            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hexdigits,8,3                  ## @hexdigits
	.comm	_sqlite3_free,4,2               ## @sqlite3_free
	.no_dead_strip	_hexFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hexFunc
_hexFunc:                               ; @hexFunc
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #1
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_UNUSED_PARAMETER
	ldr	x0, [x22]
	bl	_sqlite3_value_blob
	mov	x20, x0
	ldr	x0, [x22]
	bl	_sqlite3_value_bytes
	mov	x21, x0
	ldr	x0, [x22]
	bl	_sqlite3_value_blob
	cmp	x20, x0
	cset	w0, eq
	bl	_assert
	mov	w1, #1
	bfi	w1, w21, #1, #31
	mov	x0, x19
	bl	_contextMalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x1, x0
	lsl	w2, w21, #1
	mov	x10, x0
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _hexdigits@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hexdigits@GOTPAGEOFF]
	mov	x9, x1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20], #1
	ldr	x11, [x8]
	lsr	x12, x10, #1
	and	x12, x12, #0x78
	ldr	x11, [x11, x12]
	strb	w11, [x9]
	ldr	x11, [x8]
	and	x10, x10, #0xf
	ldr	x11, [x11, x10, lsl #3]
	add	x10, x9, #2
	strb	w11, [x9, #1]
	mov	x9, x10
	subs	w21, w21, #1
	b.ne	LBB0_3
LBB0_4:
Lloh2:
	adrp	x8, _sqlite3_free@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sqlite3_free@GOTPAGEOFF]
	strb	wzr, [x10]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	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	_sqlite3_result_text
LBB0_5:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_hexdigits,8,3                  ; @hexdigits
	.comm	_sqlite3_free,4,2               ; @sqlite3_free
	.no_dead_strip	_hexFunc
.subsections_via_symbols
