	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpp1_setup_format_flags
_dpp1_setup_format_flags:               ## @dpp1_setup_format_flags
	.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_ARGB16161616F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_PIXEL_FORMAT_FIXED16@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_PIXEL_FORMAT_FIXED@GOTPCREL(%rip), %rcx
LBB0_3:
	cmpl	%edi, %edx
	movq	_PIXEL_FORMAT_FLOAT@GOTPCREL(%rip), %rdx
	cmoveq	%rdx, %rcx
	cmpl	%edi, %eax
	cmoveq	%rdx, %rcx
	movl	(%rcx), %eax
	movl	%eax, (%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616F,4,2 ## @SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616F
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F,4,2 ## @SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F
	.comm	_PIXEL_FORMAT_FLOAT,4,2         ## @PIXEL_FORMAT_FLOAT
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616,4,2 ## @SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616
	.comm	_PIXEL_FORMAT_FIXED16,4,2       ## @PIXEL_FORMAT_FIXED16
	.comm	_PIXEL_FORMAT_FIXED,4,2         ## @PIXEL_FORMAT_FIXED
	.no_dead_strip	_dpp1_setup_format_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpp1_setup_format_flags
_dpp1_setup_format_flags:               ; @dpp1_setup_format_flags
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616F@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616F@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616@GOTPAGEOFF]
Lloh8:
	adrp	x11, _PIXEL_FORMAT_FIXED16@GOTPAGE
Lloh9:
	ldr	x11, [x11, _PIXEL_FORMAT_FIXED16@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x12, _PIXEL_FORMAT_FIXED@GOTPAGE
Lloh12:
	ldr	x12, [x12, _PIXEL_FORMAT_FIXED@GOTPAGEOFF]
	cmp	w10, w0
	csel	x10, x11, x12, eq
	cmp	w9, w0
	ccmp	w8, w0, #4, ne
Lloh13:
	adrp	x8, _PIXEL_FORMAT_FLOAT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PIXEL_FORMAT_FLOAT@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	ldr	w8, [x8]
	str	w8, [x1]
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616F,4,2 ; @SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616F
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F,4,2 ; @SURFACE_PIXEL_FORMAT_GRPH_ABGR16161616F
	.comm	_PIXEL_FORMAT_FLOAT,4,2         ; @PIXEL_FORMAT_FLOAT
	.comm	_SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616,4,2 ; @SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616
	.comm	_PIXEL_FORMAT_FIXED16,4,2       ; @PIXEL_FORMAT_FIXED16
	.comm	_PIXEL_FORMAT_FIXED,4,2         ; @PIXEL_FORMAT_FIXED
	.no_dead_strip	_dpp1_setup_format_flags
.subsections_via_symbols
