	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function depth_for_pixelformat
_depth_for_pixelformat:                 ## @depth_for_pixelformat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %esi
	leal	-128(%rsi), %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	L_switch.table.depth_for_pixelformat(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FIXME
	movl	$32, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown D3DFORMAT %d, returning 32 bpp\n"

	.no_dead_strip	_depth_for_pixelformat
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.depth_for_pixelformat
L_switch.table.depth_for_pixelformat:
	.long	32                              ## 0x20
	.long	15                              ## 0xf
	.long	16                              ## 0x10
	.long	8                               ## 0x8

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function depth_for_pixelformat
_depth_for_pixelformat:                 ; @depth_for_pixelformat
	.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.depth_for_pixelformat@PAGE
Lloh1:
	add	x9, x9, l_switch.table.depth_for_pixelformat@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
	mov	w0, #32
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown D3DFORMAT %d, returning 32 bpp\n"

	.no_dead_strip	_depth_for_pixelformat
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.depth_for_pixelformat
l_switch.table.depth_for_pixelformat:
	.long	32                              ; 0x20
	.long	15                              ; 0xf
	.long	16                              ; 0x10
	.long	8                               ; 0x8

.subsections_via_symbols
