	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pix_fmt_match
_pix_fmt_match:                         ## @pix_fmt_match
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_av_assert2
	xorl	%eax, %eax
	cmpl	%ebx, (%r13)
	jne	LBB0_18
## %bb.1:
	decl	%ebx
	cmpl	$3, %ebx
	ja	LBB0_2
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_14:
	movq	16(%r13), %rcx
LBB0_15:
	testb	$15, %r12b
	jne	LBB0_18
## %bb.16:
	cmpl	%r15d, (%rcx)
	jl	LBB0_18
## %bb.17:
	movq	_AV_PIX_FMT_FLAG_PAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	12(%r13), %ecx
	andl	%eax, %ecx
	imull	%eax, %r14d
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	sete	%al
	jmp	LBB0_18
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_18
LBB0_10:
	movq	16(%r13), %rcx
LBB0_11:
	cmpl	%r15d, 4(%rcx)
	jl	LBB0_18
## %bb.12:
	movl	%r12d, %edx
	shrl	$6, %edx
	andl	$3, %edx
	cmpl	4(%r13), %edx
	jne	LBB0_18
## %bb.13:
	movl	%r12d, %edx
	shrl	$4, %edx
	andl	$3, %edx
	cmpl	8(%r13), %edx
	je	LBB0_15
	jmp	LBB0_18
LBB0_6:
	movq	16(%r13), %rcx
	jmp	LBB0_7
LBB0_4:
	testl	$61440, %r12d                   ## imm = 0xF000
	jne	LBB0_18
## %bb.5:
	movq	16(%r13), %rcx
	cmpl	%r15d, 12(%rcx)
	jl	LBB0_18
LBB0_7:
	cmpl	%r15d, 8(%rcx)
	jl	LBB0_18
## %bb.8:
	movl	%r12d, %edx
	shrl	$10, %edx
	andl	$3, %edx
	cmpl	4(%r13), %edx
	jne	LBB0_18
## %bb.9:
	movl	%r12d, %edx
	shrl	$8, %edx
	andl	$3, %edx
	cmpl	8(%r13), %edx
	je	LBB0_11
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ## @AV_PIX_FMT_FLAG_PAL
	.no_dead_strip	_pix_fmt_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pix_fmt_match
_pix_fmt_match:                         ; @pix_fmt_match
	.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	x19, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	bl	_av_pix_fmt_desc_get
	mov	x21, x0
	bl	_av_assert2
	ldr	w8, [x21]
	cmp	w8, w23
	b.ne	LBB0_18
; %bb.1:
	sub	w8, w23, #1
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x8, [x21, #16]
LBB0_4:
	mov	w0, #0
	tst	w22, #0xf
	b.ne	LBB0_19
; %bb.5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.lt	LBB0_19
; %bb.6:
Lloh2:
	adrp	x8, _AV_PIX_FMT_FLAG_PAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_PIX_FMT_FLAG_PAL@GOTPAGEOFF]
	ldr	w9, [x21, #12]
Lloh4:
	ldr	w8, [x8]
	and	w9, w8, w9
	mul	w8, w8, w19
	cmp	w9, w8
	cset	w0, eq
	b	LBB0_19
LBB0_7:
	mov	w0, #1
	b	LBB0_19
LBB0_8:
	ldr	x8, [x21, #16]
LBB0_9:
	ldr	w9, [x8, #4]
	cmp	w9, w20
	b.lt	LBB0_18
; %bb.10:
	ubfx	w9, w22, #6, #2
	ldr	w10, [x21, #4]
	cmp	w9, w10
	b.ne	LBB0_18
; %bb.11:
	ubfx	w9, w22, #4, #2
	ldr	w10, [x21, #8]
	cmp	w9, w10
	b.eq	LBB0_4
	b	LBB0_18
LBB0_12:
	ldr	x8, [x21, #16]
	b	LBB0_15
LBB0_13:
	mov	w0, #0
	tst	w22, #0xf000
	b.ne	LBB0_19
; %bb.14:
	ldr	x8, [x21, #16]
	ldr	w9, [x8, #12]
	cmp	w9, w20
	b.lt	LBB0_19
LBB0_15:
	ldr	w9, [x8, #8]
	cmp	w9, w20
	b.lt	LBB0_18
; %bb.16:
	ubfx	w9, w22, #10, #2
	ldr	w10, [x21, #4]
	cmp	w9, w10
	b.ne	LBB0_18
; %bb.17:
	ubfx	w9, w22, #8, #2
	ldr	w10, [x21, #8]
	cmp	w9, w10
	b.eq	LBB0_9
LBB0_18:
	mov	w0, #0
LBB0_19:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_PAL,4,2        ; @AV_PIX_FMT_FLAG_PAL
	.no_dead_strip	_pix_fmt_match
.subsections_via_symbols
