	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_event_disable_locked   ## -- Begin function nouveau_event_disable_locked
	.p2align	4, 0x90
_nouveau_event_disable_locked:          ## @nouveau_event_disable_locked
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	%esi, (%rdi)
	jle	LBB0_3
## %bb.1:
	movslq	%edx, %rax
	movq	16(%rdi), %rcx
	movslq	%esi, %rdx
	subq	%rax, (%rcx,%rdx,8)
	jne	LBB0_3
## %bb.2:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_event_disable_locked   ; -- Begin function nouveau_event_disable_locked
	.p2align	2
_nouveau_event_disable_locked:          ; @nouveau_event_disable_locked
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_4
; %bb.1:
	sxtw	x8, w2
	ldr	x9, [x0, #16]
	sbfiz	x10, x1, #3, #32
	ldr	x11, [x9, x10]
	subs	x8, x11, x8
	str	x8, [x9, x10]
	b.ne	LBB0_4
; %bb.2:
	ldr	x2, [x0, #8]
	cbz	x2, LBB0_4
; %bb.3:
                                        ; kill: def $w1 killed $w1 killed $x1
	br	x2
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
