	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eat_words
_eat_words:                             ## @eat_words
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	subq	%rax, %rsi
	sarq	$2, %rsi
	movl	%edx, %ecx
	cmpq	%rcx, %rsi
	jge	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_1:
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal termination of DMA command buffer\n"

	.no_dead_strip	_eat_words
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eat_words
_eat_words:                             ; @eat_words
	.cfi_startproc
; %bb.0:
	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
	ldr	x9, [x0]
	sub	x11, x1, x9
	mov	w10, w2
	cmp	x10, x11, asr #2
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #0
	add	x9, x9, x10, lsl #2
	str	x9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal termination of DMA command buffer\n"

	.no_dead_strip	_eat_words
.subsections_via_symbols
