	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nes_handle_delayed_event
_nes_handle_delayed_event:              ## @nes_handle_delayed_event
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	je	LBB0_3
## %bb.1:
	movq	32(%rbx), %rcx
	movq	%rcx, -16(%rbp)
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rax, -32(%rbp)
	movq	24(%rbx), %rax
	incq	%rax
	movq	%rax, -24(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_ib_dispatch_event
LBB0_3:
	movq	$0, 16(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nes_handle_delayed_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nes_handle_delayed_event
_nes_handle_delayed_event:              ; @nes_handle_delayed_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x19, #32]
	str	x9, [sp, #24]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x9, [x19, #24]
	add	x9, x9, #1
	stp	x8, x9, [sp, #8]
	add	x0, sp, #8
	bl	_ib_dispatch_event
LBB0_3:
	str	xzr, [x19, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nes_handle_delayed_event
.subsections_via_symbols
