	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dnxhd_decode_row
_dnxhd_decode_row:                      ## @dnxhd_decode_row
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	(%rdi), %r13
	movq	32(%r13), %rax
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rax
	movq	24(%r13), %r12
	movslq	%ecx, %rbx
	shlq	$4, %rbx
	movb	(%r13), %cl
	addb	$2, %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	(%r12,%rbx), %rcx
	movl	%edx, 8(%rcx)
	movl	%edx, 4(%rcx)
	movl	%edx, (%rcx)
	leaq	(%r12,%rbx), %rdi
	addq	$12, %rdi
	movq	16(%r13), %rsi
	addq	%rax, %rsi
	movq	8(%r13), %rdx
	subq	%rax, %rdx
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_8
## %bb.1:
	cmpl	$0, 4(%r13)
	jle	LBB0_6
## %bb.2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_dnxhd_decode_macroblock
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	4(%r13), %ebx
	jl	LBB0_3
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:
	incl	8(%r12,%rbx)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dnxhd_decode_row
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dnxhd_decode_row
_dnxhd_decode_row:                      ; @dnxhd_decode_row
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x22, [x0]
	ldp	x25, x8, [x22, #24]
	ldr	x8, [x8, w2, sxtw #3]
	add	x23, x25, w3, sxtw #4
	ldr	w9, [x22]
	add	w9, w9, #2
	mov	w10, #1
	lsl	w9, w10, w9
	mov	x0, x23
	ldr	x10, [x0], #12
	stp	w9, w9, [x10, #4]
	str	w9, [x10]
	ldp	x10, x9, [x22, #8]
	add	x1, x9, x8
	sub	x2, x10, x8
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x24
	mov	x4, x20
	bl	_dnxhd_decode_macroblock
	tbnz	w0, #31, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #1
	ldr	w8, [x22, #4]
	cmp	w24, w8
	b.lt	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	sxtw	x8, w19
	add	x8, x25, x8, lsl #4
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dnxhd_decode_row
.subsections_via_symbols
