	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_ovl_set_color_mode
_dispc_ovl_set_color_mode:              ## @dispc_ovl_set_color_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_OMAP_DSS_GFX@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.3:
	addl	$-129, %edx
	cmpl	$14, %edx
	jae	LBB0_2
## %bb.4:
	movl	$15351, %eax                    ## imm = 0x3BF7
	btl	%edx, %eax
	jae	LBB0_2
## %bb.5:
	movslq	%edx, %rax
	leaq	l_switch.table.dispc_ovl_set_color_mode.1(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	addl	$-128, %edx
	cmpl	$15, %edx
	jae	LBB0_2
## %bb.7:
	movslq	%edx, %rax
	leaq	l_switch.table.dispc_ovl_set_color_mode(%rip), %rcx
LBB0_6:
	leaq	(%rcx,%rax,4), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_DISPC_OVL_ATTRIBUTES
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	movl	$4, %ecx
	movl	$1, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_FLD_MOD                    ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_DSS_GFX,4,2               ## @OMAP_DSS_GFX
	.no_dead_strip	_dispc_ovl_set_color_mode
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.dispc_ovl_set_color_mode
l_switch.table.dispc_ovl_set_color_mode:
	.long	10                              ## 0xa
	.long	8                               ## 0x8
	.long	1                               ## 0x1
	.long	15                              ## 0xf
	.long	11                              ## 0xb
	.long	14                              ## 0xe
	.long	4                               ## 0x4
	.long	13                              ## 0xd
	.long	2                               ## 0x2
	.long	9                               ## 0x9
	.long	6                               ## 0x6
	.long	0                               ## 0x0
	.long	12                              ## 0xc
	.long	5                               ## 0x5
	.long	7                               ## 0x7

	.p2align	2                               ## @switch.table.dispc_ovl_set_color_mode.1
l_switch.table.dispc_ovl_set_color_mode.1:
	.long	8                               ## 0x8
	.long	10                              ## 0xa
	.long	15                              ## 0xf
	.long	4                               ## 0x4
	.long	14                              ## 0xe
	.long	4                               ## 0x4
	.long	13                              ## 0xd
	.long	11                              ## 0xb
	.long	9                               ## 0x9
	.long	6                               ## 0x6
	.long	4                               ## 0x4
	.long	12                              ## 0xc
	.long	5                               ## 0x5
	.long	7                               ## 0x7

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_ovl_set_color_mode
_dispc_ovl_set_color_mode:              ; @dispc_ovl_set_color_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _OMAP_DSS_GFX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP_DSS_GFX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	sub	w8, w2, #129
	cmp	w8, #14
	b.hs	LBB0_7
; %bb.2:
	mov	w9, #15351
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x9, l_switch.table.dispc_ovl_set_color_mode.1@PAGE
Lloh4:
	add	x9, x9, l_switch.table.dispc_ovl_set_color_mode.1@PAGEOFF
	add	x8, x9, w8, sxtw #2
	b	LBB0_6
LBB0_4:
	sub	w8, w2, #128
	cmp	w8, #15
	b.hs	LBB0_7
; %bb.5:
Lloh5:
	adrp	x9, l_switch.table.dispc_ovl_set_color_mode@PAGE
Lloh6:
	add	x9, x9, l_switch.table.dispc_ovl_set_color_mode@PAGEOFF
	add	x8, x9, w8, sxtw #2
LBB0_6:
	ldr	w20, [x8]
	mov	x0, x1
	bl	_DISPC_OVL_ATTRIBUTES
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	mov	w3, #4
	mov	w4, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_FLD_MOD
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BUG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_DSS_GFX,4,2               ; @OMAP_DSS_GFX
	.no_dead_strip	_dispc_ovl_set_color_mode
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.dispc_ovl_set_color_mode
l_switch.table.dispc_ovl_set_color_mode:
	.long	10                              ; 0xa
	.long	8                               ; 0x8
	.long	1                               ; 0x1
	.long	15                              ; 0xf
	.long	11                              ; 0xb
	.long	14                              ; 0xe
	.long	4                               ; 0x4
	.long	13                              ; 0xd
	.long	2                               ; 0x2
	.long	9                               ; 0x9
	.long	6                               ; 0x6
	.long	0                               ; 0x0
	.long	12                              ; 0xc
	.long	5                               ; 0x5
	.long	7                               ; 0x7

	.p2align	2                               ; @switch.table.dispc_ovl_set_color_mode.1
l_switch.table.dispc_ovl_set_color_mode.1:
	.long	8                               ; 0x8
	.long	10                              ; 0xa
	.long	15                              ; 0xf
	.long	4                               ; 0x4
	.long	14                              ; 0xe
	.long	4                               ; 0x4
	.long	13                              ; 0xd
	.long	11                              ; 0xb
	.long	9                               ; 0x9
	.long	6                               ; 0x6
	.long	4                               ; 0x4
	.long	12                              ; 0xc
	.long	5                               ; 0x5
	.long	7                               ; 0x7

.subsections_via_symbols
