	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pixel_format_to_reg
_pixel_format_to_reg:                   ## @pixel_format_to_reg
	.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 $edi killed $edi def $rdi
	leal	-128(%rdi), %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.pixel_format_to_reg(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MISSING_CASE
	movq	_VID_MODE_FORMAT_RGB666@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VID_MODE_FORMAT_RGB888,4,2     ## @VID_MODE_FORMAT_RGB888
	.comm	_VID_MODE_FORMAT_RGB666,4,2     ## @VID_MODE_FORMAT_RGB666
	.comm	_VID_MODE_FORMAT_RGB666_PACKED,4,2 ## @VID_MODE_FORMAT_RGB666_PACKED
	.comm	_VID_MODE_FORMAT_RGB565,4,2     ## @VID_MODE_FORMAT_RGB565
	.no_dead_strip	_pixel_format_to_reg
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.pixel_format_to_reg
l_switch.table.pixel_format_to_reg:
	.quad	_VID_MODE_FORMAT_RGB888
	.quad	_VID_MODE_FORMAT_RGB666_PACKED
	.quad	_VID_MODE_FORMAT_RGB666
	.quad	_VID_MODE_FORMAT_RGB565

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pixel_format_to_reg
_pixel_format_to_reg:                   ; @pixel_format_to_reg
	.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
	sub	w8, w0, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.pixel_format_to_reg@PAGE
Lloh1:
	add	x9, x9, l_switch.table.pixel_format_to_reg@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
	bl	_MISSING_CASE
Lloh2:
	adrp	x8, _VID_MODE_FORMAT_RGB666@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VID_MODE_FORMAT_RGB666@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VID_MODE_FORMAT_RGB888,4,2     ; @VID_MODE_FORMAT_RGB888
	.comm	_VID_MODE_FORMAT_RGB666,4,2     ; @VID_MODE_FORMAT_RGB666
	.comm	_VID_MODE_FORMAT_RGB666_PACKED,4,2 ; @VID_MODE_FORMAT_RGB666_PACKED
	.comm	_VID_MODE_FORMAT_RGB565,4,2     ; @VID_MODE_FORMAT_RGB565
	.no_dead_strip	_pixel_format_to_reg
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.pixel_format_to_reg
l_switch.table.pixel_format_to_reg:
	.quad	_VID_MODE_FORMAT_RGB888
	.quad	_VID_MODE_FORMAT_RGB666_PACKED
	.quad	_VID_MODE_FORMAT_RGB666
	.quad	_VID_MODE_FORMAT_RGB565

.subsections_via_symbols
