	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_graph_construct_xfer1
_nv50_graph_construct_xfer1:            ## @nv50_graph_construct_xfer1
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$5440, %esi                     ## imm = 0x1540
	callq	_nv_rd32
	movl	%eax, %r12d
	movl	(%r13), %eax
	addl	$63, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	andl	$-64, %r14d
	movl	%r14d, 4(%r13)
	movl	(%rbx), %r15d
	movl	%r14d, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_dispatch
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_m2mf
	cmpl	$159, %r15d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	jg	LBB0_31
## %bb.1:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk24xx
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_clipid
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_zcull
	movl	(%r13), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	orl	$1, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_vfetch
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_eng2d
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_csched
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropm1
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropm2
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	movl	%r14d, %eax
	orl	$2, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ccache
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk1cxx
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_strmout
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk14xx
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk10xx
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk34xx
	movl	(%r13), %eax
	subl	%r14d, %eax
	movl	%r12d, %edx
	leal	7(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	movl	%r14d, %eax
	orl	$3, %eax
	movl	%eax, (%r13)
	testl	$65536, %edx                    ## imm = 0x10000
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_3:
	testl	$131072, %edx                   ## imm = 0x20000
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_5:
	testl	$262144, %edx                   ## imm = 0x40000
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_6
## %bb.7:
	testl	$524288, %edx                   ## imm = 0x80000
	jne	LBB0_8
LBB0_9:
	testl	$1048576, %edx                  ## imm = 0x100000
	je	LBB0_11
LBB0_10:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_11:
	subl	%r14d, %ebx
	testl	$2097152, %edx                  ## imm = 0x200000
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_13:
	sarl	$3, %r15d
	sarl	$3, %r12d
	xorl	%eax, %eax
	cmpl	$8, %ebx
	jl	LBB0_15
## %bb.14:
	leal	7(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	sarl	$3, %eax
LBB0_15:
	cmpl	%eax, %r15d
	cmovgl	%r15d, %eax
	cmpl	%eax, %r12d
	cmovgl	%r12d, %eax
	movl	(%r13), %ecx
	subl	%r14d, %ecx
	leal	7(%rcx), %ebx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %ebx
	sarl	$3, %ebx
	cmpl	%eax, %ebx
	cmovlel	%eax, %ebx
	movl	%r14d, %eax
	orl	$4, %eax
	movl	%eax, (%r13)
	testb	$1, %dl
	je	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_17:
	testb	$2, %dl
	je	LBB0_19
## %bb.18:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_19:
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$3, %r15d
	cmpl	%ebx, %r15d
	cmovlel	%ebx, %r15d
	movl	%r14d, %eax
	orl	$5, %eax
	movl	%eax, (%r13)
	testb	$4, %dl
	je	LBB0_21
## %bb.20:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_21:
	testb	$8, %dl
	je	LBB0_23
## %bb.22:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_23:
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	cmpl	%r15d, %ebx
	cmovlel	%r15d, %ebx
	movl	%r14d, %eax
	orl	$6, %eax
	movl	%eax, (%r13)
	testb	$16, %dl
	je	LBB0_25
## %bb.24:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_25:
	testb	$32, %dl
	je	LBB0_27
## %bb.26:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_27:
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	sarl	$3, %r12d
	cmpl	%ebx, %r12d
	cmovlel	%ebx, %r12d
	movl	%r14d, %eax
	orl	$7, %eax
	movl	%eax, (%r13)
	testb	$64, %dl
	je	LBB0_29
## %bb.28:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_29:
	testb	$-128, %dl
	jne	LBB0_30
	jmp	LBB0_72
LBB0_31:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk34xx
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_csched
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk1cxx
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_strmout
	movl	(%r13), %eax
	subl	%r14d, %eax
	xorl	%ebx, %ebx
	cmpl	$8, %eax
	jl	LBB0_33
## %bb.32:
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
LBB0_33:
	movl	%r14d, %eax
	orl	$1, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk10xx
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
	sarl	$3, %r15d
	cmpl	%ebx, %r15d
	cmovlel	%ebx, %r15d
	movl	%r14d, %eax
	orl	$2, %eax
	movl	%eax, (%r13)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$160, (%rax)
	jne	LBB0_35
## %bb.34:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk14xx
LBB0_35:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk24xx
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%r14d, %eax
	orl	$3, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_vfetch
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	movl	%r14d, %eax
	orl	$4, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ccache
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	movl	%r14d, %eax
	orl	$5, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropm2
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropm1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	$65536, %eax                    ## imm = 0x10000
	je	LBB0_37
## %bb.36:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_37:
	testl	$131072, %eax                   ## imm = 0x20000
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_38
## %bb.39:
	testl	$262144, %eax                   ## imm = 0x40000
	jne	LBB0_40
LBB0_41:
	testl	$524288, %eax                   ## imm = 0x80000
	jne	LBB0_42
LBB0_43:
	testl	$1048576, %eax                  ## imm = 0x100000
	jne	LBB0_44
LBB0_45:
	testl	$2097152, %eax                  ## imm = 0x200000
	jne	LBB0_46
LBB0_47:
	testl	$4194304, %eax                  ## imm = 0x400000
	je	LBB0_49
LBB0_48:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_49:
	sarl	$3, %ecx
	sarl	$3, %ebx
	sarl	$3, %r12d
	testl	$8388608, %eax                  ## imm = 0x800000
	je	LBB0_51
## %bb.50:
	movq	%r13, %rdi
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
LBB0_51:
	cmpl	%r15d, %ecx
	cmovgl	%ecx, %r15d
	cmpl	%r15d, %ebx
	cmovgl	%ebx, %r15d
	cmpl	%r15d, %r12d
	cmovgl	%r12d, %r15d
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	cmpl	%r15d, %ebx
	cmovlel	%r15d, %ebx
	movl	%r14d, %eax
	orl	$6, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_zcull
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_clipid
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_eng2d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$1, %cl
	je	LBB0_53
## %bb.52:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_53:
	testb	$2, %cl
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_54
## %bb.55:
	testb	$4, %cl
	jne	LBB0_56
LBB0_57:
	testb	$8, %cl
	je	LBB0_59
LBB0_58:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_59:
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %r12d
	testl	%eax, %eax
	cmovnsl	%eax, %r12d
	sarl	$3, %r12d
	cmpl	%ebx, %r12d
	cmovlel	%ebx, %r12d
	movl	%r14d, %eax
	orl	$7, %eax
	movl	%eax, (%r13)
	cmpl	$160, (%r15)
	jne	LBB0_71
## %bb.60:
	testb	$16, %cl
	jne	LBB0_61
## %bb.62:
	testb	$32, %cl
	jne	LBB0_63
LBB0_64:
	testb	$64, %cl
	jne	LBB0_65
LBB0_66:
	testb	$-128, %cl
	jne	LBB0_67
LBB0_68:
	testl	$256, %ecx                      ## imm = 0x100
	je	LBB0_70
LBB0_69:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_70:
	testl	$512, %ecx                      ## imm = 0x200
	je	LBB0_72
LBB0_30:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	jmp	LBB0_72
LBB0_6:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	$524288, %edx                   ## imm = 0x80000
	je	LBB0_9
LBB0_8:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	$1048576, %edx                  ## imm = 0x100000
	jne	LBB0_10
	jmp	LBB0_11
LBB0_38:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	$262144, %eax                   ## imm = 0x40000
	je	LBB0_41
LBB0_40:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	$524288, %eax                   ## imm = 0x80000
	je	LBB0_43
LBB0_42:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	$1048576, %eax                  ## imm = 0x100000
	je	LBB0_45
LBB0_44:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	$2097152, %eax                  ## imm = 0x200000
	je	LBB0_47
LBB0_46:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_ropc
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	$4194304, %eax                  ## imm = 0x400000
	jne	LBB0_48
	jmp	LBB0_49
LBB0_54:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$4, %cl
	je	LBB0_57
LBB0_56:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$8, %cl
	jne	LBB0_58
	jmp	LBB0_59
LBB0_71:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_gene_unk14xx
LBB0_72:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%r13), %eax
	subl	%r14d, %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	cmpl	%r12d, %ebx
	cmovlel	%r12d, %ebx
	orl	$63, %ecx
	leal	(%rcx,%rbx,8), %eax
	andl	$-64, %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_cp_lsr
	movq	_CP_SET_XFER_POINTER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_cp_out
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_cp_lsr
	movq	_CP_SEEK_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_cp_out
	movq	_CP_XFER_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_cp_out
	movq	_XFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cp_wait                        ## TAILCALL
LBB0_61:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$32, %cl
	je	LBB0_64
LBB0_63:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$64, %cl
	je	LBB0_66
LBB0_65:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testb	$-128, %cl
	je	LBB0_68
LBB0_67:
	movq	%r13, %rdi
	callq	_nv50_graph_construct_xfer_tp
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	$256, %ecx                      ## imm = 0x100
	jne	LBB0_69
	jmp	LBB0_70
	.cfi_endproc
                                        ## -- End function
	.comm	_CP_SET_XFER_POINTER,4,2        ## @CP_SET_XFER_POINTER
	.comm	_CP_SEEK_1,4,2                  ## @CP_SEEK_1
	.comm	_CP_XFER_1,4,2                  ## @CP_XFER_1
	.comm	_XFER,4,2                       ## @XFER
	.comm	_BUSY,4,2                       ## @BUSY
	.no_dead_strip	_nv50_graph_construct_xfer1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_graph_construct_xfer1
_nv50_graph_construct_xfer1:            ; @nv50_graph_construct_xfer1
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x22, [x0, #8]
	mov	x0, x22
	mov	w1, #5440
	bl	_nv_rd32
	mov	x21, x0
	ldr	w8, [x19]
	add	w23, w8, #63
	and	w20, w23, #0xffffffc0
	ldr	w24, [x22]
	stp	w20, w20, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_dispatch
	mov	x0, x19
	bl	_nv50_graph_construct_gene_m2mf
	mov	x0, x19
	cmp	w24, #159
	b.gt	LBB0_24
; %bb.1:
	bl	_nv50_graph_construct_gene_unk24xx
	mov	x0, x19
	bl	_nv50_graph_construct_gene_clipid
	mov	x0, x19
	bl	_nv50_graph_construct_gene_zcull
	ldr	w8, [x19]
	sub	w22, w8, w20
	add	w8, w22, #7
	cmp	w22, #0
	csel	w24, w8, w22, lt
	orr	w8, w20, #0x1
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_vfetch
	mov	x0, x19
	bl	_nv50_graph_construct_gene_eng2d
	mov	x0, x19
	bl	_nv50_graph_construct_gene_csched
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropm1
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropm2
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w25, w9, w8, lt
	orr	w8, w20, #0x2
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ccache
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk1cxx
	mov	x0, x19
	bl	_nv50_graph_construct_gene_strmout
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk14xx
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk10xx
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk34xx
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w26, w9, w8, lt
	orr	w8, w20, #0x3
	str	w8, [x19]
	tbnz	w21, #16, LBB0_48
; %bb.2:
	tbnz	w21, #17, LBB0_49
LBB0_3:
	tbnz	w21, #18, LBB0_50
LBB0_4:
	tbnz	w21, #19, LBB0_51
LBB0_5:
	tbz	w21, #20, LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
LBB0_7:
	asr	w27, w24, #3
	asr	w25, w25, #3
	asr	w24, w26, #3
	tbz	w21, #21, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
LBB0_9:
	cmp	w22, #7
	csel	w8, w27, wzr, gt
	cmp	w25, w8
	csel	w8, w25, w8, gt
	cmp	w24, w8
	csel	w8, w24, w8, gt
	ldr	w9, [x19]
	sub	w9, w9, w20
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	cmp	w9, w8
	csel	w22, w9, w8, gt
	orr	w8, w20, #0x4
	str	w8, [x19]
	tbz	w21, #0, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_11:
	tbz	w21, #1, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_13:
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w8, w22
	csel	w22, w8, w22, gt
	mov	w8, #5
	orr	w8, w20, w8
	str	w8, [x19]
	tbz	w21, #2, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_15:
	tbz	w21, #3, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_17:
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w8, w22
	csel	w22, w8, w22, gt
	orr	w8, w20, #0x6
	str	w8, [x19]
	tbz	w21, #4, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_19:
	tbz	w21, #5, LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_21:
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w8, w22
	csel	w24, w8, w22, gt
	orr	w8, w20, #0x7
	str	w8, [x19]
	tbz	w21, #6, LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_23:
	tbnz	w21, #7, LBB0_67
	b	LBB0_68
LBB0_24:
	bl	_nv50_graph_construct_gene_unk34xx
	mov	x0, x19
	bl	_nv50_graph_construct_gene_csched
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk1cxx
	mov	x0, x19
	bl	_nv50_graph_construct_gene_strmout
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #3
	cmp	w8, #7
	csel	w24, w9, wzr, gt
	orr	w8, w20, #0x1
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk10xx
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w8, w24
	csel	w24, w8, w24, gt
	orr	w8, w20, #0x2
	str	w8, [x19]
	ldr	w8, [x22]
	cmp	w8, #160
	b.ne	LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk14xx
LBB0_26:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk24xx
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w25, w9, w8, lt
	orr	w8, w20, #0x3
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_vfetch
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w26, w9, w8, lt
	orr	w8, w20, #0x4
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ccache
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w27, w9, w8, lt
	mov	w8, #5
	orr	w8, w20, w8
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropm2
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropm1
	tbnz	w21, #16, LBB0_52
; %bb.27:
	tbnz	w21, #17, LBB0_53
LBB0_28:
	tbnz	w21, #18, LBB0_54
LBB0_29:
	tbnz	w21, #19, LBB0_55
LBB0_30:
	tbnz	w21, #20, LBB0_56
LBB0_31:
	tbnz	w21, #21, LBB0_57
LBB0_32:
	tbz	w21, #22, LBB0_34
LBB0_33:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
LBB0_34:
	asr	w28, w25, #3
	asr	w26, w26, #3
	asr	w25, w27, #3
	tbz	w21, #23, LBB0_36
; %bb.35:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
LBB0_36:
	cmp	w28, w24
	csel	w8, w28, w24, gt
	cmp	w26, w8
	csel	w8, w26, w8, gt
	cmp	w25, w8
	csel	w8, w25, w8, gt
	ldr	w9, [x19]
	sub	w9, w9, w20
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	cmp	w9, w8
	csel	w24, w9, w8, gt
	orr	w8, w20, #0x6
	str	w8, [x19]
	mov	x0, x19
	bl	_nv50_graph_construct_gene_zcull
	mov	x0, x19
	bl	_nv50_graph_construct_gene_clipid
	mov	x0, x19
	bl	_nv50_graph_construct_gene_eng2d
	tbnz	w21, #0, LBB0_58
; %bb.37:
	tbnz	w21, #1, LBB0_59
LBB0_38:
	tbnz	w21, #2, LBB0_60
LBB0_39:
	tbz	w21, #3, LBB0_41
LBB0_40:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_41:
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w8, w24
	csel	w24, w8, w24, gt
	orr	w8, w20, #0x7
	str	w8, [x19]
	ldr	w8, [x22]
	cmp	w8, #160
	b.ne	LBB0_61
; %bb.42:
	tbnz	w21, #4, LBB0_62
; %bb.43:
	tbnz	w21, #5, LBB0_63
LBB0_44:
	tbnz	w21, #6, LBB0_64
LBB0_45:
	tbnz	w21, #7, LBB0_65
LBB0_46:
	tbnz	w21, #8, LBB0_66
LBB0_47:
	tbnz	w21, #9, LBB0_67
	b	LBB0_68
LBB0_48:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #17, LBB0_3
LBB0_49:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #18, LBB0_4
LBB0_50:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #19, LBB0_5
LBB0_51:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbnz	w21, #20, LBB0_6
	b	LBB0_7
LBB0_52:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #17, LBB0_28
LBB0_53:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #18, LBB0_29
LBB0_54:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #19, LBB0_30
LBB0_55:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #20, LBB0_31
LBB0_56:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbz	w21, #21, LBB0_32
LBB0_57:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_ropc
	tbnz	w21, #22, LBB0_33
	b	LBB0_34
LBB0_58:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #1, LBB0_38
LBB0_59:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #2, LBB0_39
LBB0_60:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbnz	w21, #3, LBB0_40
	b	LBB0_41
LBB0_61:
	mov	x0, x19
	bl	_nv50_graph_construct_gene_unk14xx
	b	LBB0_68
LBB0_62:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #5, LBB0_44
LBB0_63:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #6, LBB0_45
LBB0_64:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #7, LBB0_46
LBB0_65:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #8, LBB0_47
LBB0_66:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
	tbz	w21, #9, LBB0_68
LBB0_67:
	mov	x0, x19
	bl	_nv50_graph_construct_xfer_tp
LBB0_68:
	ldr	w8, [x19]
	sub	w8, w8, w20
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	w8, w24
	csel	w21, w8, w24, gt
	orr	w8, w23, #0x3f
	add	w8, w8, w21, lsl #3
	and	w8, w8, #0xffffffc0
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_cp_lsr
Lloh0:
	adrp	x8, _CP_SET_XFER_POINTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CP_SET_XFER_POINTER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cp_out
	mov	x0, x19
	mov	x1, x21
	bl	_cp_lsr
Lloh3:
	adrp	x8, _CP_SEEK_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CP_SEEK_1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cp_out
Lloh6:
	adrp	x8, _CP_XFER_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CP_XFER_1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cp_out
Lloh9:
	adrp	x8, _XFER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XFER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _BUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUSY@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_cp_wait
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CP_SET_XFER_POINTER,4,2        ; @CP_SET_XFER_POINTER
	.comm	_CP_SEEK_1,4,2                  ; @CP_SEEK_1
	.comm	_CP_XFER_1,4,2                  ; @CP_XFER_1
	.comm	_XFER,4,2                       ; @XFER
	.comm	_BUSY,4,2                       ; @BUSY
	.no_dead_strip	_nv50_graph_construct_xfer1
.subsections_via_symbols
