	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eb_batch_index
_eb_batch_index:                        ## @eb_batch_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movq	_I915_EXEC_BATCH_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movl	(%rdi), %eax
	decl	%eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I915_EXEC_BATCH_FIRST,4,2      ## @I915_EXEC_BATCH_FIRST
	.no_dead_strip	_eb_batch_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eb_batch_index
_eb_batch_index:                        ; @eb_batch_index
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _I915_EXEC_BATCH_FIRST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I915_EXEC_BATCH_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	w8, [x0]
	sub	w0, w8, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I915_EXEC_BATCH_FIRST,4,2      ; @I915_EXEC_BATCH_FIRST
	.no_dead_strip	_eb_batch_index
.subsections_via_symbols
