	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_pix_fmt_score
_get_pix_fmt_score:                     ## @get_pix_fmt_score
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movl	%edi, %ebx
	movl	%esi, %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_av_pix_fmt_desc_get
	movl	$-4, %r15d
	testq	%r12, %r12
	je	LBB0_5
## %bb.1:
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	jne	LBB0_4
## %bb.3:
	testl	%ecx, (%rax)
	je	LBB0_6
LBB0_4:
	xorl	%r15d, %r15d
	cmpl	%r14d, %ebx
	sete	%r15b
	orl	$-2, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_INT_MAX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, (%rcx)
	cmpl	%r14d, %ebx
	jne	LBB0_8
## %bb.7:
	movl	(%rdx), %r15d
	jmp	LBB0_5
LBB0_8:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rdi
	leaq	-92(%rbp), %rsi
	movl	%r14d, %edx
	callq	_get_pix_fmt_depth
	movl	$-3, %r15d
	testl	%eax, %eax
	js	LBB0_5
## %bb.9:
	leaq	-88(%rbp), %rdi
	leaq	-84(%rbp), %rsi
	movl	%ebx, %edx
	callq	_get_pix_fmt_depth
	testl	%eax, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	js	LBB0_5
## %bb.10:
	movq	%r12, %rdi
	callq	_get_color_type
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_get_color_type
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_AV_PIX_FMT_PAL8@GOTPCREL(%rip), %r14
	movl	4(%r12), %edi
	movl	$4, %esi
	cmpl	%ebx, (%r14)
	je	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %esi
LBB0_12:
	decl	%r13d
	callq	_FFMIN
	testl	%eax, %eax
	jle	LBB0_18
## %bb.13:
	movl	(%r14), %r8d
	movq	16(%r12), %r9
	movq	_FF_LOSS_DEPTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movl	%eax, %r14d
	movl	%eax, %r10d
	xorl	%r11d, %r11d
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movl	(%rax,%rdi,4), %ecx
	decl	%ecx
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	sete	%al
	movl	(%r9,%rdi,4), %edx
	decl	%edx
	cmpl	%ecx, %edx
	setle	%dl
	orb	%al, %dl
	movl	$65536, %eax                    ## imm = 0x10000
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	testb	%dl, %dl
	movl	%r15d, %ecx
	cmovnel	%r11d, %ecx
	cmovnel	%r11d, %eax
	orl	%ecx, %esi
	subl	%eax, %r13d
	incq	%rdi
	cmpq	%rdi, %r10
	je	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, %r8d
	jne	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	$7, %eax
	xorl	%edx, %edx
	idivl	%r14d
	movl	%eax, %ecx
	jmp	LBB0_15
LBB0_18:
	movl	%eax, %r14d
	xorl	%esi, %esi
LBB0_19:
	movq	_FF_LOSS_RESOLUTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_24
## %bb.20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %r11d
	movl	$-256, %edi
	movl	%r11d, %ecx
	shll	%cl, %edi
	movl	8(%r12), %r9d
	xorl	%r10d, %r10d
	cmpl	%r9d, %r11d
	cmovlel	%r10d, %edi
	movl	$0, %r15d
	cmovgl	%edx, %r15d
	movl	12(%rax), %ecx
	addl	%r13d, %edi
	movl	$-256, %eax
	movl	12(%r12), %r8d
	shll	%cl, %eax
	cmpl	%r8d, %ecx
	cmovgl	%edx, %r15d
	cmovlel	%r10d, %eax
	orl	%esi, %r15d
	movl	%eax, %r13d
	addl	%edi, %r13d
	cmpl	$1, %r11d
	jne	LBB0_25
## %bb.21:
	testl	%r9d, %r9d
	jne	LBB0_25
## %bb.22:
	cmpl	$1, %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_26
## %bb.23:
	leal	512(%r13), %eax
	testl	%r8d, %r8d
	cmovnel	%r13d, %eax
	movl	%eax, %r13d
	jmp	LBB0_26
LBB0_24:
	movl	%esi, %r15d
LBB0_25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_26:
	movq	_FF_LOSS_COLORSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_37
## %bb.27:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_35
## %bb.28:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_29:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_31
## %bb.30:
	cmpl	$2, %ecx
	jne	LBB0_37
