	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpeg_get_pixelformat
_mpeg_get_pixelformat:                  ## @mpeg_get_pixelformat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	_CONFIG_GRAY@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	je	LBB0_2
## %bb.10:
	movq	_AV_PIX_FMT_GRAY8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	(%rax), %eax
	cmpl	$1, %eax
	jg	LBB0_6
## %bb.3:
	movq	8(%rdi), %rax
	movq	_AV_CODEC_ID_MPEG1VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	_mpeg1_hwaccel_pixfmt_list_420@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.7:
	movq	_mpeg12_pixfmt_list_422@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_mpeg2_hwaccel_pixfmt_list_420@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_mpeg12_pixfmt_list_444@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rsi
	popq	%rbp
	jmp	_ff_thread_get_format           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_GRAY,8,3                ## @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ## @AV_CODEC_FLAG_GRAY
	.comm	_AV_PIX_FMT_GRAY8,4,2           ## @AV_PIX_FMT_GRAY8
	.comm	_AV_CODEC_ID_MPEG1VIDEO,8,3     ## @AV_CODEC_ID_MPEG1VIDEO
	.comm	_mpeg1_hwaccel_pixfmt_list_420,8,3 ## @mpeg1_hwaccel_pixfmt_list_420
	.comm	_mpeg2_hwaccel_pixfmt_list_420,8,3 ## @mpeg2_hwaccel_pixfmt_list_420
	.comm	_mpeg12_pixfmt_list_422,8,3     ## @mpeg12_pixfmt_list_422
	.comm	_mpeg12_pixfmt_list_444,8,3     ## @mpeg12_pixfmt_list_444
	.no_dead_strip	_mpeg_get_pixelformat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpeg_get_pixelformat
_mpeg_get_pixelformat:                  ; @mpeg_get_pixelformat
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _CONFIG_GRAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CONFIG_GRAY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _AV_PIX_FMT_GRAY8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_PIX_FMT_GRAY8@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_3:
	ldr	w8, [x8]
	cmp	w8, #1
	b.gt	LBB0_5
; %bb.4:
	ldr	x8, [x0, #8]
Lloh9:
	adrp	x9, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AV_CODEC_ID_MPEG1VIDEO@GOTPAGEOFF]
Lloh11:
	adrp	x10, _mpeg1_hwaccel_pixfmt_list_420@GOTPAGE
Lloh12:
	ldr	x10, [x10, _mpeg1_hwaccel_pixfmt_list_420@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x11, _mpeg2_hwaccel_pixfmt_list_420@GOTPAGE
Lloh15:
	ldr	x11, [x11, _mpeg2_hwaccel_pixfmt_list_420@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x1, [x8]
	b	_ff_thread_get_format
LBB0_5:
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.6:
Lloh16:
	adrp	x8, _mpeg12_pixfmt_list_422@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mpeg12_pixfmt_list_422@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
	b	_ff_thread_get_format
LBB0_7:
Lloh19:
	adrp	x8, _mpeg12_pixfmt_list_444@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mpeg12_pixfmt_list_444@GOTPAGEOFF]
Lloh21:
	ldr	x1, [x8]
	b	_ff_thread_get_format
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_GRAY,8,3                ; @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ; @AV_CODEC_FLAG_GRAY
	.comm	_AV_PIX_FMT_GRAY8,4,2           ; @AV_PIX_FMT_GRAY8
	.comm	_AV_CODEC_ID_MPEG1VIDEO,8,3     ; @AV_CODEC_ID_MPEG1VIDEO
	.comm	_mpeg1_hwaccel_pixfmt_list_420,8,3 ; @mpeg1_hwaccel_pixfmt_list_420
	.comm	_mpeg2_hwaccel_pixfmt_list_420,8,3 ; @mpeg2_hwaccel_pixfmt_list_420
	.comm	_mpeg12_pixfmt_list_422,8,3     ; @mpeg12_pixfmt_list_422
	.comm	_mpeg12_pixfmt_list_444,8,3     ; @mpeg12_pixfmt_list_444
	.no_dead_strip	_mpeg_get_pixelformat
.subsections_via_symbols
