	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nes_process_ceq
_nes_process_ceq:                       ## @nes_process_ceq
	.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	%rsi, %rbx
	movq	(%rsi), %r14
	movq	16(%rsi), %rax
	movq	(%rax,%r14,8), %rax
	movq	_NES_CEQE_CQ_CTX_HIGH_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_le32_to_cpu
	movq	_NES_CEQE_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	%r14, (%rbx)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_nes_process_ceq.cold.1
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function nes_process_ceq.cold.1
_nes_process_ceq.cold.1:                ## @nes_process_ceq.cold.1
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax,%rsi,8), %rax
	movq	_NES_CEQE_CQ_CTX_HIGH_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_le32_to_cpu
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movq	_NES_CEQE_CQ_CTX_LOW_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_le32_to_cpu
	xorl	%eax, %eax
	callq	_barrier
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_NES_CEQE_CQ_CTX_HIGH_IDX,8,3   ## @NES_CEQE_CQ_CTX_HIGH_IDX
	.comm	_NES_CEQE_VALID,4,2             ## @NES_CEQE_VALID
	.comm	_NES_CEQE_CQ_CTX_LOW_IDX,8,3    ## @NES_CEQE_CQ_CTX_LOW_IDX
	.no_dead_strip	_nes_process_ceq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nes_process_ceq
_nes_process_ceq:                       ; @nes_process_ceq
	.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	x20, x1
	ldr	x19, [x1]
	ldr	x8, [x1, #16]
	ldr	x8, [x8, x19, lsl #3]
Lloh0:
	adrp	x9, _NES_CEQE_CQ_CTX_HIGH_IDX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NES_CEQE_CQ_CTX_HIGH_IDX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_le32_to_cpu
Lloh3:
	adrp	x8, _NES_CEQE_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NES_CEQE_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_2
; %bb.1:
	str	x19, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	add	x0, x20, #16
	mov	x1, x19
	bl	_nes_process_ceq.cold.1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function nes_process_ceq.cold.1
_nes_process_ceq.cold.1:                ; @nes_process_ceq.cold.1
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8, x1, lsl #3]
Lloh6:
	adrp	x9, _NES_CEQE_CQ_CTX_HIGH_IDX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NES_CEQE_CQ_CTX_HIGH_IDX@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_le32_to_cpu
	ldr	x8, [x20]
	ldr	x8, [x8, x19, lsl #3]
Lloh9:
	adrp	x9, _NES_CEQE_CQ_CTX_LOW_IDX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NES_CEQE_CQ_CTX_LOW_IDX@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_le32_to_cpu
	bl	_barrier
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NES_CEQE_CQ_CTX_HIGH_IDX,8,3   ; @NES_CEQE_CQ_CTX_HIGH_IDX
	.comm	_NES_CEQE_VALID,4,2             ; @NES_CEQE_VALID
	.comm	_NES_CEQE_CQ_CTX_LOW_IDX,8,3    ; @NES_CEQE_CQ_CTX_LOW_IDX
	.no_dead_strip	_nes_process_ceq
.subsections_via_symbols
