	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FIRE_RING
_FIRE_RING:                             ## @FIRE_RING
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	12(%rbx), %eax
	movl	%edi, %edx
	subl	%eax, %edx
	je	LBB0_5
## %bb.1:
	movl	$1, (%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	shll	$2, %eax
	movslq	%eax, %rsi
	addq	24(%rbx), %rsi
	shll	$2, %edx
	movq	%rbx, %rdi
	callq	_nv50_dma_push
	jmp	LBB0_4
LBB0_3:
	callq	_WRITE_PUT
LBB0_4:
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_FIRE_RING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FIRE_RING
_FIRE_RING:                             ; @FIRE_RING
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	w9, [x19, #12]
	subs	w8, w0, w9
	b.eq	LBB0_5
; %bb.1:
	mov	w10, #1
	str	w10, [x19]
	ldr	x10, [x19, #16]
	cbz	x10, LBB0_3
; %bb.2:
	ldr	x10, [x19, #24]
	lsl	w9, w9, #2
	add	x1, x10, w9, sxtw
	lsl	w2, w8, #2
	mov	x0, x19
	bl	_nv50_dma_push
	b	LBB0_4
LBB0_3:
	bl	_WRITE_PUT
LBB0_4:
	ldr	w8, [x19, #8]
	str	w8, [x19, #12]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_FIRE_RING
.subsections_via_symbols
