	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pixelformat_for_depth          ## -- Begin function pixelformat_for_depth
	.p2align	4, 0x90
_pixelformat_for_depth:                 ## @pixelformat_for_depth
	.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
	addl	$-8, %edi
	cmpl	$24, %edi
	ja	LBB0_5
## %bb.1:
	movq	_WINED3DFMT_P8_UINT@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_WINED3DFMT_B8G8R8X8_UNORM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_WINED3DFMT_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_WINED3DFMT_B5G5R5X1_UNORM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_WINED3DFMT_B5G6R5_UNORM@GOTPCREL(%rip), %rax
LBB0_6:
	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_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_WINED3DFMT_P8_UINT,4,2         ## @WINED3DFMT_P8_UINT
	.comm	_WINED3DFMT_B5G5R5X1_UNORM,4,2  ## @WINED3DFMT_B5G5R5X1_UNORM
	.comm	_WINED3DFMT_B5G6R5_UNORM,4,2    ## @WINED3DFMT_B5G6R5_UNORM
	.comm	_WINED3DFMT_B8G8R8X8_UNORM,4,2  ## @WINED3DFMT_B8G8R8X8_UNORM
	.comm	_WINED3DFMT_UNKNOWN,4,2         ## @WINED3DFMT_UNKNOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pixelformat_for_depth          ; -- Begin function pixelformat_for_depth
	.p2align	2
_pixelformat_for_depth:                 ; @pixelformat_for_depth
	.cfi_startproc
; %bb.0:
	sub	w9, w0, #8
	cmp	w9, #24
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _WINED3DFMT_P8_UINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3DFMT_P8_UINT@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, _WINED3DFMT_B8G8R8X8_UNORM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WINED3DFMT_B8G8R8X8_UNORM@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh7:
	adrp	x8, _WINED3DFMT_UNKNOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WINED3DFMT_UNKNOWN@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh9:
	adrp	x8, _WINED3DFMT_B5G5R5X1_UNORM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WINED3DFMT_B5G5R5X1_UNORM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh12:
	adrp	x8, _WINED3DFMT_B5G6R5_UNORM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WINED3DFMT_B5G6R5_UNORM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-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_5-LBB0_2)>>2
	.byte	(LBB0_6-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_2-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_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_WINED3DFMT_P8_UINT,4,2         ; @WINED3DFMT_P8_UINT
	.comm	_WINED3DFMT_B5G5R5X1_UNORM,4,2  ; @WINED3DFMT_B5G5R5X1_UNORM
	.comm	_WINED3DFMT_B5G6R5_UNORM,4,2    ; @WINED3DFMT_B5G6R5_UNORM
	.comm	_WINED3DFMT_B8G8R8X8_UNORM,4,2  ; @WINED3DFMT_B8G8R8X8_UNORM
	.comm	_WINED3DFMT_UNKNOWN,4,2         ; @WINED3DFMT_UNKNOWN
.subsections_via_symbols
