	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glk_plane_color_ctl_alpha
_glk_plane_color_ctl_alpha:             ## @glk_plane_color_ctl_alpha
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_PLANE_COLOR_ALPHA_DISABLE@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movl	(%rdi), %edi
	leal	-128(%rdi), %eax
	cmpl	$3, %eax
	jae	LBB0_2
## %bb.3:
	cltq
	leaq	l_switch.table.glk_plane_color_ctl_alpha(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MISSING_CASE
LBB0_4:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANE_COLOR_ALPHA_DISABLE,4,2  ## @PLANE_COLOR_ALPHA_DISABLE
	.comm	_PLANE_COLOR_ALPHA_SW_PREMULTIPLY,4,2 ## @PLANE_COLOR_ALPHA_SW_PREMULTIPLY
	.comm	_PLANE_COLOR_ALPHA_HW_PREMULTIPLY,4,2 ## @PLANE_COLOR_ALPHA_HW_PREMULTIPLY
	.no_dead_strip	_glk_plane_color_ctl_alpha
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.glk_plane_color_ctl_alpha
l_switch.table.glk_plane_color_ctl_alpha:
	.quad	_PLANE_COLOR_ALPHA_SW_PREMULTIPLY
	.quad	_PLANE_COLOR_ALPHA_DISABLE
	.quad	_PLANE_COLOR_ALPHA_HW_PREMULTIPLY

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glk_plane_color_ctl_alpha
_glk_plane_color_ctl_alpha:             ; @glk_plane_color_ctl_alpha
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w0, [x0]
	sub	w8, w0, #128
	cmp	w8, #3
	b.hs	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, l_switch.table.glk_plane_color_ctl_alpha@PAGE
Lloh1:
	add	x9, x9, l_switch.table.glk_plane_color_ctl_alpha@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_5
LBB0_3:
	bl	_MISSING_CASE
LBB0_4:
Lloh2:
	adrp	x8, _PLANE_COLOR_ALPHA_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLANE_COLOR_ALPHA_DISABLE@GOTPAGEOFF]
LBB0_5:
	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	_PLANE_COLOR_ALPHA_DISABLE,4,2  ; @PLANE_COLOR_ALPHA_DISABLE
	.comm	_PLANE_COLOR_ALPHA_SW_PREMULTIPLY,4,2 ; @PLANE_COLOR_ALPHA_SW_PREMULTIPLY
	.comm	_PLANE_COLOR_ALPHA_HW_PREMULTIPLY,4,2 ; @PLANE_COLOR_ALPHA_HW_PREMULTIPLY
	.no_dead_strip	_glk_plane_color_ctl_alpha
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.glk_plane_color_ctl_alpha
l_switch.table.glk_plane_color_ctl_alpha:
	.quad	_PLANE_COLOR_ALPHA_SW_PREMULTIPLY
	.quad	_PLANE_COLOR_ALPHA_DISABLE
	.quad	_PLANE_COLOR_ALPHA_HW_PREMULTIPLY

.subsections_via_symbols
