	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igt_check_drm_format_block_height ## -- Begin function igt_check_drm_format_block_height
	.p2align	4, 0x90
_igt_check_drm_format_block_height:     ## @igt_check_drm_format_block_height
	.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
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	xorl	%edi, %edi
	movl	$-1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	_DRM_FORMAT_XRGB4444@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_drm_format_info
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	_DRM_FORMAT_NV12@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_drm_format_info
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	_DRM_FORMAT_YUV422@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_drm_format_info
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	_DRM_FORMAT_X0L0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_drm_format_info
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	cmpl	$2, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_drm_format_info_block_height
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	callq	_FAIL_ON
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_FORMAT_XRGB4444,4,2        ## @DRM_FORMAT_XRGB4444
	.comm	_DRM_FORMAT_NV12,4,2            ## @DRM_FORMAT_NV12
	.comm	_DRM_FORMAT_YUV422,4,2          ## @DRM_FORMAT_YUV422
	.comm	_DRM_FORMAT_X0L0,4,2            ## @DRM_FORMAT_X0L0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igt_check_drm_format_block_height ; -- Begin function igt_check_drm_format_block_height
	.p2align	2
_igt_check_drm_format_block_height:     ; @igt_check_drm_format_block_height
	.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	x0, #0
	mov	w1, #0
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, #0
	mov	w1, #-1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, #0
	mov	w1, #1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
Lloh0:
	adrp	x8, _DRM_FORMAT_XRGB4444@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_FORMAT_XRGB4444@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_drm_format_info
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #0
	bl	_drm_format_info_block_height
	cmp	w0, #1
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #-1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
Lloh3:
	adrp	x8, _DRM_FORMAT_NV12@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_FORMAT_NV12@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_drm_format_info
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #0
	bl	_drm_format_info_block_height
	cmp	w0, #1
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #1
	bl	_drm_format_info_block_height
	cmp	w0, #1
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #2
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #-1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
Lloh6:
	adrp	x8, _DRM_FORMAT_YUV422@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRM_FORMAT_YUV422@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_drm_format_info
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #0
	bl	_drm_format_info_block_height
	cmp	w0, #1
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #1
	bl	_drm_format_info_block_height
	cmp	w0, #1
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #2
	bl	_drm_format_info_block_height
	cmp	w0, #1
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #3
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #-1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
Lloh9:
	adrp	x8, _DRM_FORMAT_X0L0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DRM_FORMAT_X0L0@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_drm_format_info
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #0
	bl	_drm_format_info_block_height
	cmp	w0, #2
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	x0, x19
	mov	w1, #-1
	bl	_drm_format_info_block_height
	cmp	w0, #0
	cset	w0, ne
	bl	_FAIL_ON
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_FORMAT_XRGB4444,4,2        ; @DRM_FORMAT_XRGB4444
	.comm	_DRM_FORMAT_NV12,4,2            ; @DRM_FORMAT_NV12
	.comm	_DRM_FORMAT_YUV422,4,2          ; @DRM_FORMAT_YUV422
	.comm	_DRM_FORMAT_X0L0,4,2            ; @DRM_FORMAT_X0L0
.subsections_via_symbols
