	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xpm_decode_frame
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xpm_decode_frame:                      ## @xpm_decode_frame
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	_AV_PIX_FMT_BGRA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	leaq	16(%r15), %r14
	leaq	24(%r15), %rsi
	movl	(%rcx), %edx
	movq	%r14, %rdi
	callq	_av_fast_padded_malloc
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r12), %edx
	movl	4(%r12), %esi
	callq	_memcpy
	movq	(%r14), %r15
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movslq	(%r12), %r13
	movq	$0, (%r15,%r13,8)
	cmpq	$10, %r13
	jl	LBB0_7
## %bb.2:
	leaq	(,%r13,8), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	$9, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	leaq	L_.str(%rip), %r12
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	$-8, %r14
	cmpq	$72, %r14
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$9, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	cmpq	$79, %r14
	ja	LBB0_14
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
LBB0_9:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_13:
	movq	%r15, %rbx
	cmpq	$79, %r14
	jbe	LBB0_7
LBB0_14:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mod_strcspn
	leaq	(%rbx,%rax,8), %rbx
	leaq	L_.str.3(%rip), %rsi
	leaq	-92(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	leaq	-48(%rbp), %r8
	leaq	-44(%rbp), %r9
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$4, %eax
	jne	LBB0_19
## %bb.15:
	movl	-92(%rbp), %esi
	movl	-88(%rbp), %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ff_set_dimensions
	testl	%eax, %eax
	js	LBB0_21
## %bb.16:
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_21
## %bb.17:
	movl	-44(%rbp), %ecx
	leal	-5(%rcx), %eax
	cmpl	$-4, %eax
	jae	LBB0_22
## %bb.18:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	jmp	LBB0_28
LBB0_19:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_8
LBB0_21:
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_22:
	movq	_NB_ELEMENTS@GOTPCREL(%rip), %rax
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm2                ## xmm2 = xmm0[0,0,0,0]
	decl	%ecx
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	pmaxud	%xmm1, %xmm0
	pcmpeqd	%xmm1, %xmm0
	movaps	LCPI0_1(%rip), %xmm1            ## xmm1 = [1,1,1,1]
	blendvps	%xmm0, %xmm2, %xmm1
	movl	-48(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_27
## %bb.23:
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pmulld	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	pmulld	%xmm0, %xmm1
	movd	%xmm1, %edx
	cmpl	%edx, %ecx
	jg	LBB0_27
## %bb.24:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	shll	$2, %edx
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_av_fast_padded_malloc
	cmpq	$0, (%rbx)
	je	LBB0_29
## %bb.25:
	leaq	(%r15,%r13,8), %r12
	leaq	L_.str.7(%rip), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_mod_strcspn
	leaq	(%rbx,%rax,8), %r15
	addq	$8, %r15
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	$8, %rax
	jl	LBB0_9
## %bb.30:
	cmpl	$0, -48(%rbp)
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_37
## %bb.31:
	xorl	%r13d, %r13d
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_mod_strcspn
	leaq	(%r15,%rax,8), %r15
	addq	$8, %r15
	movq	%r12, %rcx
	subq	%r15, %rcx
	sarq	$3, %rcx
	movslq	-44(%rbp), %rax
	cmpq	%rax, %rcx
	jl	LBB0_9
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	leaq	(%r15,%rax,8), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_9
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rax, %rbx
	addq	$16, %rbx
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcspn
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	callq	_ascii2index
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_11
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	%rbx, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	callq	_color_string_to_rgba
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%r12d, %edx
	movq	%rax, (%rcx,%rdx,8)
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_mod_strcspn
	leaq	(%rbx,%rax,8), %r15
	addq	$8, %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	$8, %rax
	jl	LBB0_9
## %bb.36:                              ##   in Loop: Header=BB0_32 Depth=1
	incl	%r13d
	cmpl	-48(%rbp), %r13d
	jl	LBB0_32
LBB0_37:
	cmpl	$0, (%r14)
	jle	LBB0_47
## %bb.38:
	xorl	%r13d, %r13d
	jmp	LBB0_40
LBB0_27:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
LBB0_28:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_9
LBB0_29:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_mod_strcspn
	leaq	(%r15,%rax,8), %r15
	addq	$8, %r15
	incl	%r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jge	LBB0_47
LBB0_40:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_44 Depth 2
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	$7, %rax
	jle	LBB0_9
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	16(%rcx), %rcx
	movq	(%rcx), %r14
	movslq	(%rax), %rbx
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_mod_strcspn
	leaq	(%r15,%rax,8), %r15
	addq	$8, %r15
	movq	%r12, %rax
	subq	%r15, %rax
	cmpq	$8, %rax
	jl	LBB0_9
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax)
	jle	LBB0_39
## %bb.43:                              ##   in Loop: Header=BB0_40 Depth=1
	movslq	%r13d, %rax
	imulq	%rax, %rbx
	addq	%rbx, %r14
	movl	-44(%rbp), %esi
	xorl	%ebx, %ebx
LBB0_44:                                ##   Parent Loop BB0_40 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rax
	subq	%r15, %rax
	sarq	$3, %rax
	movslq	%esi, %rcx
	cmpq	%rcx, %rax
	jl	LBB0_9
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ascii2index
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_11
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r12d, %ecx
	movl	(%rax,%rcx,8), %eax
	movl	%eax, (%r14,%rbx,4)
	movslq	-44(%rbp), %rsi
	leaq	(%r15,%rsi,8), %r15
	incq	%rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	4(%rax), %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jl	LBB0_44
	jmp	LBB0_39
LBB0_47:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, 8(%rcx)
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_BGRA,4,2            ## @AV_PIX_FMT_BGRA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/* XPM */"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"missing signature\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.2:                               ## @.str.2
	.asciz	"\""

L_.str.3:                               ## @.str.3
	.asciz	"\"%u %u %u %u\","

L_.str.4:                               ## @.str.4
	.asciz	"missing image parameters\n"

L_.str.5:                               ## @.str.5
	.asciz	"unsupported/invalid number of chars per pixel: %d\n"

	.comm	_NB_ELEMENTS,4,2                ## @NB_ELEMENTS
L_.str.6:                               ## @.str.6
	.asciz	"invalid number of colors: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	","

L_.str.8:                               ## @.str.8
	.asciz	"c "

L_.str.9:                               ## @.str.9
	.asciz	"\" "

	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.no_dead_strip	_xpm_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function xpm_decode_frame
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xpm_decode_frame:                      ; @xpm_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AV_PIX_FMT_BGRA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_BGRA@GOTPAGEOFF]
	ldr	x23, [x0, #16]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	add	x24, x23, #16
	add	x1, x23, #24
	ldr	w2, [x3]
	mov	x0, x24
	bl	_av_fast_padded_malloc
	ldr	x0, [x23, #16]
	cbz	x0, LBB0_11
; %bb.1:
	ldp	w2, w1, [x20]
	bl	_memcpy
	ldr	x24, [x24]
	ldrsw	x8, [x20]
	add	x27, x24, x8, lsl #3
	str	xzr, [x27]
	cmp	w8, #10
	b.lt	LBB0_7
; %bb.2:
	lsl	x26, x8, #3
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	mov	w2, #9
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x25, l_.str@PAGE
Lloh6:
	add	x25, x25, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x26, x26, #8
	cmp	x26, #72
	b.le	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #8
	mov	x0, x24
	mov	x1, x25
	mov	w2, #9
	bl	_memcmp
	cbnz	x0, LBB0_4
LBB0_6:
	cmp	x26, #79
	b.hi	LBB0_12
LBB0_7:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_av_log
LBB0_9:
Lloh12:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh14:
	ldr	w26, [x8]
LBB0_10:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_AVERROR
LBB0_12:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_mod_strcspn
	add	x24, x24, x0, lsl #3
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #20
	add	x3, sp, #16
	add	x4, sp, #28
	add	x5, sp, #24
	mov	x0, x24
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_17
; %bb.13:
	ldp	w2, w1, [sp, #16]
	mov	x0, x19
	bl	_ff_set_dimensions
	tbnz	w0, #31, LBB0_18
; %bb.14:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_18
; %bb.15:
	ldr	w9, [sp, #24]
	sub	w8, w9, #5
	cmn	w8, #4
	b.hs	LBB0_19
; %bb.16:
Lloh22:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	str	x9, [sp]
Lloh25:
	adrp	x2, l_.str.5@PAGE
Lloh26:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_17:
Lloh27:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str.4@PAGE
Lloh31:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_18:
	mov	x26, x0
	b	LBB0_10
LBB0_19:
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.20:
Lloh32:
	adrp	x10, _NB_ELEMENTS@GOTPAGE
Lloh33:
	ldr	x10, [x10, _NB_ELEMENTS@GOTPAGEOFF]
	ld1r.4s	{ v0 }, [x10]
	sub	w9, w9, #1
	dup.4s	v1, w9
Lloh34:
	adrp	x9, lCPI0_0@PAGE
Lloh35:
	ldr	q2, [x9, lCPI0_0@PAGEOFF]
	cmhi.4s	v1, v2, v1
	movi.4s	v2, #1
	bit.16b	v0, v2, v1
	ext.16b	v1, v0, v0, #8
	mul.2s	v0, v0, v1
	mov.s	w9, v0[1]
	fmov	w10, s0
	mul	w9, w10, w9
	cmp	w8, w9
	b.gt	LBB0_32
; %bb.21:
	lsl	w2, w9, #2
	add	x1, x23, #8
	mov	x0, x23
	bl	_av_fast_padded_malloc
	ldr	x8, [x23]
	cbz	x8, LBB0_33
; %bb.22:
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x24
	bl	_mod_strcspn
	add	x8, x24, x0, lsl #3
	add	x26, x8, #8
	sub	x8, x27, x26
	cmp	x8, #8
	b.lt	LBB0_9
; %bb.23:
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.24:
	mov	w24, #0
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_mod_strcspn
	add	x8, x26, x0, lsl #3
	add	x26, x8, #8
	sub	x9, x27, x26
	ldrsw	x8, [sp, #24]
	cmp	x8, x9, asr #3
	b.gt	LBB0_9
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x0, x26, x8, lsl #3
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_9
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x28, x0, #16
	mov	x0, x28
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcspn
	mov	x25, x0
	ldr	w1, [sp, #24]
	mov	x0, x26
	bl	_ascii2index
	mov	x26, x0
	tbnz	w0, #31, LBB0_10
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x28
	mov	x1, x25
	bl	_color_string_to_rgba
	ldr	x8, [x23]
	str	x0, [x8, w26, uxtw #3]
	mov	x0, x28
Lloh44:
	adrp	x1, l_.str.7@PAGE
Lloh45:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_mod_strcspn
	add	x8, x28, x0, lsl #3
	add	x26, x8, #8
	sub	x8, x27, x26
	cmp	x8, #8
	b.lt	LBB0_9
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	add	w24, w24, #1
	ldr	w8, [sp, #28]
	cmp	w24, w8
	b.lt	LBB0_25
LBB0_30:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_42
; %bb.31:
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_35
LBB0_32:
Lloh46:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh47:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh49:
	adrp	x2, l_.str.6@PAGE
Lloh50:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_8
LBB0_33:
Lloh51:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x26, x0
	b	LBB0_10
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x28
Lloh54:
	adrp	x1, l_.str.7@PAGE
Lloh55:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_mod_strcspn
	add	x8, x28, x0, lsl #3
	add	x26, x8, #8
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	w9, w9, #1
	ldr	w8, [x19]
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w9, w8
	b.ge	LBB0_42
LBB0_35:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	sub	x8, x27, x26
	cmp	x8, #7
	b.le	LBB0_9
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x22, #16]
	ldr	x24, [x8]
	ldr	x8, [x22]
	ldrsw	x25, [x8]
	mov	x0, x26
Lloh56:
	adrp	x1, l_.str.2@PAGE
Lloh57:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_mod_strcspn
	add	x8, x26, x0, lsl #3
	add	x28, x8, #8
	sub	x8, x27, x28
	cmp	x8, #8
	b.lt	LBB0_9
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x9, x24
	mov	x24, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sxtw	x8, w8
	madd	x25, x25, x8, x9
	ldr	w1, [sp, #24]
LBB0_39:                                ;   Parent Loop BB0_35 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x8, x27, x28
	sxtw	x9, w1
	cmp	x9, x8, asr #3
	b.gt	LBB0_9
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
	mov	x0, x28
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ascii2index
	mov	x26, x0
	tbnz	w0, #31, LBB0_10
; %bb.41:                               ;   in Loop: Header=BB0_39 Depth=2
	ldr	x8, [x23]
	ldr	x8, [x8, w26, uxtw #3]
	str	w8, [x25, x24, lsl #2]
	ldrsw	x1, [sp, #24]
	add	x28, x28, x1, lsl #3
	ldr	w8, [x19, #4]
	add	x24, x24, #1
                                        ; kill: def $w1 killed $w1 killed $x1 def $x1
	cmp	w24, w8
	b.lt	LBB0_39
	b	LBB0_34
LBB0_42:
Lloh58:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh59:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
	mov	w9, #1
Lloh60:
	ldr	w8, [x8]
	stp	w9, w8, [x22, #8]
	str	w9, [x21]
	ldr	w26, [x20]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_BGRA,4,2            ; @AV_PIX_FMT_BGRA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/* XPM */"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"missing signature\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.2:                               ; @.str.2
	.asciz	"\""

l_.str.3:                               ; @.str.3
	.asciz	"\"%u %u %u %u\","

l_.str.4:                               ; @.str.4
	.asciz	"missing image parameters\n"

l_.str.5:                               ; @.str.5
	.asciz	"unsupported/invalid number of chars per pixel: %d\n"

	.comm	_NB_ELEMENTS,4,2                ; @NB_ELEMENTS
l_.str.6:                               ; @.str.6
	.asciz	"invalid number of colors: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	","

l_.str.8:                               ; @.str.8
	.asciz	"c "

l_.str.9:                               ; @.str.9
	.asciz	"\" "

	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.no_dead_strip	_xpm_decode_frame
.subsections_via_symbols
