	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode
_decode:                                ## @decode
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	movl	%eax, %r12d
	movq	$0, (%r14)
	cmpl	$9, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$8, %r12d
	jne	LBB0_6
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genie_decode                   ## TAILCALL
LBB0_4:
	cmpb	$45, 4(%r15)
	jne	LBB0_6
## %bb.5:
	movb	(%r15), %al
	movb	%al, -64(%rbp)
	movb	1(%r15), %al
	movb	%al, -63(%rbp)
	movb	2(%r15), %al
	movb	%al, -62(%rbp)
	movb	3(%r15), %al
	movb	%al, -61(%rbp)
	movb	5(%r15), %al
	movb	%al, -60(%rbp)
	movb	6(%r15), %al
	movb	%al, -59(%rbp)
	movb	7(%r15), %al
	movb	%al, -58(%rbp)
	movb	8(%r15), %al
	movb	%al, -57(%rbp)
	movb	$0, -56(%rbp)
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_genie_decode
	jmp	LBB0_26
LBB0_6:
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_25
## %bb.7:
	movq	%rax, %rbx
	subl	%r15d, %eax
	je	LBB0_25
## %bb.8:
	cmpl	$6, %eax
	jg	LBB0_25
## %bb.9:
	movl	%eax, %ecx
	notl	%ecx
	addl	%ecx, %r12d
	je	LBB0_25
## %bb.10:
	cmpl	$4, %r12d
	jg	LBB0_25
## %bb.11:
	xorl	%r13d, %r13d
	cmpl	$5, %eax
	jg	LBB0_13
## %bb.12:
	movl	$6, %ecx
	subl	%eax, %ecx
	cmpl	$2, %ecx
	movl	$1, %r13d
	cmovgel	%ecx, %r13d
	leaq	-64(%rbp), %rdi
	movl	$48, %esi
	movq	%r13, %rdx
	callq	_memset
	cmpl	$5, %r13d
	ja	LBB0_14
LBB0_13:
	movl	%r13d, %eax
	leaq	(%rax,%rbp), %rdi
	addq	$-64, %rdi
	movl	$5, %edx
	subl	%r13d, %edx
	incq	%rdx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_14:
	movl	$6, %r15d
	cmpl	$3, %r12d
	jg	LBB0_16
## %bb.15:
	movl	$10, %eax
	subl	%r12d, %eax
	leaq	-58(%rbp), %rdi
	cmpl	$8, %eax
	movl	$7, %r15d
	cmovgel	%eax, %r15d
	leal	-6(%r15), %edx
	movl	$48, %esi
	callq	_memset
	cmpl	$9, %r15d
	ja	LBB0_24
LBB0_16:
	movl	%r15d, %r8d
	movl	$10, %edx
	subl	%r15d, %edx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_18
## %bb.17:
	xorl	%esi, %esi
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_24
LBB0_25:
	movq	$-1, (%r14)
	jmp	LBB0_26
LBB0_18:
	andl	$-4, %edx
	leaq	(%r8,%rbp), %rdi
	addq	$-61, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx,%rsi), %ecx
	movb	%cl, -3(%rdi,%rsi)
	movzbl	2(%rbx,%rsi), %ecx
	movb	%cl, -2(%rdi,%rsi)
	movzbl	3(%rbx,%rsi), %ecx
	movb	%cl, -1(%rdi,%rsi)
	movzbl	4(%rbx,%rsi), %ecx
	movb	%cl, (%rdi,%rsi)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_19
## %bb.20:
	addq	%rsi, %r8
	testq	%rax, %rax
	je	LBB0_24
LBB0_22:
	leaq	(%rsi,%rbx), %rdx
	incq	%rdx
	leaq	(%r8,%rbp), %rcx
	addq	$-64, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx,%rsi), %ebx
	movb	%bl, (%rcx,%rsi)
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_23
LBB0_24:
	movb	$0, -54(%rbp)
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_hex_decode
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode
_decode:                                ; @decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_strlen
	mov	x22, x0
	str	xzr, [x19]
	cmp	w0, #9
	b.eq	LBB0_4
; %bb.1:
	cmp	w22, #8
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_genie_decode
LBB0_4:
	ldrb	w8, [x20, #4]
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.5:
	add	x8, x20, #5
	ldr	s0, [x20]
	ld1.s	{ v0 }[1], [x8]
	str	d0, [sp, #8]
	strb	wzr, [sp, #16]
	add	x0, sp, #8
	mov	x1, x19
	bl	_genie_decode
	b	LBB0_22
LBB0_6:
	mov	x0, x20
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.7:
	mov	x21, x0
	subs	w8, w21, w20
	b.eq	LBB0_15
; %bb.8:
	cmp	w8, #6
	b.gt	LBB0_15
; %bb.9:
	mvn	w9, w8
	add	w23, w22, w9
	cbz	w23, LBB0_15
; %bb.10:
	cmp	w23, #4
	b.gt	LBB0_15
; %bb.11:
	cmp	w8, #5
	b.gt	LBB0_16
; %bb.12:
	mov	w9, #6
	sub	w8, w9, w8
	cmp	w8, #1
	csinc	w22, w8, wzr, gt
	add	x0, sp, #8
	mov	w1, #48
	mov	x2, x22
	bl	_memset
	cmp	w22, #5
	b.ls	LBB0_17
; %bb.13:
	cmp	w23, #3
	b.gt	LBB0_18
LBB0_14:
	mov	w8, #10
	sub	w8, w8, w23
	add	x9, sp, #8
	orr	x0, x9, #0x6
	mov	w9, #7
	cmp	w8, #7
	csel	w20, w8, w9, gt
	sub	w2, w20, #6
	mov	w1, #48
	bl	_memset
	cmp	w20, #9
	b.ls	LBB0_19
	b	LBB0_21
LBB0_15:
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	b	LBB0_22
LBB0_16:
	mov	w22, #0
LBB0_17:
	add	x8, sp, #8
	add	x0, x8, w22, uxtw
	mov	w8, #5
	sub	w8, w8, w22
	add	x2, x8, #1
	mov	x1, x20
	bl	_memcpy
	cmp	w23, #3
	b.le	LBB0_14
LBB0_18:
	mov	w20, #6
LBB0_19:
	add	x8, x21, #1
	mov	w9, #10
	sub	w9, w9, w20
	add	x10, sp, #8
	add	x10, x10, w20, uxtw
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8], #1
	strb	w11, [x10], #1
	subs	x9, x9, #1
	b.ne	LBB0_20
LBB0_21:
	strb	wzr, [sp, #18]
	add	x0, sp, #8
	mov	x1, x19
	bl	_hex_decode
LBB0_22:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode
.subsections_via_symbols
