	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv40_graph_construct_state3d_3
_nv40_graph_construct_state3d_3:        ## @nv40_graph_construct_state3d_3
	.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
	movl	4(%rdi), %edi
	callq	_nv44_graph_class
	testq	%rax, %rax
	movl	$1668, %eax                     ## imm = 0x684
	movl	$132, %r14d
	cmovel	%eax, %r14d
	movq	%rbx, %rdi
	movl	$3145728, %esi                  ## imm = 0x300000
	callq	_cp_out
	leal	-4(%r14), %esi
	movq	%rbx, %rdi
	callq	_cp_lsr
	movq	_SWAP_DIRECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cp_swap_state3d_3_is_save@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	callq	_cp_bra
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_cp_lsr
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_cp_name
	movq	%rbx, %rdi
	movl	$8388609, %esi                  ## imm = 0x800001
	callq	_cp_out
	addl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SWAP_DIRECTION,4,2             ## @SWAP_DIRECTION
	.comm	_SAVE,4,2                       ## @SAVE
	.comm	_cp_swap_state3d_3_is_save,4,2  ## @cp_swap_state3d_3_is_save
	.no_dead_strip	_nv40_graph_construct_state3d_3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv40_graph_construct_state3d_3
_nv40_graph_construct_state3d_3:        ; @nv40_graph_construct_state3d_3
	.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	w0, [x0, #4]
	bl	_nv44_graph_class
	cmp	x0, #0
	mov	w8, #132
	mov	w9, #1668
	csel	w20, w9, w8, eq
	mov	x0, x19
	mov	w1, #3145728
	bl	_cp_out
	sub	w1, w20, #4
	mov	x0, x19
	bl	_cp_lsr
Lloh0:
	adrp	x8, _SWAP_DIRECTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SWAP_DIRECTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SAVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SAVE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x21, _cp_swap_state3d_3_is_save@GOTPAGE
Lloh7:
	ldr	x21, [x21, _cp_swap_state3d_3_is_save@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_cp_bra
	mov	x0, x19
	mov	x1, x20
	bl	_cp_lsr
	ldr	w1, [x21]
	mov	x0, x19
	bl	_cp_name
	mov	x0, x19
	mov	w1, #1
	movk	w1, #128, lsl #16
	bl	_cp_out
	ldr	w8, [x19]
	add	w8, w8, w20
	str	w8, [x19]
	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
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SWAP_DIRECTION,4,2             ; @SWAP_DIRECTION
	.comm	_SAVE,4,2                       ; @SAVE
	.comm	_cp_swap_state3d_3_is_save,4,2  ; @cp_swap_state3d_3_is_save
	.no_dead_strip	_nv40_graph_construct_state3d_3
.subsections_via_symbols
