	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function setup_pixel_info
LCPI0_0:
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_1:
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	24                              ## 0x18
LCPI0_2:
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	24                              ## 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_setup_pixel_info:                      ## @setup_pixel_info
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	_PIXEL_RGB_RESERVED_8BIT_PER_COLOR@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$32, (%rbx)
	shll	$2, %r14d
	movl	%r14d, 4(%rbx)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [8,0,8,8]
	movups	%xmm0, 8(%rbx)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [8,16,8,24]
	jmp	LBB0_7
LBB0_2:
	movq	_PIXEL_BGR_RESERVED_8BIT_PER_COLOR@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	$32, (%rbx)
	shll	$2, %r14d
	movl	%r14d, 4(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [8,16,8,8]
	movups	%xmm0, 8(%rbx)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [8,0,8,24]
	jmp	LBB0_7
LBB0_4:
	movq	_PIXEL_BIT_MASK@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rdx, %r13
	shrq	$32, %r13
	movq	%rcx, %rdi
	shrq	$32, %rdi
	leaq	12(%rbx), %rsi
	leaq	8(%rbx), %rdx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_find_bits
	leaq	20(%rbx), %rsi
	leaq	16(%rbx), %rdx
	movl	%r12d, %edi
	callq	_find_bits
	leaq	28(%rbx), %rsi
	leaq	24(%rbx), %rdx
	movl	%r13d, %edi
	callq	_find_bits
	leaq	36(%rbx), %rsi
	leaq	32(%rbx), %rdx
	movl	%r15d, %edi
	callq	_find_bits
	movl	16(%rbx), %eax
	addl	8(%rbx), %eax
	addl	24(%rbx), %eax
	addl	32(%rbx), %eax
	movl	%eax, (%rbx)
	imull	%r14d, %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, 4(%rbx)
	jmp	LBB0_8
LBB0_6:
	movl	$4, (%rbx)
	movl	40(%rbx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
LBB0_7:
	movups	%xmm0, 24(%rbx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIXEL_RGB_RESERVED_8BIT_PER_COLOR,4,2 ## @PIXEL_RGB_RESERVED_8BIT_PER_COLOR
	.comm	_PIXEL_BGR_RESERVED_8BIT_PER_COLOR,4,2 ## @PIXEL_BGR_RESERVED_8BIT_PER_COLOR
	.comm	_PIXEL_BIT_MASK,4,2             ## @PIXEL_BIT_MASK
	.no_dead_strip	_setup_pixel_info
.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 setup_pixel_info
lCPI0_0:
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	8                               ; 0x8
lCPI0_1:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	24                              ; 0x18
lCPI0_2:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	8                               ; 0x8
lCPI0_3:
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	24                              ; 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_setup_pixel_info:                      ; @setup_pixel_info
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PIXEL_RGB_RESERVED_8BIT_PER_COLOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIXEL_RGB_RESERVED_8BIT_PER_COLOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #32
	lsl	w9, w20, #2
	stp	w8, w9, [x19]
Lloh3:
	adrp	x8, lCPI0_2@PAGE
Lloh4:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	stur	q0, [x19, #8]
Lloh5:
	adrp	x8, lCPI0_3@PAGE
Lloh6:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
	b	LBB0_7
LBB0_2:
Lloh7:
	adrp	x8, _PIXEL_BGR_RESERVED_8BIT_PER_COLOR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PIXEL_BGR_RESERVED_8BIT_PER_COLOR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #32
	lsl	w9, w20, #2
	stp	w8, w9, [x19]
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x19, #8]
Lloh12:
	adrp	x8, lCPI0_1@PAGE
Lloh13:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _PIXEL_BIT_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PIXEL_BIT_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_6
; %bb.5:
	mov	x22, x3
	mov	x21, x2
	lsr	x23, x2, #32
	lsr	x0, x3, #32
	add	x1, x19, #12
	add	x2, x19, #8
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_find_bits
	add	x1, x19, #20
	add	x2, x19, #16
	mov	x0, x22
	bl	_find_bits
	add	x1, x19, #28
	add	x2, x19, #24
	mov	x0, x23
	bl	_find_bits
	add	x1, x19, #36
	add	x2, x19, #32
	mov	x0, x21
	bl	_find_bits
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	ldr	w10, [x19, #24]
	add	w8, w9, w8
	add	w8, w8, w10
	ldr	w9, [x19, #32]
	add	w8, w8, w9
	mul	w9, w8, w20
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	stp	w8, w9, [x19]
	b	LBB0_8
LBB0_6:
	mov	w8, #4
	ldr	w9, [x19, #40]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	stp	w8, w9, [x19]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
LBB0_7:
	stur	q0, [x19, #24]
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PIXEL_RGB_RESERVED_8BIT_PER_COLOR,4,2 ; @PIXEL_RGB_RESERVED_8BIT_PER_COLOR
	.comm	_PIXEL_BGR_RESERVED_8BIT_PER_COLOR,4,2 ; @PIXEL_BGR_RESERVED_8BIT_PER_COLOR
	.comm	_PIXEL_BIT_MASK,4,2             ; @PIXEL_BIT_MASK
	.no_dead_strip	_setup_pixel_info
.subsections_via_symbols
