	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_deinterleaved_format
_get_deinterleaved_format:              ## @get_deinterleaved_format
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movl	%r15d, %edi
	callq	_av_pix_fmt_count_planes
	cmpl	(%r14), %eax
	je	LBB0_7
## %bb.1:
	movq	_deinterleaved_formats@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	movq	(%rdi,%rbx,8), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_6:
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_5:
	movl	4(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_deinterleaved_formats,8,3      ## @deinterleaved_formats
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.no_dead_strip	_get_deinterleaved_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_deinterleaved_format
_get_deinterleaved_format:              ; @get_deinterleaved_format
	.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, x0
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	mov	x0, x19
	bl	_av_pix_fmt_count_planes
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.1:
Lloh0:
	adrp	x20, _deinterleaved_formats@GOTPAGE
Lloh1:
	ldr	x20, [x20, _deinterleaved_formats@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	x8, [x0, x21, lsl #3]
	ldr	w9, [x8]
	cmp	w9, w19
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	bl	_FF_ARRAY_ELEMS
	cmp	x21, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
Lloh2:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	b	LBB0_7
LBB0_6:
	ldr	w19, [x8, #4]
LBB0_7:
	mov	x0, 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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_deinterleaved_formats,8,3      ; @deinterleaved_formats
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.no_dead_strip	_get_deinterleaved_format
.subsections_via_symbols
