	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_gr_construct_gene_unk24xx
_nv50_gr_construct_gene_unk24xx:        ## @nv50_gr_construct_gene_unk24xx
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movl	$51, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$1, %r15d
	movq	%rbx, %rdi
	movl	$1, %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	$4, %edx
	callq	_xf_emit
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	callq	_IS_NVA3F
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$4, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$3600, -52(%rbp)                ## 4-byte Folded Spill
                                        ## imm = 0xE10
	movq	%rbx, %rdi
	movl	$3600, %esi                     ## imm = 0xE10
	xorl	%edx, %edx
	callq	_xf_emit
	movl	$9, %r15d
	movl	$8, %r13d
	movl	$1, %esi
	movl	$4, %r14d
	movl	$1, %r12d
	movl	$8, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$9, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_1:
	movl	$8, %r14d
	movl	$3600, %r13d                    ## imm = 0xE10
	movl	$12, %esi
	movl	$12, -52(%rbp)                  ## 4-byte Folded Spill
	movl	$3600, %r12d                    ## imm = 0xE10
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$8, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	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	$4, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$4, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$135269394, %edx                ## imm = 0x8100C12
	callq	_xf_emit
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpl	$80, (%r14)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$3, %edx
	callq	_xf_emit
LBB0_5:
	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
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$527380, %edx                   ## imm = 0x80C14
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_xf_emit
	cmpl	$160, (%r14)
	jl	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$4, %edx
	callq	_xf_emit
LBB0_7:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$527380, %edx                   ## imm = 0x80C14
	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	$39, %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	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$64, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$16, %esi
	xorl	%edx, %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
	movl	$1, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_xf_emit
	movq	%rbx, %rdi
	movl	$4, %esi
	xorl	%edx, %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
	movl	$135269394, %edx                ## imm = 0x8100C12
	callq	_xf_emit
	cmpl	$80, (%r14)
	jne	LBB0_9
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xf_emit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_gr_construct_gene_unk24xx
.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_unk24xx
_nv50_gr_construct_gene_unk24xx:        ; @nv50_gr_construct_gene_unk24xx
	.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	x27, [x0]
	mov	w1, #51
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_xf_emit
	mov	w20, #1
	mov	x0, x19
	mov	w1, #1
	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, #4
	bl	_xf_emit
	ldr	w0, [x27]
	bl	_IS_NVA3F
	cbz	x0, LBB0_2
; %bb.1:
	mov	w21, #4
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	bl	_xf_emit
	mov	w22, #3600
	mov	x0, x19
	mov	w1, #3600
	mov	w2, #0
	bl	_xf_emit
	mov	w20, #9
	mov	w26, #8
	mov	w1, #1
	mov	w25, #1
	mov	w24, #8
	mov	w23, #9
	b	LBB0_3
LBB0_2:
	mov	w21, #8
	mov	w26, #3600
	mov	w1, #12
	mov	w22, #12
	mov	w25, #3600
	mov	w24, #1
	mov	w23, #8
LBB0_3:
	mov	x0, x19
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x26
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x25
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x24
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	x1, x23
	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, #4
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #4
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3090
	movk	w2, #2064, lsl #16
	bl	_xf_emit
	ldr	w8, [x27]
	cmp	w8, #80
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3
	bl	_xf_emit
LBB0_5:
	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, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3092
	movk	w2, #8, lsl #16
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	bl	_xf_emit
	ldr	w8, [x27]
	cmp	w8, #160
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #4
	bl	_xf_emit
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #3092
	movk	w2, #8, lsl #16
	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, #39
	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, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #64
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	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, #1
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_xf_emit
	mov	x0, x19
	mov	w1, #4
	mov	w2, #0
	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, #3090
	movk	w2, #2064, lsl #16
	bl	_xf_emit
	ldr	w8, [x27]
	cmp	w8, #80
	b.ne	LBB0_9
; %bb.8:
	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
	ret
LBB0_9:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	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	_xf_emit
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_gr_construct_gene_unk24xx
.subsections_via_symbols
