	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv10_graph_channel
_nv10_graph_channel:                    ## @nv10_graph_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$4194628, %esi                  ## imm = 0x400144
	callq	_nv_rd32
	testl	$65536, %eax                    ## imm = 0x10000
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movl	$4194632, %esi                  ## imm = 0x400148
	callq	_nv_rd32
	movl	%eax, %r14d
	sarl	$24, %r14d
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r14d
	jge	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv10_graph_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv10_graph_channel
_nv10_graph_channel:                    ; @nv10_graph_channel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w20, #324
	movk	w20, #64, lsl #16
	mov	w1, #324
	movk	w1, #64, lsl #16
	bl	_nv_rd32
	tbz	w0, #16, LBB0_3
; %bb.1:
	add	w1, w20, #4
	mov	x0, x19
	bl	_nv_rd32
	asr	w20, w0, #24
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	b.ge	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	ldr	x0, [x8, w20, sxtw #3]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv10_graph_channel
.subsections_via_symbols
