	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CreateDecodedNAL
_CreateDecodedNAL:                      ## @CreateDecodedNAL
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%ecx, %edi
	callq	_malloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.4:
	movslq	%r15d, %rcx
	leaq	(%rbx,%rcx,4), %rdx
	leaq	-12(%rdx), %r8
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	cmpq	%r8, %rbx
	jae	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%edi, %edi
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rbx), %esi
	cmpl	$3, %esi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, %esi
	je	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %rbx
	movl	%edi, (%rcx)
	addq	$4, %rcx
	cmpq	%rdx, %rbx
	jb	LBB0_5
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	$0, (%rcx)
	addq	$8, %rcx
	addq	$12, %rbx
	cmpq	%rdx, %rbx
	jb	LBB0_5
	jmp	LBB0_13
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_3:
	movq	%rax, %rcx
LBB0_13:
	subq	%rax, %rcx
	shrq	$2, %rcx
	movl	%ecx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_CreateDecodedNAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CreateDecodedNAL
_CreateDecodedNAL:                      ; @CreateDecodedNAL
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x3
	bl	_malloc
	str	x0, [x22]
	cbz	x0, LBB0_11
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.2:
	add	x9, x20, w21, sxtw #2
	sub	x10, x9, #12
	mov	x8, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x20]
	cmp	x20, x10
	b.hs	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w11, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x20, #4]
	cbnz	w11, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x20, #8]
	cmp	w11, #3
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w11, #1
	b.eq	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #0
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #4
	str	w11, [x8], #4
	cmp	x20, x9
	b.lo	LBB0_3
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x8], #8
	add	x20, x20, #12
	cmp	x20, x9
	b.lo	LBB0_3
	b	LBB0_13
LBB0_11:
	mov	x8, #0
	b	LBB0_13
LBB0_12:
	mov	x8, x0
LBB0_13:
	sub	x8, x8, x0
	lsr	x8, x8, #2
	str	w8, [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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_CreateDecodedNAL
.subsections_via_symbols
