	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_processing_chain
_init_processing_chain:                 ## @init_processing_chain
	.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	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	16(%rdi), %r15
	movq	(%rax), %r12
	movq	%rdi, %r13
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_format_is_supported
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rcx
	movq	16(%r15), %rdi
	movq	_NPP_TRANSPOSE_CCLOCK_FLIP@GOTPCREL(%rip), %rdx
	movq	_STAGE_ROTATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.5:
	leaq	(%rax,%rax,4), %rdx
	movl	$1, (%rdi,%rdx,8)
	movq	_NPP_TRANSPOSE_CLOCK_FLIP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_7:
	movq	_STAGE_TRANSPOSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	leaq	(%r8,%r8,4), %rdx
	movl	$1, (%rdi,%rdx,8)
	movl	%r14d, %r11d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %edx
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	jmp	LBB0_8
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_av_get_pix_fmt_name
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_6:
	movq	_STAGE_TRANSPOSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	movl	%r10d, %r11d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	movl	%r9d, %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_8:
	leaq	(%rax,%rax,4), %rax
	movl	%ebx, 4(%rdi,%rax,8)
	movl	%ebx, 8(%rdi,%rax,8)
	movq	32(%rdi,%rax,8), %rcx
	movl	%r14d, (%rcx)
	movl	%esi, 4(%rcx)
	movq	24(%rdi,%rax,8), %rax
	movl	%r11d, (%rax)
	movl	%edx, 4(%rax)
	leaq	(%r8,%r8,4), %rax
	movl	%ebx, 4(%rdi,%rax,8)
	movl	%ebx, 8(%rdi,%rax,8)
	movq	32(%rdi,%rax,8), %rcx
	movl	%r11d, (%rcx)
	movl	%edx, 4(%rcx)
	movq	24(%rdi,%rax,8), %rax
	movl	%r10d, (%rax)
	movl	%r9d, 4(%rax)
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_16
## %bb.9:
	movl	$-1, %r13d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	callq	_FF_ARRAY_ELEMS
	cltq
	addq	$40, %r14
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdi
	cmpl	$0, (%rdi,%r14)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	%r14, %rdi
	movl	4(%r12), %esi
	callq	_init_stage
	testl	%eax, %eax
	js	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%r15), %rdi
	movl	%ebx, %r13d
	jmp	LBB0_13
LBB0_14:
	testl	%r13d, %r13d
	js	LBB0_16
## %bb.15:
	movq	16(%r15), %rax
	movl	%r13d, %ecx
	leaq	(%rcx,%rcx,4), %rcx
	movq	16(%rax,%rcx,8), %rdi
	callq	_av_buffer_ref
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	movq	%rax, (%rdx)
	jmp	LBB0_17
LBB0_16:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_av_buffer_ref
	movq	(%rbx), %rcx
	movq	(%rcx), %rdx
	movq	%rax, (%rdx)
	movl	$1, 8(%r15)
LBB0_17:
	movq	(%rcx), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_18
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No hw context provided on input\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Unsupported input format: %s\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_NPP_TRANSPOSE_CCLOCK_FLIP,8,3  ## @NPP_TRANSPOSE_CCLOCK_FLIP
	.comm	_STAGE_ROTATE,8,3               ## @STAGE_ROTATE
	.comm	_NPP_TRANSPOSE_CLOCK_FLIP,8,3   ## @NPP_TRANSPOSE_CLOCK_FLIP
	.comm	_STAGE_TRANSPOSE,8,3            ## @STAGE_TRANSPOSE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_init_processing_chain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_processing_chain
_init_processing_chain:                 ; @init_processing_chain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldr	x25, [x19, #16]
	ldr	x26, [x8]
	ldr	w24, [x26]
	mov	x0, x24
	bl	_format_is_supported
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x9, [x25]
Lloh0:
	adrp	x8, _NPP_TRANSPOSE_CCLOCK_FLIP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPP_TRANSPOSE_CCLOCK_FLIP@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
	ldr	x0, [x25, #16]
Lloh3:
	adrp	x8, _STAGE_ROTATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STAGE_ROTATE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x10
	b.eq	LBB0_4
; %bb.3:
	mov	w10, #40
	mul	x10, x8, x10
	mov	w11, #1
	str	w11, [x0, x10]
Lloh6:
	adrp	x10, _NPP_TRANSPOSE_CLOCK_FLIP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NPP_TRANSPOSE_CLOCK_FLIP@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
LBB0_4:
Lloh9:
	adrp	x9, _STAGE_TRANSPOSE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _STAGE_TRANSPOSE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	mov	w10, #40
	mul	x10, x9, x10
	mov	w11, #1
	str	w11, [x0, x10]
	mov	x10, x23
	mov	x11, x22
	b	LBB0_8
LBB0_5:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_21
LBB0_6:
Lloh19:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	mov	x0, x24
	bl	_av_get_pix_fmt_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_log
Lloh24:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_21
LBB0_7:
Lloh26:
	adrp	x9, _STAGE_TRANSPOSE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _STAGE_TRANSPOSE@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	mov	x10, x21
	mov	x11, x20
LBB0_8:
	mov	w12, #40
	madd	x8, x8, x12, x0
	stp	w24, w24, [x8, #4]
	ldp	x8, x13, [x8, #24]
	stp	w23, w22, [x13]
	stp	w10, w11, [x8]
	madd	x8, x9, x12, x0
	stp	w24, w24, [x8, #4]
	ldp	x8, x9, [x8, #24]
	stp	w10, w11, [x9]
	stp	w21, w20, [x8]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.9:
	mov	x20, #0
	mov	x21, #0
	mov	w22, #-1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	bl	_FF_ARRAY_ELEMS
	add	x20, x20, #40
	cmp	x21, w0, sxtw
	b.ge	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25, #16]
	add	x8, x0, x20
	ldr	w9, [x8]
	cbz	w9, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [x26, #4]
	mov	x0, x8
	bl	_init_stage
	tbnz	w0, #31, LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x0, [x25, #16]
	mov	x22, x21
	b	LBB0_10
LBB0_14:
	tbnz	w22, #31, LBB0_16
; %bb.15:
	ldr	x8, [x25, #16]
	mov	w9, #40
	umaddl	x8, w22, w9, x8
	ldr	x0, [x8, #16]
	bl	_av_buffer_ref
	ldr	x8, [x19]
	ldr	x9, [x8]
	str	x0, [x9]
	b	LBB0_17
LBB0_16:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	bl	_av_buffer_ref
	ldr	x8, [x19]
	ldr	x9, [x8]
	str	x0, [x9]
	mov	w9, #1
	str	w9, [x25, #8]
LBB0_17:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.18:
	mov	w0, #0
LBB0_19:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No hw context provided on input\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Unsupported input format: %s\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_NPP_TRANSPOSE_CCLOCK_FLIP,8,3  ; @NPP_TRANSPOSE_CCLOCK_FLIP
	.comm	_STAGE_ROTATE,8,3               ; @STAGE_ROTATE
	.comm	_NPP_TRANSPOSE_CLOCK_FLIP,8,3   ; @NPP_TRANSPOSE_CLOCK_FLIP
	.comm	_STAGE_TRANSPOSE,8,3            ; @STAGE_TRANSPOSE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_init_processing_chain
.subsections_via_symbols
