	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdp4_get_frame_format
_mdp4_get_frame_format:                 ## @mdp4_get_frame_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DRM_FORMAT_MOD_SAMSUNG_64_32_TILE@GOTPCREL(%rip), %rax
	movq	(%rdi), %rcx
	xorq	(%rax), %rcx
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_DRM_FORMAT_NV12@GOTPCREL(%rip), %rdx
	xorq	(%rdx), %rax
	orq	%rcx, %rax
	jne	LBB0_1
## %bb.2:
	movq	_FRAME_TILE_YCBCR_420@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_FRAME_LINEAR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_FORMAT_MOD_SAMSUNG_64_32_TILE,8,3 ## @DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
	.comm	_DRM_FORMAT_NV12,8,3            ## @DRM_FORMAT_NV12
	.comm	_FRAME_TILE_YCBCR_420,4,2       ## @FRAME_TILE_YCBCR_420
	.comm	_FRAME_LINEAR,4,2               ## @FRAME_LINEAR
	.no_dead_strip	_mdp4_get_frame_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdp4_get_frame_format
_mdp4_get_frame_format:                 ; @mdp4_get_frame_format
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DRM_FORMAT_MOD_SAMSUNG_64_32_TILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_FORMAT_MOD_SAMSUNG_64_32_TILE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x0]
	cmp	x9, x8
	ldr	x8, [x10]
Lloh3:
	adrp	x9, _DRM_FORMAT_NV12@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRM_FORMAT_NV12@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _FRAME_TILE_YCBCR_420@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FRAME_TILE_YCBCR_420@GOTPAGEOFF]
	ccmp	x8, x9, #0, eq
Lloh8:
	adrp	x8, _FRAME_LINEAR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FRAME_LINEAR@GOTPAGEOFF]
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_FORMAT_MOD_SAMSUNG_64_32_TILE,8,3 ; @DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
	.comm	_DRM_FORMAT_NV12,8,3            ; @DRM_FORMAT_NV12
	.comm	_FRAME_TILE_YCBCR_420,4,2       ; @FRAME_TILE_YCBCR_420
	.comm	_FRAME_LINEAR,4,2               ; @FRAME_LINEAR
	.no_dead_strip	_mdp4_get_frame_format
.subsections_via_symbols
