	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_gr_construct_gene_unk1cxx
_nv50_gr_construct_gene_unk1cxx:        ## @nv50_gr_construct_gene_unk1cxx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$3, %r14d
	movq	%rbx, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$26, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$16776960, %edx                 ## imm = 0xFFFF00
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$15, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$262957185, %edx                ## imm = 0xFAC6881
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$17, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$7, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	(%r15), %edi
	callq	_IS_NVA3F
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$160, (%r15)
	movl	$1, %r14d
	jl	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r14d, %edx
	callq	_xf_emit
LBB0_3:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$2, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$67108864, %edx                 ## imm = 0x4000000
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$5, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$82, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$80, %edi
	cmpl	$80, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_xf_emit
	movl	(%r15), %edi
LBB0_5:
	callq	_IS_NVA3F
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
LBB0_7:
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$1065353216, %edx               ## imm = 0x3F800000
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$16, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$32, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$135269394, %edx                ## imm = 0x8100C12
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$5, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$4, %esi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_xf_emit
	movl	$28, %r14d
	cmpl	$80, (%r15)
	je	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_xf_emit
	movl	(%r15), %edi
	cmpl	$160, %edi
	jl	LBB0_10
## %bb.9:
	callq	_IS_NVA3F
	movl	$9, %r14d
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_xf_emit
LBB0_11:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$16776960, %edx                 ## imm = 0xFFFF00
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$26, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$37, %esi
	cmpl	$80, (%r15)
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	cmpl	$160, (%r15)
	movl	$37, %eax
	movl	$59, %esi
	cmovll	%eax, %esi
LBB0_13:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xf_emit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_gr_construct_gene_unk1cxx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_gr_construct_gene_unk1cxx
_nv50_gr_construct_gene_unk1cxx:        ; @nv50_gr_construct_gene_unk1cxx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x21, [x0]
	mov	w1, #2
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1065353216
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	w20, #3
	mov	x0, x19
	mov	w1, #3
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #4
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #26
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #16776960
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #15
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #7
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #26753
	movk	w2, #4012, lsl #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #17
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #7
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #4
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	ldr	w0, [x21]
	bl	_IS_NVA3F
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #160
	b.lt	LBB0_4
; %bb.2:
	mov	w20, #1
LBB0_3:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_xf_emit
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #2
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #2
	mov	w2, #67108864
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #5
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #82
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	ldr	w8, [x21]
	cmp	w8, #80
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #80
	bl	_IS_NVA3F
	cbnz	x0, LBB0_7
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_xf_emit
	ldr	w0, [x21]
	bl	_IS_NVA3F
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
LBB0_8:
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #1065353216
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #32
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3090
	movk	w2, #2064, lsl #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #5
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #4
	mov	w2, #65535
	bl	_xf_emit
	ldr	w8, [x21]
	cmp	w8, #80
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3
	bl	_xf_emit
	ldr	w0, [x21]
	cmp	w0, #160
	b.ge	LBB0_15
LBB0_10:
	mov	w1, #28
LBB0_11:
	mov	x0, x19
	mov	w2, #0
	bl	_xf_emit
LBB0_12:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #16776960
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #26
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	ldr	w8, [x21]
	mov	w20, #37
	cmp	w8, #80
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	ldr	w8, [x21]
	mov	w9, #59
	cmp	w8, #160
	csel	w20, w20, w9, lt
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_xf_emit
LBB0_15:
	bl	_IS_NVA3F
	cbz	x0, LBB0_12
; %bb.16:
	mov	w1, #9
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_gr_construct_gene_unk1cxx
.subsections_via_symbols
