	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_get_rawvideo_codec_tag
_mov_get_rawvideo_codec_tag:            ## @mov_get_rawvideo_codec_tag
	.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
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movl	(%rax), %r13d
	movq	_mov_pix_fmt_tags@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	$12, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	callq	_FF_ARRAY_ELEMS
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r14
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rcx
	movq	(%r12), %rdi
	cmpq	-12(%rdi,%rbx), %rcx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rdi,%rbx), %r13d
	movl	(%rdi,%rbx), %ecx
	movl	%ecx, 16(%rax)
	cmpl	%r13d, (%rax)
	jne	LBB0_4
LBB0_5:
	movq	_avpriv_pix_fmt_bps_mov@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movl	16(%rax), %esi
	callq	_avpriv_find_pix_fmt
	movl	%eax, %r12d
	movl	$114, %edi
	movl	$97, %esi
	movl	$119, %edx
	movl	$32, %ecx
	callq	_MKTAG
	cmpl	%eax, %r13d
	jne	LBB0_10
## %bb.6:
	movq	(%r15), %rax
	movq	8(%rax), %rdi
	movl	%r12d, %eax
	cmpq	%rax, %rdi
	je	LBB0_10
## %bb.7:
	movq	_AV_PIX_FMT_GRAY8@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_10
## %bb.8:
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_10
## %bb.9:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_av_get_pix_fmt_name
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%eax, %ecx
	callq	_av_log
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mov_pix_fmt_tags,8,3           ## @mov_pix_fmt_tags
	.comm	_avpriv_pix_fmt_bps_mov,4,2     ## @avpriv_pix_fmt_bps_mov
	.comm	_AV_PIX_FMT_GRAY8,8,3           ## @AV_PIX_FMT_GRAY8
	.comm	_AV_PIX_FMT_NONE,8,3            ## @AV_PIX_FMT_NONE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s rawvideo cannot be written to mov, output file will be unreadable\n"

	.no_dead_strip	_mov_get_rawvideo_codec_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_get_rawvideo_codec_tag
_mov_get_rawvideo_codec_tag:            ; @mov_get_rawvideo_codec_tag
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	w19, [x8]
Lloh0:
	adrp	x22, _mov_pix_fmt_tags@GOTPAGE
Lloh1:
	ldr	x22, [x22, _mov_pix_fmt_tags@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	bl	_FF_ARRAY_ELEMS
	add	x23, x23, #16
	cmp	x24, w0, sxtw
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x8, #8]
	ldr	x0, [x22]
	ldr	x10, [x0, x23]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x0, x23
	ldp	w19, w9, [x9, #8]
	str	w9, [x8, #16]
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_2
LBB0_5:
Lloh2:
	adrp	x8, _avpriv_pix_fmt_bps_mov@GOTPAGE
Lloh3:
	ldr	x8, [x8, _avpriv_pix_fmt_bps_mov@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	w1, [x8, #16]
	bl	_avpriv_find_pix_fmt
	mov	x22, x0
	mov	w0, #114
	mov	w1, #97
	mov	w2, #119
	mov	w3, #32
	bl	_MKTAG
	cmp	w19, w0
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
Lloh5:
	adrp	x8, _AV_PIX_FMT_GRAY8@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_PIX_FMT_GRAY8@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _AV_PIX_FMT_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x0, w22, uxtw
	ccmp	x0, x8, #4, ne
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	bl	_av_get_pix_fmt_name
	mov	x3, x0
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_av_log
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_mov_pix_fmt_tags,8,3           ; @mov_pix_fmt_tags
	.comm	_avpriv_pix_fmt_bps_mov,4,2     ; @avpriv_pix_fmt_bps_mov
	.comm	_AV_PIX_FMT_GRAY8,8,3           ; @AV_PIX_FMT_GRAY8
	.comm	_AV_PIX_FMT_NONE,8,3            ; @AV_PIX_FMT_NONE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s rawvideo cannot be written to mov, output file will be unreadable\n"

	.no_dead_strip	_mov_get_rawvideo_codec_tag
.subsections_via_symbols
