	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_channel_type
_map_channel_type:                      ## @map_channel_type
	.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	-68(%rdi), %ecx
	cmpl	$49, %ecx
	ja	LBB0_9
## %bb.1:
	movq	_WINED3D_CHANNEL_TYPE_UNORM@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_WINED3D_CHANNEL_TYPE_DEPTH@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movsbl	%dil, %esi
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	movq	_WINED3D_CHANNEL_TYPE_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_WINED3D_CHANNEL_TYPE_FLOAT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movq	_WINED3D_CHANNEL_TYPE_SINT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	_WINED3D_CHANNEL_TYPE_STENCIL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_WINED3D_CHANNEL_TYPE_UINT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_WINED3D_CHANNEL_TYPE_UNUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_WINED3D_CHANNEL_TYPE_SNORM@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_WINED3D_CHANNEL_TYPE_UNORM,4,2 ## @WINED3D_CHANNEL_TYPE_UNORM
	.comm	_WINED3D_CHANNEL_TYPE_SNORM,4,2 ## @WINED3D_CHANNEL_TYPE_SNORM
	.comm	_WINED3D_CHANNEL_TYPE_UINT,4,2  ## @WINED3D_CHANNEL_TYPE_UINT
	.comm	_WINED3D_CHANNEL_TYPE_SINT,4,2  ## @WINED3D_CHANNEL_TYPE_SINT
	.comm	_WINED3D_CHANNEL_TYPE_FLOAT,4,2 ## @WINED3D_CHANNEL_TYPE_FLOAT
	.comm	_WINED3D_CHANNEL_TYPE_DEPTH,4,2 ## @WINED3D_CHANNEL_TYPE_DEPTH
	.comm	_WINED3D_CHANNEL_TYPE_STENCIL,4,2 ## @WINED3D_CHANNEL_TYPE_STENCIL
	.comm	_WINED3D_CHANNEL_TYPE_UNUSED,4,2 ## @WINED3D_CHANNEL_TYPE_UNUSED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid channel type '%c'.\n"

	.comm	_WINED3D_CHANNEL_TYPE_NONE,4,2  ## @WINED3D_CHANNEL_TYPE_NONE
	.no_dead_strip	_map_channel_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_channel_type
_map_channel_type:                      ; @map_channel_type
	.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
	mov	x1, x0
	sub	w9, w0, #68
	cmp	w9, #49
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _WINED3D_CHANNEL_TYPE_UNORM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_UNORM@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _WINED3D_CHANNEL_TYPE_DEPTH@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_DEPTH@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
Lloh8:
	adrp	x8, _WINED3D_CHANNEL_TYPE_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_NONE@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
Lloh10:
	adrp	x8, _WINED3D_CHANNEL_TYPE_FLOAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_FLOAT@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh12:
	adrp	x8, _WINED3D_CHANNEL_TYPE_SINT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_SINT@GOTPAGEOFF]
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _WINED3D_CHANNEL_TYPE_STENCIL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_STENCIL@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh16:
	adrp	x8, _WINED3D_CHANNEL_TYPE_UINT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_UINT@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh18:
	adrp	x8, _WINED3D_CHANNEL_TYPE_UNUSED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_UNUSED@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x8, _WINED3D_CHANNEL_TYPE_SNORM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WINED3D_CHANNEL_TYPE_SNORM@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_WINED3D_CHANNEL_TYPE_UNORM,4,2 ; @WINED3D_CHANNEL_TYPE_UNORM
	.comm	_WINED3D_CHANNEL_TYPE_SNORM,4,2 ; @WINED3D_CHANNEL_TYPE_SNORM
	.comm	_WINED3D_CHANNEL_TYPE_UINT,4,2  ; @WINED3D_CHANNEL_TYPE_UINT
	.comm	_WINED3D_CHANNEL_TYPE_SINT,4,2  ; @WINED3D_CHANNEL_TYPE_SINT
	.comm	_WINED3D_CHANNEL_TYPE_FLOAT,4,2 ; @WINED3D_CHANNEL_TYPE_FLOAT
	.comm	_WINED3D_CHANNEL_TYPE_DEPTH,4,2 ; @WINED3D_CHANNEL_TYPE_DEPTH
	.comm	_WINED3D_CHANNEL_TYPE_STENCIL,4,2 ; @WINED3D_CHANNEL_TYPE_STENCIL
	.comm	_WINED3D_CHANNEL_TYPE_UNUSED,4,2 ; @WINED3D_CHANNEL_TYPE_UNUSED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid channel type '%c'.\n"

	.comm	_WINED3D_CHANNEL_TYPE_NONE,4,2  ; @WINED3D_CHANNEL_TYPE_NONE
	.no_dead_strip	_map_channel_type
.subsections_via_symbols
