	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_validate_size         ## -- Begin function drm_mode_validate_size
	.p2align	4, 0x90
_drm_mode_validate_size:                ## @drm_mode_validate_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	cmpl	%esi, (%rdi)
	jle	LBB0_3
## %bb.2:
	movq	_MODE_VIRTUAL_X@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	testl	%edx, %edx
	jle	LBB0_6
## %bb.4:
	cmpl	%edx, 4(%rdi)
	jle	LBB0_6
## %bb.5:
	movq	_MODE_VIRTUAL_Y@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_VIRTUAL_X,4,2             ## @MODE_VIRTUAL_X
	.comm	_MODE_VIRTUAL_Y,4,2             ## @MODE_VIRTUAL_Y
	.comm	_MODE_OK,4,2                    ## @MODE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_mode_validate_size         ; -- Begin function drm_mode_validate_size
	.p2align	2
_drm_mode_validate_size:                ; @drm_mode_validate_size
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MODE_VIRTUAL_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_VIRTUAL_X@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.4:
	ldr	w8, [x0, #4]
	cmp	w8, w2
	b.le	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _MODE_VIRTUAL_Y@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODE_VIRTUAL_Y@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh6:
	adrp	x8, _MODE_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODE_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_VIRTUAL_X,4,2             ; @MODE_VIRTUAL_X
	.comm	_MODE_VIRTUAL_Y,4,2             ; @MODE_VIRTUAL_Y
	.comm	_MODE_OK,4,2                    ; @MODE_OK
.subsections_via_symbols
