	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DecodeSmd
_DecodeSmd:                             ## @DecodeSmd
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_memset
	cmpl	$16896, %r14d                   ## imm = 0x4200
	jl	LBB0_5
## %bb.3:
	movl	$16896, %ebx                    ## imm = 0x4200
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	512(%r13), %rsi
	movq	%r12, %rdi
	callq	_InterleveBlock
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$16384, %edx                    ## imm = 0x4000
	callq	_memcpy
	addl	$16384, %ebx                    ## imm = 0x4000
	addq	$16384, %r13                    ## imm = 0x4000
	cmpl	%r14d, %ebx
	jle	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_6
LBB0_1:
	movl	$1, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_DecodeSmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DecodeSmd
_DecodeSmd:                             ; @DecodeSmd
	.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	x19, x1
	mov	x20, x0
	mov	w0, #16384
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	mov	w1, #0
	mov	w2, #16384
	bl	_memset
	mov	w8, #16896
	cmp	w19, w8
	b.lt	LBB0_4
; %bb.2:
	mov	w22, #16896
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x20, #512
	mov	x0, x21
	bl	_InterleveBlock
	mov	x0, x20
	mov	x1, x21
	mov	w2, #16384
	bl	_memcpy
	add	w22, w22, #4, lsl #12           ; =16384
	add	x20, x20, #4, lsl #12           ; =16384
	cmp	w22, w19
	b.le	LBB0_3
LBB0_4:
	mov	x0, x21
	bl	_free
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_DecodeSmd
.subsections_via_symbols
