	.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	(%rsi), %rax
	leaq	_set_pix_fmt.color_ranges(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rdi)
	movl	28(%rsi), %eax
	movl	%eax, 28(%rdi)
	movl	24(%rsi), %eax
	movl	%eax, 24(%rdi)
	movl	20(%rsi), %eax
	movl	%eax, 20(%rdi)
	movl	$-130, %eax
	addl	8(%rsi), %eax
	cmpl	$5, %eax
	ja	LBB0_31
## %bb.1:
	movl	$3, %ecx
	btl	%eax, %ecx
	jb	LBB0_24
## %bb.2:
	movl	$12, %ecx
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.18:
	movl	12(%rsi), %eax
	cmpl	$12, %eax
	je	LBB0_23
## %bb.19:
	cmpl	$10, %eax
	je	LBB0_22
## %bb.20:
	cmpl	$8, %eax
	jne	LBB0_31
## %bb.21:
	movq	_AV_PIX_FMT_YUV422P@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_24:
	movl	12(%rsi), %eax
	cmpl	$12, %eax
	je	LBB0_30
## %bb.25:
	cmpl	$10, %eax
	je	LBB0_29
## %bb.26:
	cmpl	$8, %eax
	jne	LBB0_31
## %bb.27:
	movq	_AV_PIX_FMT_YUV444P@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_3:
	movl	12(%rsi), %eax
	cmpl	$12, %eax
	je	LBB0_14
## %bb.4:
	cmpl	$10, %eax
	je	LBB0_11
## %bb.5:
	cmpl	$8, %eax
	jne	LBB0_31
## %bb.6:
	cmpl	$0, 16(%rsi)
	jne	LBB0_7
## %bb.8:
	movq	_AV_PIX_FMT_YUV420P@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_31:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_23:
	movq	_AV_PIX_FMT_YUV422P12@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_22:
	movq	_AV_PIX_FMT_YUV422P10@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_30:
	movq	_AV_PIX_FMT_YUV444P12@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_29:
	movq	_AV_PIX_FMT_YUV444P10@GOTPCREL(%rip), %rax
LBB0_28:
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_FF_PROFILE_AV1_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_14:
	cmpl	$0, 16(%rsi)
	jne	LBB0_15
## %bb.16:
	movq	_AV_PIX_FMT_YUV420P12@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_11:
	cmpl	$0, 16(%rsi)
	jne	LBB0_12
## %bb.13:
	movq	_AV_PIX_FMT_YUV420P10@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_AV_PIX_FMT_GRAY8@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_15:
	movq	_AV_PIX_FMT_GRAY12@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_FF_PROFILE_AV1_PROFESSIONAL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	_AV_PIX_FMT_GRAY10@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 16(%rdi)
	movq	_FF_PROFILE_AV1_MAIN@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @set_pix_fmt.color_ranges
_set_pix_fmt.color_ranges:
	.long	128                             ## 0x80
	.long	129                             ## 0x81

	.comm	_AV_PIX_FMT_GRAY8,4,2           ## @AV_PIX_FMT_GRAY8
	.comm	_AV_PIX_FMT_YUV420P,4,2         ## @AV_PIX_FMT_YUV420P
	.comm	_FF_PROFILE_AV1_MAIN,8,3        ## @FF_PROFILE_AV1_MAIN
	.comm	_AV_PIX_FMT_GRAY10,4,2          ## @AV_PIX_FMT_GRAY10
	.comm	_AV_PIX_FMT_YUV420P10,4,2       ## @AV_PIX_FMT_YUV420P10
	.comm	_AV_PIX_FMT_GRAY12,4,2          ## @AV_PIX_FMT_GRAY12
	.comm	_AV_PIX_FMT_YUV420P12,4,2       ## @AV_PIX_FMT_YUV420P12
	.comm	_FF_PROFILE_AV1_PROFESSIONAL,8,3 ## @FF_PROFILE_AV1_PROFESSIONAL
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.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_YUV444P,4,2         ## @AV_PIX_FMT_YUV444P
	.comm	_FF_PROFILE_AV1_HIGH,8,3        ## @FF_PROFILE_AV1_HIGH
	.comm	_AV_PIX_FMT_YUV444P10,4,2       ## @AV_PIX_FMT_YUV444P10
	.comm	_AV_PIX_FMT_YUV444P12,4,2       ## @AV_PIX_FMT_YUV444P12
	.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]
Lloh0:
	adrp	x9, _set_pix_fmt.color_ranges@PAGE