LBB0_31:
	orl	%eax, %r15d
	jmp	LBB0_37
LBB0_32:
	xorl	%ecx, %ecx
	cmpl	$129, -64(%rbp)                 ## 4-byte Folded Reload
	jmp	LBB0_36
LBB0_33:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	andl	$-2, %ecx
	xorl	%edx, %edx
	cmpl	$130, %ecx
	cmovnel	%eax, %edx
	orl	%edx, %r15d
	jmp	LBB0_37
LBB0_34:
	xorl	%ecx, %ecx
	cmpl	$131, -64(%rbp)                 ## 4-byte Folded Reload
	jmp	LBB0_36
LBB0_35:
	xorl	%ecx, %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%edx, -64(%rbp)                 ## 4-byte Folded Reload
LBB0_36:
	cmovnel	%eax, %ecx
	orl	%ecx, %r15d
LBB0_37:
	testl	%eax, %r15d
	je	LBB0_39
## %bb.38:
	shll	$16, %r14d
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	decl	%edi
	movq	16(%r12), %rax
	movl	(%rax), %esi
	decl	%esi
	callq	_FFMIN
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %ecx
	sarl	%cl, %r14d
	subl	%r14d, %r13d
LBB0_39:
	movq	_AV_PIX_FMT_PAL8@GOTPCREL(%rip), %r14
	cmpl	$131, -72(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_43
## %bb.40:
	cmpl	$131, -64(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_43
## %bb.41:
	movq	_FF_LOSS_CHROMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_43
## %bb.42:
	orl	%eax, %r15d
	addl	$-131072, %r13d                 ## imm = 0xFFFE0000
LBB0_43:
	callq	_pixdesc_has_alpha
	testq	%rax, %rax
	je	LBB0_52
LBB0_44:
	cmpl	%ebx, (%r14)
	jne	LBB0_51
## %bb.45:
	movq	_FF_LOSS_COLORQUANT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_51
## %bb.46:
	cmpl	$131, -64(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_50
## %bb.47:
	movq	%r12, %rdi
	callq	_pixdesc_has_alpha
	testq	%rax, %rax
	je	LBB0_51
## %bb.48:
	movq	_FF_LOSS_ALPHA@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_51
## %bb.49:
	movl	(%rbx), %eax
LBB0_50:
	orl	%eax, %r15d
	addl	$-65536, %r13d                  ## imm = 0xFFFF0000
LBB0_51:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movl	%r13d, %r15d
	jmp	LBB0_5
LBB0_52:
	movq	%r12, %rdi
	callq	_pixdesc_has_alpha
	testq	%rax, %rax
	je	LBB0_44
## %bb.53:
	movq	_FF_LOSS_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_44
## %bb.54:
	orl	%eax, %r15d
	addl	$-65536, %r13d                  ## imm = 0xFFFF0000
	jmp	LBB0_44
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_29
	.long	L0_0_set_32
	.long	L0_0_set_33
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_AV_PIX_FMT_PAL8,4,2            ## @AV_PIX_FMT_PAL8
	.comm	_FF_LOSS_DEPTH,4,2              ## @FF_LOSS_DEPTH
	.comm	_FF_LOSS_RESOLUTION,4,2         ## @FF_LOSS_RESOLUTION
	.comm	_FF_LOSS_COLORSPACE,4,2         ## @FF_LOSS_COLORSPACE
	.comm	_FF_LOSS_CHROMA,4,2             ## @FF_LOSS_CHROMA
	.comm	_FF_LOSS_ALPHA,4,2              ## @FF_LOSS_ALPHA
	.comm	_FF_LOSS_COLORQUANT,4,2         ## @FF_LOSS_COLORQUANT
	.no_dead_strip	_get_pix_fmt_score
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_pix_fmt_score
_get_pix_fmt_score:                     ; @get_pix_fmt_score
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x19, x2
	mov	x25, x1
	mov	x23, x0
	mov	x0, x1
	bl	_av_pix_fmt_desc_get
	mov	x22, x0
	mov	x0, x23
	bl	_av_pix_fmt_desc_get
	mov	w21, #-4
	cbz	x22, LBB0_5
; %bb.1:
	mov	x24, x0
	cbz	x0, LBB0_5
; %bb.2:
	ldr	w9, [x22]
Lloh0:
	adrp	x8, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	cmp	w23, w25
	mov	w8, #-2
	cinc	w21, w8, eq
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
Lloh3:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
	ldr	w21, [x8]
	str	wzr, [x19]
	cmp	w23, w25
	b.ne	LBB0_8
; %bb.7:
	ldr	w21, [x8]
	b	LBB0_5
LBB0_8:
	add	x0, sp, #12
	add	x1, sp, #8
	mov	x2, x25
	bl	_get_pix_fmt_depth
	tbnz	w0, #31, LBB0_12
; %bb.9:
	add	x0, sp, #4
	mov	x1, sp
	mov	x2, x23
	bl	_get_pix_fmt_depth
	tbnz	w0, #31, LBB0_12
; %bb.10:
	sub	w21, w21, #1
	mov	x0, x22
	bl	_get_color_type
	mov	x25, x0
	mov	x0, x24
	bl	_get_color_type
	mov	x26, x0
Lloh5:
	adrp	x28, _AV_PIX_FMT_PAL8@GOTPAGE
Lloh6:
	ldr	x28, [x28, _AV_PIX_FMT_PAL8@GOTPAGEOFF]
	ldr	w8, [x28]
	ldr	w0, [x22, #4]
	cmp	w8, w23
	b.ne	LBB0_13
; %bb.11:
	mov	w1, #4
	b	LBB0_14
LBB0_12:
	mov	w21, #-3
	b	LBB0_5
LBB0_13:
	ldr	w1, [x24, #4]
LBB0_14:
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_20
; %bb.15:
	mov	x8, #0
	mov	w27, #0
	ldr	w9, [x28]
	ldr	x10, [x22, #16]
Lloh7:
	adrp	x11, _FF_LOSS_DEPTH@GOTPAGE
Lloh8:
	ldr	x11, [x11, _FF_LOSS_DEPTH@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	and	w12, w11, w20
	mov	w13, w0
	lsl	x13, x13, #2
	mov	w14, #7
	sdiv	w14, w14, w0
	mov	w15, #65536
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x16, [x24, #16]
	ldr	w16, [x16, x8]
	sub	w16, w16, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	w17, [x10, x8]
	sub	w17, w17, #1
	cmp	w17, w16
	ccmp	w12, #0, #4, gt
	lsr	w16, w15, w16
	csel	w17, wzr, w11, eq
	orr	w27, w27, w17
	csel	w16, wzr, w16, eq
	sub	w21, w21, w16
	add	x8, x8, #4
	cmp	x13, x8
	b.eq	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, w23
	b.ne	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x16, x14
	b	LBB0_17
LBB0_20:
	mov	w27, #0
LBB0_21:
Lloh10:
	adrp	x8, _FF_LOSS_RESOLUTION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FF_LOSS_RESOLUTION@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_23
; %bb.22:
	mov	w9, #-256
	ldp	w10, w11, [x24, #8]
	lsl	w12, w9, w10
	ldp	w13, w14, [x22, #8]
	cmp	w10, w13
	csel	w12, w12, wzr, gt
	ccmp	w11, w14, #0, le
	csel	w8, w8, wzr, gt
	orr	w27, w8, w27
	lsl	w8, w9, w11
	cmp	w11, w14
	csel	w8, w8, wzr, gt
	add	w9, w12, w21
	add	w8, w9, w8
	add	w9, w8, #512
	cmp	w14, #0
	csel	w9, w9, w8, eq
	cmp	w11, #1
	csel	w9, w8, w9, ne
	cmp	w13, #0
	csel	w9, w8, w9, ne
	cmp	w10, #1
	csel	w21, w8, w9, ne
LBB0_23:
Lloh13:
	adrp	x8, _FF_LOSS_COLORSPACE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FF_LOSS_COLORSPACE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_34
; %bb.24:
	sub	w9, w26, #128
	cmp	w9, #3
	b.hi	LBB0_32
; %bb.25:
Lloh16:
	adrp	x10, lJTI0_0@PAGE
Lloh17:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_26
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_26:
	sub	w9, w25, #128
	cmp	w9, #3
	b.hi	LBB0_28
; %bb.27:
	cmp	w9, #2
	b.ne	LBB0_34
LBB0_28:
	orr	w27, w8, w27
	b	LBB0_34
LBB0_29:
	cmp	w25, #129
	b	LBB0_33
LBB0_30:
	and	w9, w25, #0xfffffffe
	cmp	w9, #130
	b	LBB0_33
LBB0_31:
	cmp	w25, #131
	b	LBB0_33
LBB0_32:
	cmp	w25, w26
LBB0_33:
	csel	w9, wzr, w8, eq
	orr	w27, w9, w27
LBB0_34:
	tst	w27, w8
	b.eq	LBB0_36
; %bb.35:
	lsl	w28, w0, #16
	ldr	x8, [x24, #16]
	ldr	w8, [x8]
	sub	w0, w8, #1
	ldr	x8, [x22, #16]
	ldr	w8, [x8]
	sub	w1, w8, #1
	bl	_FFMIN
	asr	w8, w28, w0
Lloh18:
	adrp	x28, _AV_PIX_FMT_PAL8@GOTPAGE
Lloh19:
	ldr	x28, [x28, _AV_PIX_FMT_PAL8@GOTPAGEOFF]
	sub	w21, w21, w8
LBB0_36:
	cmp	w26, #131
	b.ne	LBB0_39
; %bb.37:
	cmp	w25, #131
	b.eq	LBB0_39
; %bb.38:
Lloh20:
	adrp	x8, _FF_LOSS_CHROMA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FF_LOSS_CHROMA@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	orr	w9, w8, w27
	sub	w10, w21, #32, lsl #12          ; =131072
	tst	w8, w20
	csel	w27, w27, w9, eq
	csel	w21, w21, w10, eq
LBB0_39:
	mov	x0, x24
	bl	_pixdesc_has_alpha
	cbnz	x0, LBB0_42
; %bb.40:
	mov	x0, x22
	bl	_pixdesc_has_alpha
	cbz	x0, LBB0_42
; %bb.41:
Lloh23:
	adrp	x8, _FF_LOSS_ALPHA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FF_LOSS_ALPHA@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w9, w8, w27
	sub	w10, w21, #16, lsl #12          ; =65536
	tst	w8, w20
	csel	w27, w27, w9, eq
	csel	w21, w21, w10, eq
LBB0_42:
	ldr	w8, [x28]
	cmp	w8, w23
	b.ne	LBB0_49
; %bb.43:
Lloh26:
	adrp	x23, _FF_LOSS_COLORQUANT@GOTPAGE
Lloh27:
	ldr	x23, [x23, _FF_LOSS_COLORQUANT@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_49
; %bb.44:
	cmp	w25, #131
	b.ne	LBB0_48
; %bb.45:
	mov	x0, x22
	bl	_pixdesc_has_alpha
	cbz	x0, LBB0_49
; %bb.46:
Lloh28:
	adrp	x8, _FF_LOSS_ALPHA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FF_LOSS_ALPHA@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_49
; %bb.47:
	ldr	w8, [x23]
LBB0_48:
	orr	w27, w8, w27
	sub	w21, w21, #16, lsl #12          ; =65536
LBB0_49:
	str	w27, [x19]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_26-LBB0_26)>>2
	.byte	(LBB0_29-LBB0_26)>>2
	.byte	(LBB0_30-LBB0_26)>>2
	.byte	(LBB0_31-LBB0_26)>>2
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_AV_PIX_FMT_PAL8,4,2            ; @AV_PIX_FMT_PAL8
	.comm	_FF_LOSS_DEPTH,4,2              ; @FF_LOSS_DEPTH
	.comm	_FF_LOSS_RESOLUTION,4,2         ; @FF_LOSS_RESOLUTION
	.comm	_FF_LOSS_COLORSPACE,4,2         ; @FF_LOSS_COLORSPACE
	.comm	_FF_LOSS_CHROMA,4,2             ; @FF_LOSS_CHROMA
	.comm	_FF_LOSS_ALPHA,4,2              ; @FF_LOSS_ALPHA
	.comm	_FF_LOSS_COLORQUANT,4,2         ; @FF_LOSS_COLORQUANT
	.no_dead_strip	_get_pix_fmt_score
.subsections_via_symbols
