	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malidp_format_get_bpp          ## -- Begin function malidp_format_get_bpp
	.p2align	4, 0x90
_malidp_format_get_bpp:                 ## @malidp_format_get_bpp
	.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
	movl	%edi, %ebx
	callq	_drm_format_info
	movq	(%rax), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	shll	$3, %eax
	jmp	LBB0_4
LBB0_2:
	addl	$-128, %ebx
	xorl	%eax, %eax
	cmpl	$2, %ebx
	ja	LBB0_4
## %bb.3:
	movslq	%ebx, %rax
	leaq	l_switch.table.malidp_format_get_bpp(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.malidp_format_get_bpp
l_switch.table.malidp_format_get_bpp:
	.long	12                              ## 0xc
	.long	15                              ## 0xf
	.long	30                              ## 0x1e

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_malidp_format_get_bpp          ; -- Begin function malidp_format_get_bpp
	.p2align	2
_malidp_format_get_bpp:                 ; @malidp_format_get_bpp
	.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
	bl	_drm_format_info
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	lsl	w0, w8, #3
	b	LBB0_5
LBB0_2:
	sub	w8, w19, #128
	cmp	w8, #2
	b.hi	LBB0_4
; %bb.3:
Lloh0:
	adrp	x9, l_switch.table.malidp_format_get_bpp@PAGE
Lloh1:
	add	x9, x9, l_switch.table.malidp_format_get_bpp@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.malidp_format_get_bpp
l_switch.table.malidp_format_get_bpp:
	.long	12                              ; 0xc
	.long	15                              ; 0xf
	.long	30                              ; 0x1e

.subsections_via_symbols
