	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efifb_color_depth
_efifb_color_depth:                     ## @efifb_color_depth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movdqu	(%rdi), %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ecx
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.1:
	movl	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	sarl	%ecx
	incl	%eax
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_efifb_color_depth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efifb_color_depth
_efifb_color_depth:                     ; @efifb_color_depth
	.cfi_startproc
; %bb.0:
	ldr	q0, [x0]
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w8, v0[1]
	fmov	w9, s0
	orr	w8, w9, w8
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x8
	ret
LBB0_2:
	mov	w0, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	asr	w8, w8, #1
	add	w0, w0, #1
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_efifb_color_depth
.subsections_via_symbols
