	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_decode
_do_decode:                             ## @do_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r12
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movl	%edi, %r13d
	movl	$2048, -44(%rbp)                ## imm = 0x800
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	$0, (%rcx)
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	$0, -48(%rbp)
	leal	(%r15,%r13), %edi
	callq	_get_hash_code
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_is_hash
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	leaq	-44(%rbp), %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_set_magic_value
	cmpl	$0, (%rbx)
	js	LBB0_18
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	movl	%r13d, %r15d
	incl	%r15d
	movq	%rax, %rbx
	leal	(%rax,%r13), %edi
	incl	%edi
	callq	_get_hash_code
	movl	%eax, %ecx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	%r15d, %r13d
	testq	%r12, %r12
	je	LBB0_4
LBB0_3:
	movl	%ecx, (%r12)
LBB0_4:
	movq	_C55PLUS_DEBUG@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%rbx, %r15
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movl	$2048, %esi                     ## imm = 0x800
	movl	%ecx, %ebx
	callq	_printf
	movl	%ebx, %ecx
LBB0_6:
	leal	-481(%r14), %eax
	cmpl	$1, %eax
	ja	LBB0_11
## %bb.7:
	movl	%ecx, %r12d
	movl	-44(%rbp), %eax
	subq	$8, %rsp
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	leaq	-52(%rbp), %r9
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_decode_ins
	addq	$32, %rsp
	cmpl	$0, (%rbx)
	js	LBB0_18
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_strcat_dup
	movq	%rax, %rdi
	movl	%r12d, %ecx
	cmpl	$547, %ecx                      ## imm = 0x223
	je	LBB0_12
LBB0_9:
	movl	%ecx, %ebx
	callq	_free
	movl	-44(%rbp), %eax
	subq	$8, %rsp
	leaq	-48(%rbp), %rcx
	leaq	-56(%rbp), %r8
	leaq	-52(%rbp), %r9
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_decode_ins
	addq	$32, %rsp
	cmpl	$0, (%rbx)
	js	LBB0_17
## %bb.10:
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_strcat_dup
	movl	-48(%rbp), %ebx
	jmp	LBB0_13
LBB0_11:
	xorl	%edi, %edi
	cmpl	$547, %ecx                      ## imm = 0x223
	jne	LBB0_9
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %ebx
	movl	$1, %edx
	callq	_strcat_dup
	movq	%rax, %r14
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_get_ins_part
	movl	%eax, %edi
	callq	_get_hex_str
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_strcat_dup
LBB0_13:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, (%rcx)
	jmp	LBB0_19
LBB0_14:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	movl	%r14d, %ecx
	movl	$547, %r14d                     ## imm = 0x223
	testq	%r12, %r12
	jne	LBB0_3
	jmp	LBB0_4
LBB0_17:
	movq	%rax, %rdi
	callq	_free
LBB0_18:
	xorl	%eax, %eax
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C55PLUS_DEBUG,8,3              ## @C55PLUS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAGIC VALUE 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	" "

L_.str.2:                               ## @.str.2
	.asciz	".byte 0x"

	.no_dead_strip	_do_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_decode
_do_decode:                             ; @do_decode
	.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	x21, x5
	mov	x26, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	mov	w8, #2048
	stp	w8, wzr, [sp, #16]
	str	wzr, [x3]
	str	xzr, [sp, #24]
	add	w0, w1, w0
	bl	_get_hash_code
	mov	x25, x0
	bl	_is_hash
	cbz	x0, LBB0_14
; %bb.1:
	add	x0, sp, #16
	mov	x1, x25
	mov	x2, x21
	bl	_set_magic_value
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_16
; %bb.2:
	add	w23, w23, #1
	add	w0, w23, w20
	bl	_get_hash_code
	mov	x24, x0
	mov	w8, #1
	str	w8, [x19]
	cbz	x26, LBB0_4
LBB0_3:
	str	w24, [x26]
LBB0_4:
Lloh0:
	adrp	x8, _C55PLUS_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C55PLUS_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #2048
	bl	_printf
LBB0_6:
	sub	w8, w25, #481
	cmp	w8, #1
	b.hi	LBB0_11
; %bb.7:
	ldr	w6, [sp, #16]
	str	x21, [sp]
	add	x3, sp, #24
	add	x4, sp, #28
	add	x5, sp, #20
	mov	x0, x25
	mov	x1, x20
	mov	x2, x23
	mov	x7, x22
	bl	_decode_ins
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_16
; %bb.8:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_strcat_dup
	cmp	w24, #547
	b.eq	LBB0_12
LBB0_9:
	bl	_free
	ldr	w6, [sp, #16]
	str	x21, [sp]
	add	x3, sp, #24
	add	x4, sp, #28
	add	x5, sp, #20
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	mov	x7, x22
	bl	_decode_ins
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_15
; %bb.10:
	mov	x1, #0
	mov	w2, #1
	bl	_strcat_dup
	ldr	w22, [sp, #24]
	b	LBB0_13
LBB0_11:
	mov	x0, #0
	cmp	w24, #547
	b.ne	LBB0_9
LBB0_12:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w22, #1
	mov	w2, #1
	bl	_strcat_dup
	mov	x21, x0
	mov	x0, x20
	mov	w1, #1
	bl	_get_ins_part
	bl	_get_hex_str
	mov	x1, x0
	mov	x0, x21
	mov	w2, #2
	bl	_strcat_dup
LBB0_13:
	ldr	w8, [x19]
	add	w8, w8, w22
	str	w8, [x19]
	b	LBB0_17
LBB0_14:
	mov	x24, x25
	mov	w25, #547
	cbnz	x26, LBB0_3
	b	LBB0_4
LBB0_15:
	bl	_free
LBB0_16:
	mov	x0, #0
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_C55PLUS_DEBUG,8,3              ; @C55PLUS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAGIC VALUE 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	" "

l_.str.2:                               ; @.str.2
	.asciz	".byte 0x"

	.no_dead_strip	_do_decode
.subsections_via_symbols
