	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu3_fb_init_cmap
_ipu3_fb_init_cmap:                     ## @ipu3_fb_init_cmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-8, %esi
	cmpl	$24, %esi
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	_COLOR_FORMAT_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$255, %edx
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$8, %r9d
	pushq	$16
	pushq	$255
	jmp	LBB0_5
LBB0_2:
	movq	_COLOR_FORMAT_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$7, %edx
	movl	$5, %ecx
	movl	$7, %r8d
	movl	$2, %r9d
	pushq	$0
	pushq	$3
	jmp	LBB0_5
LBB0_8:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_COLOR_FORMAT_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$31, %edx
	movl	$11, %ecx
	movl	$63, %r8d
	jmp	LBB0_4
LBB0_3:
	movq	_COLOR_FORMAT_RGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$31, %edx
	movl	$10, %ecx
	movl	$31, %r8d
LBB0_4:
	movl	$5, %r9d
	pushq	$0
	pushq	$31
LBB0_5:
	callq	_vt_generate_cons_palette
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_COLOR_FORMAT_RGB,4,2           ## @COLOR_FORMAT_RGB
	.no_dead_strip	_ipu3_fb_init_cmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu3_fb_init_cmap
_ipu3_fb_init_cmap:                     ; @ipu3_fb_init_cmap
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #8
	cmp	w8, #24
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _COLOR_FORMAT_RGB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COLOR_FORMAT_RGB@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #255
	mov	w3, #0
	mov	w4, #255
	mov	w5, #8
	mov	w6, #255
	mov	w7, #16
	b	_vt_generate_cons_palette
LBB0_3:
Lloh5:
	adrp	x8, _COLOR_FORMAT_RGB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _COLOR_FORMAT_RGB@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #7
	mov	w3, #5
	mov	w4, #7
	mov	w5, #2
	mov	w6, #3
	mov	w7, #0
	b	_vt_generate_cons_palette
LBB0_4:
	mov	w0, #1
	ret
LBB0_5:
Lloh8:
	adrp	x8, _COLOR_FORMAT_RGB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COLOR_FORMAT_RGB@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #31
	mov	w3, #11
	mov	w4, #63
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _COLOR_FORMAT_RGB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COLOR_FORMAT_RGB@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w2, #31
	mov	w3, #10
	mov	w4, #31
LBB0_7:
	mov	w5, #5
	mov	w6, #31
	mov	w7, #0
	b	_vt_generate_cons_palette
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_COLOR_FORMAT_RGB,4,2           ; @COLOR_FORMAT_RGB
	.no_dead_strip	_ipu3_fb_init_cmap
.subsections_via_symbols
