	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwSplitBPP                  ## -- Begin function _glfwSplitBPP
	.p2align	4, 0x90
__glfwSplitBPP:                         ## @_glfwSplitBPP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$32, %edi
	movl	$24, %eax
	cmovnel	%edi, %eax
	movslq	%eax, %r8
	imulq	$1431655766, %r8, %rdi          ## imm = 0x55555556
	movq	%rdi, %rax
	shrq	$63, %rax
	shrq	$32, %rdi
	addl	%eax, %edi
	movl	%edi, (%rcx)
	movl	%edi, (%rdx)
	movl	%edi, (%rsi)
	leal	(%rdi,%rdi,2), %eax
	subl	%eax, %r8d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.1:
	incl	(%rdx)
	cmpl	$2, %r8d
	jne	LBB0_3
## %bb.2:
	incl	(%rsi)
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwSplitBPP                  ; -- Begin function _glfwSplitBPP
	.p2align	2
__glfwSplitBPP:                         ; @_glfwSplitBPP
	.cfi_startproc
; %bb.0:
	mov	w8, #24
	cmp	w0, #32
	csel	w8, w8, w0, eq
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	str	w9, [x3]
	str	w9, [x2]
	str	w9, [x1]
	sub	w9, w9, w9, lsl #2
	add	w8, w9, w8
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w9, [x2]
	add	w9, w9, #1
	str	w9, [x2]
	cmp	w8, #2
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x1]
	add	w8, w8, #1
	str	w8, [x1]
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
