	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_perf_entry
_nouveau_perf_entry:                    ## @nouveau_perf_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdx, %rsi
	callq	_nouveau_perf_table
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movl	(%rbx), %ecx
	leal	-18(%rcx), %edx
	cmpl	$13, %edx
	ja	LBB0_5
## %bb.2:
	cmpl	%r13d, 8(%rax)
	jle	LBB0_15
## %bb.3:
	movl	12(%rax), %ecx
	movl	%ecx, (%r14)
	movl	$0, (%r15)
	movl	$0, (%r12)
	movslq	(%rax), %rcx
	leaq	(%rax,%rcx,4), %rcx
	movslq	12(%rax), %rax
	movslq	%r13d, %rdx
	imulq	%rax, %rdx
	leaq	(%rcx,%rdx,4), %rax
	jmp	LBB0_16
LBB0_5:
	movl	%ecx, %edx
	andl	$-32, %edx
	cmpl	$32, %edx
	jne	LBB0_9
## %bb.6:
	cmpl	%r13d, 8(%rax)
	jle	LBB0_15
## %bb.7:
	movl	12(%rax), %ecx
	movl	%ecx, (%r14)
	movl	16(%rax), %ecx
	movl	%ecx, (%r15)
	movl	20(%rax), %ecx
	jmp	LBB0_12
LBB0_9:
	cmpl	$64, %ecx
	jne	LBB0_15
## %bb.10:
	cmpl	%r13d, 20(%rax)
	jle	LBB0_15
## %bb.11:
	movl	8(%rax), %ecx
	movl	%ecx, (%r14)
	movl	16(%rax), %ecx
	movl	%ecx, (%r15)
	movl	12(%rax), %ecx
LBB0_12:
	movl	%ecx, (%r12)
	movslq	4(%rax), %rdx
	imull	(%r15), %ecx
	addl	(%r14), %ecx
	leaq	(%rax,%rdx,4), %rax
	imull	%r13d, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rax
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nouveau_perf_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_perf_entry
_nouveau_perf_entry:                    ; @nouveau_perf_entry
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x1, x2
	bl	_nouveau_perf_table
	cbz	x0, LBB0_12
; %bb.1:
	ldr	w8, [x23]
	sub	w9, w8, #18
	cmp	w9, #13
	b.hi	LBB0_4
; %bb.2:
	ldr	w8, [x0, #8]
	cmp	w8, w19
	b.le	LBB0_11
; %bb.3:
	ldr	w8, [x0, #12]
	str	w8, [x21]
	str	wzr, [x20]
	str	wzr, [x22]
	ldrsw	x8, [x0]
	add	x8, x0, x8, lsl #2
	ldr	w9, [x0, #12]
	mul	w9, w9, w19
	add	x0, x8, w9, sxtw #2
	b	LBB0_12
LBB0_4:
	and	w9, w8, #0xffffffe0
	cmp	w9, #32
	b.ne	LBB0_7
; %bb.5:
	ldr	w8, [x0, #8]
	cmp	w8, w19
	b.le	LBB0_11
; %bb.6:
	ldr	w8, [x0, #12]
	str	w8, [x21]
	ldr	w8, [x0, #16]
	str	w8, [x20]
	ldr	w8, [x0, #20]
	b	LBB0_10
LBB0_7:
	cmp	w8, #64
	b.ne	LBB0_11
; %bb.8:
	ldr	w8, [x0, #20]
	cmp	w8, w19
	b.le	LBB0_11
; %bb.9:
	ldr	w8, [x0, #8]
	str	w8, [x21]
	ldr	w8, [x0, #16]
	str	w8, [x20]
	ldr	w8, [x0, #12]
LBB0_10:
	str	w8, [x22]
	ldrsw	x9, [x0, #4]
	add	x9, x0, x9, lsl #2
	ldr	w10, [x21]
	ldr	w11, [x20]
	madd	w8, w11, w8, w10
	mul	w8, w8, w19
	add	x0, x9, w8, sxtw #2
	b	LBB0_12
LBB0_11:
	mov	x0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nouveau_perf_entry
.subsections_via_symbols
