	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm200_sor_dp_drive             ## -- Begin function gm200_sor_dp_drive
	.p2align	4, 0x90
_gm200_sor_dp_drive:                    ## @gm200_sor_dp_drive
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	callq	_nv50_sor_link
	movl	%eax, %r15d
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rbx
	movb	(%rax,%rbx,4), %al
	shlb	$3, %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	leal	6406424(%r15), %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_nvkm_rd32
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leal	6406432(%r15), %esi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_nvkm_rd32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leal	6406448(%r15), %esi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_nvkm_rd32
	movl	%eax, %ecx
	andl	$3840, %ecx                     ## imm = 0xF00
	andl	$15, %r13d
	shll	$8, %r13d
	movl	%eax, %r14d
	andl	$-3841, %r14d                   ## imm = 0xF0FF
	orl	%r13d, %r14d
	cmpl	%r13d, %ecx
	cmovbl	%r14d, %eax
	testl	%ebx, %ebx
	cmovnel	%eax, %r14d
	movl	$255, %ebx
	movb	-41(%rbp), %cl                  ## 1-byte Reload
	shll	%cl, %ebx
	notl	%ebx
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	andl	%ebx, %r13d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	andl	%ebx, %eax
	movl	%ecx, %r15d
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	shll	%cl, %edx
	orl	%eax, %edx
	movq	%r12, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_nvkm_wr32
	movl	%r15d, %ecx
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	shll	%cl, %edx
	orl	%r13d, %edx
	movq	%r12, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_nvkm_wr32
	movq	%r12, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	callq	_nvkm_wr32
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	addl	$6406460, %r14d                 ## imm = 0x61C13C
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_nvkm_rd32
	andl	%eax, %ebx
	movl	%r15d, %ecx
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	shll	%cl, %edx
	orl	%ebx, %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nvkm_wr32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gm200_sor_dp_drive             ; -- Begin function gm200_sor_dp_drive
	.p2align	2
_gm200_sor_dp_drive:                    ; @gm200_sor_dp_drive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x5
	stp	w4, w2, [sp, #8]                ; 8-byte Folded Spill
	mov	x23, x3
	mov	x24, x1
	mov	x25, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	bl	_nv50_sor_link
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	w22, [x8, w24, sxtw #2]
	add	w8, w0, #1564, lsl #12          ; =6406144
	add	w25, w8, #280
	mov	x0, x20
	mov	x1, x25
	bl	_nvkm_rd32
	mov	x26, x0
	add	w27, w25, #8
	mov	x0, x20
	mov	x1, x27
	bl	_nvkm_rd32
	mov	x28, x0
	add	w19, w25, #24
	mov	x0, x20
	mov	x1, x19
	bl	_nvkm_rd32
	and	w8, w0, #0xf00
	ubfiz	w9, w21, #8, #4
	cmp	w8, w9
	ccmp	w24, #0, #4, hs
	mov	x8, x0
	bfi	w8, w21, #8, #4
	csel	w21, w8, w0, eq
	lsl	w22, w22, #3
	mov	w8, #255
	lsl	w24, w8, w22
	bic	w28, w28, w24
	bic	w8, w26, w24
	lsl	w9, w23, w22
	orr	w2, w8, w9
	mov	x0, x20
	mov	x1, x25
	bl	_nvkm_wr32
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	lsl	w8, w8, w22
	orr	w2, w28, w8
	mov	x0, x20
	mov	x1, x27
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_nvkm_wr32
	add	w19, w25, #36
	mov	x0, x20
	mov	x1, x19
	bl	_nvkm_rd32
	bic	w8, w0, w24
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	lsl	w9, w9, w22
	orr	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_nvkm_wr32
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
