	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_mmio_address
_verify_mmio_address:                   ## @verify_mmio_address
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edi killed $edi def $rdi
	leal	-1024(%rdi), %eax
	cmpl	$2048, %eax                     ## imm = 0x800
	jae	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_2:
	leal	-3328(%rdi), %eax
	cmpl	$1536, %eax                     ## imm = 0x600
	jae	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	cmpl	$5120, %edi                     ## imm = 0x1400
	jl	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_DRM_ERROR
	movl	$1, %eax
	popq	%rbp
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid VIDEO DMA command. Attempt to access 3D- or command burst area.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid VIDEO DMA command. Attempt to access PCI DMA area.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid VIDEO DMA command. Attempt to access VGA registers.\n"

	.no_dead_strip	_verify_mmio_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_mmio_address
_verify_mmio_address:                   ; @verify_mmio_address
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #1024
	cmp	w8, #2048
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
	sub	w8, w0, #3328
	cmp	w8, #1536
	b.hs	LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	w8, #5120
	cmp	w0, w8
	b.lt	LBB0_7
; %bb.5:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_DRM_ERROR
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid VIDEO DMA command. Attempt to access 3D- or command burst area.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid VIDEO DMA command. Attempt to access PCI DMA area.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid VIDEO DMA command. Attempt to access VGA registers.\n"

	.no_dead_strip	_verify_mmio_address
.subsections_via_symbols
