	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gk104_fifo_class_get
_gk104_fifo_class_get:                  ## @gk104_fifo_class_get
	.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	%rdx, %r14
	movl	%esi, %ebx
	callq	_gk104_fifo
	movq	(%rax), %rcx
	cmpq	$0, 24(%rcx)
	je	LBB0_1
## %bb.5:
	movl	$1, %eax
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.6:
	movl	16(%rcx), %eax
	addq	$16, %rcx
	jmp	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	cmpq	$0, 8(%rcx)
	je	LBB0_9
## %bb.3:
	cmpl	%ebx, %eax
	jne	LBB0_4
## %bb.7:
	movl	(%rcx), %eax
LBB0_8:
	movl	%eax, 8(%r14)
	movq	%rcx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	incl	%eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gk104_fifo_class_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gk104_fifo_class_get
_gk104_fifo_class_get:                  ; @gk104_fifo_class_get
	.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, x2
	mov	x20, x1
	bl	_gk104_fifo
	ldr	x8, [x0]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_3
; %bb.1:
	cbz	w20, LBB0_6
; %bb.2:
	mov	w0, #1
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_4
	b	LBB0_9
LBB0_3:
	mov	w0, #0
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_9
LBB0_4:
	cmp	w0, w20
	b.ne	LBB0_8
; %bb.5:
	ldr	w9, [x8]
	b	LBB0_7
LBB0_6:
	ldr	w9, [x8, #16]!
LBB0_7:
	str	w9, [x19, #8]
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_9
LBB0_8:
	add	w0, w0, #1
LBB0_9:
	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	_gk104_fifo_class_get
.subsections_via_symbols