Lloh1:
	add	x9, x9, _set_pix_fmt.color_ranges@PAGEOFF
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x0]
	ldr	w8, [x1, #28]
	str	w8, [x0, #28]
	ldur	d0, [x1, #20]
	stur	d0, [x0, #20]
	ldr	w8, [x1, #8]
	sub	w8, w8, #130
	cmp	w8, #5
	b.hi	LBB0_15
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	tst	w8, #0x3
	b.ne	LBB0_7
; %bb.2:
	tst	w8, #0xc
	b.eq	LBB0_11
; %bb.3:
	ldr	w8, [x1, #12]
	cmp	w8, #12
	b.eq	LBB0_16
; %bb.4:
	cmp	w8, #10
	b.eq	LBB0_17
; %bb.5:
	cmp	w8, #8
	b.ne	LBB0_15
; %bb.6:
	mov	w8, #0
Lloh2:
	adrp	x9, _AV_PIX_FMT_YUV422P@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_PIX_FMT_YUV422P@GOTPAGEOFF]
	b	LBB0_22
LBB0_7:
	ldr	w8, [x1, #12]
	cmp	w8, #12
	b.eq	LBB0_18
; %bb.8:
	cmp	w8, #10
	b.eq	LBB0_19
; %bb.9:
	cmp	w8, #8
	b.ne	LBB0_15
; %bb.10:
	mov	w8, #0
Lloh4:
	adrp	x9, _AV_PIX_FMT_YUV444P@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AV_PIX_FMT_YUV444P@GOTPAGEOFF]
	b	LBB0_20
LBB0_11:
	ldr	w8, [x1, #12]
	cmp	w8, #12
	b.eq	LBB0_21
; %bb.12:
	cmp	w8, #10
	b.eq	LBB0_23
; %bb.13:
	cmp	w8, #8
	b.ne	LBB0_15
; %bb.14:
	mov	w8, #0
	ldr	w9, [x1, #16]
Lloh6:
	adrp	x10, _AV_PIX_FMT_GRAY8@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_PIX_FMT_GRAY8@GOTPAGEOFF]
Lloh8:
	adrp	x11, _AV_PIX_FMT_YUV420P@GOTPAGE
Lloh9:
	ldr	x11, [x11, _AV_PIX_FMT_YUV420P@GOTPAGEOFF]
	b	LBB0_24
LBB0_15:
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ret
LBB0_16:
	mov	w8, #0
Lloh13:
	adrp	x9, _AV_PIX_FMT_YUV422P12@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AV_PIX_FMT_YUV422P12@GOTPAGEOFF]
	b	LBB0_22
LBB0_17:
	mov	w8, #0
Lloh15:
	adrp	x9, _AV_PIX_FMT_YUV422P10@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AV_PIX_FMT_YUV422P10@GOTPAGEOFF]
	b	LBB0_22
LBB0_18:
	mov	w8, #0
Lloh17:
	adrp	x9, _AV_PIX_FMT_YUV444P12@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AV_PIX_FMT_YUV444P12@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
	mov	w8, #0
Lloh19:
	adrp	x9, _AV_PIX_FMT_YUV444P10@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AV_PIX_FMT_YUV444P10@GOTPAGEOFF]
LBB0_20:
	ldr	w9, [x9]
	str	w9, [x0, #16]
Lloh21:
	adrp	x9, _FF_PROFILE_AV1_HIGH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FF_PROFILE_AV1_HIGH@GOTPAGEOFF]
	b	LBB0_25
LBB0_21:
	mov	w8, #0
	ldr	w9, [x1, #16]
Lloh23:
	adrp	x10, _AV_PIX_FMT_GRAY12@GOTPAGE
Lloh24:
	ldr	x10, [x10, _AV_PIX_FMT_GRAY12@GOTPAGEOFF]
Lloh25:
	adrp	x11, _AV_PIX_FMT_YUV420P12@GOTPAGE
Lloh26:
	ldr	x11, [x11, _AV_PIX_FMT_YUV420P12@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x11, x10, eq
LBB0_22:
	ldr	w9, [x9]
	str	w9, [x0, #16]
Lloh27:
	adrp	x9, _FF_PROFILE_AV1_PROFESSIONAL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FF_PROFILE_AV1_PROFESSIONAL@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
	mov	w8, #0
	ldr	w9, [x1, #16]
Lloh29:
	adrp	x10, _AV_PIX_FMT_GRAY10@GOTPAGE
Lloh30:
	ldr	x10, [x10, _AV_PIX_FMT_GRAY10@GOTPAGEOFF]
Lloh31:
	adrp	x11, _AV_PIX_FMT_YUV420P10@GOTPAGE
Lloh32:
	ldr	x11, [x11, _AV_PIX_FMT_YUV420P10@GOTPAGEOFF]
LBB0_24:
	cmp	w9, #0
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	str	w9, [x0, #16]
Lloh33:
	adrp	x9, _FF_PROFILE_AV1_MAIN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _FF_PROFILE_AV1_MAIN@GOTPAGEOFF]
LBB0_25:
	ldr	x9, [x9]
	str	x9, [x0, #8]
	mov	x0, x8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @set_pix_fmt.color_ranges
_set_pix_fmt.color_ranges:
	.long	128                             ; 0x80
	.long	129                             ; 0x81

	.comm	_AV_PIX_FMT_GRAY8,4,2           ; @AV_PIX_FMT_GRAY8
	.comm	_AV_PIX_FMT_YUV420P,4,2         ; @AV_PIX_FMT_YUV420P
	.comm	_FF_PROFILE_AV1_MAIN,8,3        ; @FF_PROFILE_AV1_MAIN
	.comm	_AV_PIX_FMT_GRAY10,4,2          ; @AV_PIX_FMT_GRAY10
	.comm	_AV_PIX_FMT_YUV420P10,4,2       ; @AV_PIX_FMT_YUV420P10
	.comm	_AV_PIX_FMT_GRAY12,4,2          ; @AV_PIX_FMT_GRAY12
	.comm	_AV_PIX_FMT_YUV420P12,4,2       ; @AV_PIX_FMT_YUV420P12
	.comm	_FF_PROFILE_AV1_PROFESSIONAL,8,3 ; @FF_PROFILE_AV1_PROFESSIONAL
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.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_YUV444P,4,2         ; @AV_PIX_FMT_YUV444P
	.comm	_FF_PROFILE_AV1_HIGH,8,3        ; @FF_PROFILE_AV1_HIGH
	.comm	_AV_PIX_FMT_YUV444P10,4,2       ; @AV_PIX_FMT_YUV444P10
	.comm	_AV_PIX_FMT_YUV444P12,4,2       ; @AV_PIX_FMT_YUV444P12
	.no_dead_strip	_set_pix_fmt
.subsections_via_symbols
