	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gv100_disp_dmac_init           ## -- Begin function gv100_disp_dmac_init
	.p2align	4, 0x90
_gv100_disp_dmac_init:                  ## @gv100_disp_dmac_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movl	(%rdi), %edi
	movl	4(%r14), %ebx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r15d
	shll	$12, %r15d
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	shll	$4, %ebx
	leal	6359844(%rbx), %r13d
	callq	_lower_32_bits
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_nvkm_wr32
	leal	6359840(%rbx), %r13d
	movl	(%r14), %edi
	callq	_upper_32_bits
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_nvkm_wr32
	leal	6359848(%rbx), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_nvkm_wr32
	addl	$6359852, %ebx                  ## imm = 0x610B2C
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$64, %edx
	callq	_nvkm_wr32
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	6358240(,%rax,4), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$16, %edx
	movl	$16, %ecx
	callq	_nvkm_mask
	addl	$6877184, %r15d                 ## imm = 0x68F000
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_nvkm_wr32
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$19, %edx
	callq	_nvkm_wr32
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gv100_disp_dmac_idle           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gv100_disp_dmac_init           ; -- Begin function gv100_disp_dmac_init
	.p2align	2
_gv100_disp_dmac_init:                  ; @gv100_disp_dmac_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldp	w0, w22, [x0]
	lsl	w23, w22, #12
	mov	w24, #1248
	movk	w24, #97, lsl #16
	add	w25, w24, w22, lsl #4
	add	w21, w25, #1604
	bl	_lower_32_bits
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_nvkm_wr32
	add	w21, w25, #1600
	ldr	w0, [x19]
	bl	_upper_32_bits
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_nvkm_wr32
	add	w1, w25, #1608
	mov	x0, x20
	mov	w2, #1
	bl	_nvkm_wr32
	add	w1, w25, #1612
	mov	x0, x20
	mov	w2, #64
	bl	_nvkm_wr32
	add	w21, w24, w22, lsl #2
	mov	x0, x20
	mov	x1, x21
	mov	w2, #16
	mov	w3, #16
	bl	_nvkm_mask
	add	w1, w23, #1679, lsl #12         ; =6877184
	mov	x0, x20
	mov	w2, #0
	bl	_nvkm_wr32
	mov	x0, x20
	mov	x1, x21
	mov	w2, #19
	bl	_nvkm_wr32
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_gv100_disp_dmac_idle
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
