	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_col2pixel                      ## -- Begin function col2pixel
	.p2align	4, 0x90
_col2pixel:                             ## @col2pixel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	cmpl	$130, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.3:
	movl	$248, %eax
	andl	(%rdx), %eax
	movl	4(%rdx), %ecx
	shrl	$5, %ecx
	andl	$7, %ecx
	orl	%eax, %ecx
	movq	(%rdi), %rax
	movl	%ecx, (%rax)
	movl	$252, %ecx
	andl	4(%rdx), %ecx
	movl	8(%rdx), %edx
	shrl	$3, %edx
	andl	$31, %edx
	leal	(%rdx,%rcx,8), %ecx
	jmp	LBB0_7
LBB0_4:
	movl	12(%rdx), %eax
	movq	(%rdi), %rcx
	movl	%eax, (%rcx)
	movl	(%rdx), %eax
	movl	%eax, 4(%rcx)
	movl	4(%rdx), %eax
	movl	%eax, 8(%rcx)
	movl	8(%rdx), %eax
	movl	%eax, 12(%rcx)
	popq	%rbp
	retq
LBB0_6:
	movl	$128, %eax
	andl	12(%rdx), %eax
	movl	(%rdx), %ecx
	movl	4(%rdx), %esi
	shrl	%ecx
	andl	$124, %ecx
	orl	%eax, %ecx
	shrl	$6, %esi
	andl	$3, %esi
	orl	%ecx, %esi
	movq	(%rdi), %rax
	movl	%esi, (%rax)
	movl	$248, %ecx
	andl	4(%rdx), %ecx
	movl	8(%rdx), %edx
	shrl	$3, %edx
	andl	$31, %edx
	leal	(%rdx,%rcx,4), %ecx
LBB0_7:
	movl	%ecx, 4(%rax)
	popq	%rbp
	retq
LBB0_5:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"unknown pixelformat"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_col2pixel                      ; -- Begin function col2pixel
	.p2align	2
_col2pixel:                             ; @col2pixel
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
	ldp	w8, w9, [x2]
	and	w8, w8, #0xf8
	bfxil	w8, w9, #5, #3
	ldr	x9, [x0]
	str	w8, [x9]
	ldp	w8, w10, [x2, #4]
	lsl	w8, w8, #3
	and	w8, w8, #0x7e0
	b	LBB0_6
LBB0_4:
	ldr	w8, [x2, #12]
	ldr	x9, [x0]
	str	w8, [x9]
	ldr	w8, [x2]
	str	w8, [x9, #4]
	ldr	w8, [x2, #4]
	str	w8, [x9, #8]
	ldr	w8, [x2, #8]
	str	w8, [x9, #12]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w8, [x2, #12]
	and	w8, w8, #0x80
	ldp	w9, w10, [x2]
	bfxil	w8, w9, #1, #7
	bfxil	w8, w10, #6, #2
	ldr	x9, [x0]
	str	w8, [x9]
	ldp	w8, w10, [x2, #4]
	lsl	w8, w8, #2
	and	w8, w8, #0x3e0
LBB0_6:
	bfxil	w8, w10, #3, #5
	str	w8, [x9, #4]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"unknown pixelformat"

.subsections_via_symbols
