	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_fifo_init                 ## -- Begin function nv50_fifo_init
	.p2align	4, 0x90
_nv50_fifo_init:                        ## @nv50_fifo_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_nouveau_fifo_init
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movl	$256, %edx                      ## imm = 0x100
	xorl	%ecx, %ecx
	callq	_nv_mask
	movq	%r14, %rdi
	movl	$512, %esi                      ## imm = 0x200
	movl	$256, %edx                      ## imm = 0x100
	movl	$256, %ecx                      ## imm = 0x100
	callq	_nv_mask
	movq	%r14, %rdi
	movl	$9484, %esi                     ## imm = 0x250C
	movl	$1866267700, %edx               ## imm = 0x6F3CFC34
	callq	_nv_wr32
	movq	%r14, %rdi
	movl	$8260, %esi                     ## imm = 0x2044
	movl	$16793599, %edx                 ## imm = 0x1003FFF
	callq	_nv_wr32
	movq	%r14, %rdi
	movl	$8448, %esi                     ## imm = 0x2100
	movl	$-1, %edx
	callq	_nv_wr32
	movq	%r14, %rdi
	movl	$8512, %esi                     ## imm = 0x2140
	movl	$-1073741825, %edx              ## imm = 0xBFFFFFFF
	callq	_nv_wr32
	movl	$9728, %ebx                     ## imm = 0x2600
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_nv_wr32
	addl	$4, %ebx
	cmpl	$10240, %ebx                    ## imm = 0x2800
	jne	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_nv50_fifo_playlist_update
	movq	%r14, %rdi
	movl	$12800, %esi                    ## imm = 0x3200
	movl	$1, %edx
	callq	_nv_wr32
	movq	%r14, %rdi
	movl	$12880, %esi                    ## imm = 0x3250
	movl	$1, %edx
	callq	_nv_wr32
	movq	%r14, %rdi
	movl	$9472, %esi                     ## imm = 0x2500
	movl	$1, %edx
	callq	_nv_wr32
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nv50_fifo_init                 ; -- Begin function nv50_fifo_init
	.p2align	2
_nv50_fifo_init:                        ; @nv50_fifo_init
	.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
	bl	_nouveau_fifo_init
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	mov	w1, #512
	mov	w2, #256
	mov	w3, #0
	bl	_nv_mask
	mov	x0, x19
	mov	w1, #512
	mov	w2, #256
	mov	w3, #256
	bl	_nv_mask
	mov	x0, x19
	mov	w1, #9484
	mov	w2, #64564
	movk	w2, #28476, lsl #16
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #8260
	mov	w2, #16383
	movk	w2, #256, lsl #16
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #8448
	mov	w2, #-1
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #8512
	mov	w2, #-1073741825
	bl	_nv_wr32
	mov	w20, #0
	mov	w21, #9728
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w20, w21
	mov	x0, x19
	mov	w2, #0
	bl	_nv_wr32
	add	w20, w20, #4
	cmp	w20, #512
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x19
	bl	_nv50_fifo_playlist_update
	mov	x0, x19
	mov	w1, #12800
	mov	w2, #1
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #12880
	mov	w2, #1
	bl	_nv_wr32
	mov	x0, x19
	mov	w1, #9472
	mov	w2, #1
	bl	_nv_wr32
	mov	w0, #0
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
