	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pix_fmt
_set_pix_fmt:                           ## @set_pix_fmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rsi), %rax
	leaq	_set_pix_fmt.colorspaces(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 4(%rdi)
	movq	8(%rdi), %rax
	movq	_AV_CODEC_ID_VP8@GOTPCREL(%rip), %r8
	movl	16(%rsi), %ecx
	cmpq	(%r8), %rax
	cmpl	$135, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_AV_CODEC_ID_VP9@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_FF_PROFILE_VP9_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
LBB0_4:
	testl	%edx, %edx
	jne	LBB0_5
## %bb.6:
	movq	_AV_PIX_FMT_YUV420P@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_AV_PIX_FMT_YUVA420P@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @set_pix_fmt.colorspaces
_set_pix_fmt.colorspaces:
	.long	136                             ## 0x88
	.long	142                             ## 0x8e
	.long	141                             ## 0x8d
	.long	138                             ## 0x8a
	.long	137                             ## 0x89
	.long	143                             ## 0x8f
	.long	140                             ## 0x8c
	.long	139                             ## 0x8b

	.comm	_AV_CODEC_ID_VP8,8,3            ## @AV_CODEC_ID_VP8
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_CODEC_ID_VP9,8,3            ## @AV_CODEC_ID_VP9
	.comm	_FF_PROFILE_VP9_0,8,3           ## @FF_PROFILE_VP9_0
	.comm	_AV_PIX_FMT_YUVA420P,4,2        ## @AV_PIX_FMT_YUVA420P
	.comm	_AV_PIX_FMT_YUV420P,4,2         ## @AV_PIX_FMT_YUV420P
	.comm	_AV_PIX_FMT_GBRP,4,2            ## @AV_PIX_FMT_GBRP
	.comm	_AV_PIX_FMT_GBRP10,4,2          ## @AV_PIX_FMT_GBRP10
	.comm	_AV_PIX_FMT_GBRP12,4,2          ## @AV_PIX_FMT_GBRP12
	.comm	_AV_PIX_FMT_YUV420P10,4,2       ## @AV_PIX_FMT_YUV420P10
	.comm	_AV_PIX_FMT_YUV420P12,4,2       ## @AV_PIX_FMT_YUV420P12
	.comm	_AV_PIX_FMT_YUV422P,4,2         ## @AV_PIX_FMT_YUV422P
	.comm	_AV_PIX_FMT_YUV422P10,4,2       ## @AV_PIX_FMT_YUV422P10
	.comm	_AV_PIX_FMT_YUV422P12,4,2       ## @AV_PIX_FMT_YUV422P12
	.comm	_AV_PIX_FMT_YUV440P,4,2         ## @AV_PIX_FMT_YUV440P
	.comm	_AV_PIX_FMT_YUV440P10,4,2       ## @AV_PIX_FMT_YUV440P10
	.comm	_AV_PIX_FMT_YUV440P12,4,2       ## @AV_PIX_FMT_YUV440P12
	.comm	_AV_PIX_FMT_YUV444P,4,2         ## @AV_PIX_FMT_YUV444P
	.comm	_AV_PIX_FMT_YUV444P10,4,2       ## @AV_PIX_FMT_YUV444P10
	.comm	_AV_PIX_FMT_YUV444P12,4,2       ## @AV_PIX_FMT_YUV444P12
	.comm	_FF_PROFILE_VP9_1,8,3           ## @FF_PROFILE_VP9_1
	.comm	_FF_PROFILE_VP9_2,8,3           ## @FF_PROFILE_VP9_2
	.comm	_FF_PROFILE_VP9_3,8,3           ## @FF_PROFILE_VP9_3
	.no_dead_strip	_set_pix_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pix_fmt
_set_pix_fmt:                           ; @set_pix_fmt
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _set_pix_fmt.colorspaces@PAGE
Lloh1:
	add	x9, x9, _set_pix_fmt.colorspaces@PAGEOFF
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x0, #4]
	ldr	x8, [x0, #8]
Lloh2:
	adrp	x9, _AV_CODEC_ID_VP8@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_CODEC_ID_VP8@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x9]
	ldr	w9, [x1, #16]
	cmp	x8, x10
	cmp	w9, #135
	b.ne	LBB0_4
; %bb.1:
Lloh5:
	adrp	x9, _AV_CODEC_ID_VP9@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_CODEC_ID_VP9@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _FF_PROFILE_VP9_0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FF_PROFILE_VP9_0@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x0, #24]
LBB0_3:
	mov	w8, #0
Lloh11:
	adrp	x9, _AV_PIX_FMT_YUVA420P@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_PIX_FMT_YUVA420P@GOTPAGEOFF]
Lloh13:
	adrp	x10, _AV_PIX_FMT_YUV420P@GOTPAGE
Lloh14:
	ldr	x10, [x10, _AV_PIX_FMT_YUV420P@GOTPAGEOFF]
	cmp	w2, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x0, #16]
	mov	x0, x8
	ret
LBB0_4:
Lloh15:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @set_pix_fmt.colorspaces
_set_pix_fmt.colorspaces:
	.long	136                             ; 0x88
	.long	142                             ; 0x8e
	.long	141                             ; 0x8d
	.long	138                             ; 0x8a
	.long	137                             ; 0x89
	.long	143                             ; 0x8f
	.long	140                             ; 0x8c
	.long	139                             ; 0x8b

	.comm	_AV_CODEC_ID_VP8,8,3            ; @AV_CODEC_ID_VP8
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_CODEC_ID_VP9,8,3            ; @AV_CODEC_ID_VP9
	.comm	_FF_PROFILE_VP9_0,8,3           ; @FF_PROFILE_VP9_0
	.comm	_AV_PIX_FMT_YUVA420P,4,2        ; @AV_PIX_FMT_YUVA420P
	.comm	_AV_PIX_FMT_YUV420P,4,2         ; @AV_PIX_FMT_YUV420P
	.comm	_AV_PIX_FMT_GBRP,4,2            ; @AV_PIX_FMT_GBRP
	.comm	_AV_PIX_FMT_GBRP10,4,2          ; @AV_PIX_FMT_GBRP10
	.comm	_AV_PIX_FMT_GBRP12,4,2          ; @AV_PIX_FMT_GBRP12
	.comm	_AV_PIX_FMT_YUV420P10,4,2       ; @AV_PIX_FMT_YUV420P10
	.comm	_AV_PIX_FMT_YUV420P12,4,2       ; @AV_PIX_FMT_YUV420P12
	.comm	_AV_PIX_FMT_YUV422P,4,2         ; @AV_PIX_FMT_YUV422P
	.comm	_AV_PIX_FMT_YUV422P10,4,2       ; @AV_PIX_FMT_YUV422P10
	.comm	_AV_PIX_FMT_YUV422P12,4,2       ; @AV_PIX_FMT_YUV422P12
	.comm	_AV_PIX_FMT_YUV440P,4,2         ; @AV_PIX_FMT_YUV440P
	.comm	_AV_PIX_FMT_YUV440P10,4,2       ; @AV_PIX_FMT_YUV440P10
	.comm	_AV_PIX_FMT_YUV440P12,4,2       ; @AV_PIX_FMT_YUV440P12
	.comm	_AV_PIX_FMT_YUV444P,4,2         ; @AV_PIX_FMT_YUV444P
	.comm	_AV_PIX_FMT_YUV444P10,4,2       ; @AV_PIX_FMT_YUV444P10
	.comm	_AV_PIX_FMT_YUV444P12,4,2       ; @AV_PIX_FMT_YUV444P12
	.comm	_FF_PROFILE_VP9_1,8,3           ; @FF_PROFILE_VP9_1
	.comm	_FF_PROFILE_VP9_2,8,3           ; @FF_PROFILE_VP9_2
	.comm	_FF_PROFILE_VP9_3,8,3           ; @FF_PROFILE_VP9_3
	.no_dead_strip	_set_pix_fmt
.subsections_via_symbols
