	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mi_bpp
_get_mi_bpp:                            ## @get_mi_bpp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_1
## %bb.2:
	movq	_SURFACE_PIXEL_FORMAT_GRPH_ARGB8888@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_3
## %bb.4:
	movq	_SURFACE_PIXEL_FORMAT_GRPH_ARGB1555@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_5
## %bb.6:
	movq	_mi_bpp_8@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_mi_bpp_64@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_mi_bpp_32@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_mi_bpp_16@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616,4,2 ## @SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616
	.comm	_mi_bpp_64,4,2                  ## @mi_bpp_64
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB8888,4,2 ## @SURFACE_PIXEL_FORMAT_GRPH_ARGB8888
	.comm	_mi_bpp_32,4,2                  ## @mi_bpp_32
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB1555,4,2 ## @SURFACE_PIXEL_FORMAT_GRPH_ARGB1555
	.comm	_mi_bpp_16,4,2                  ## @mi_bpp_16
	.comm	_mi_bpp_8,4,2                   ## @mi_bpp_8
	.no_dead_strip	_get_mi_bpp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mi_bpp
_get_mi_bpp:                            ; @get_mi_bpp
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ls	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB8888@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB8888@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ls	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB1555@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB1555@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _mi_bpp_16@GOTPAGE
Lloh10:
	ldr	x9, [x9, _mi_bpp_16@GOTPAGEOFF]
Lloh11:
	adrp	x10, _mi_bpp_8@GOTPAGE
Lloh12:
	ldr	x10, [x10, _mi_bpp_8@GOTPAGEOFF]
	cmp	w8, w0
	csel	x8, x10, x9, hi
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh13:
	adrp	x8, _mi_bpp_64@GOTPAGE
Lloh14:
	ldr	x8, [x8, _mi_bpp_64@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh16:
	adrp	x8, _mi_bpp_32@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mi_bpp_32@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616,4,2 ; @SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616
	.comm	_mi_bpp_64,4,2                  ; @mi_bpp_64
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB8888,4,2 ; @SURFACE_PIXEL_FORMAT_GRPH_ARGB8888
	.comm	_mi_bpp_32,4,2                  ; @mi_bpp_32
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB1555,4,2 ; @SURFACE_PIXEL_FORMAT_GRPH_ARGB1555
	.comm	_mi_bpp_16,4,2                  ; @mi_bpp_16
	.comm	_mi_bpp_8,4,2                   ; @mi_bpp_8
	.no_dead_strip	_get_mi_bpp
.subsections_via_symbols
