	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nes_cm_post_event
_nes_cm_post_event:                     ## @nes_cm_post_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	addq	$4, %rdi
	callq	_atomic_inc
	movq	8(%rbx), %rdi
	callq	_add_ref_cm_node
	movq	16(%rbx), %rdi
	callq	*(%rdi)
	movq	_nes_cm_event_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_INIT_WORK
	movq	_NES_DBG_CM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_nes_debug
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_queue_work
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_nes_debug
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nes_cm_event_handler,4,2       ## @nes_cm_event_handler
	.comm	_NES_DBG_CM,4,2                 ## @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cm_node=%p queue_work, event=%p\n"

L_.str.1:                               ## @.str.1
	.asciz	"Exit\n"

	.no_dead_strip	_nes_cm_post_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nes_cm_post_event
_nes_cm_post_event:                     ; @nes_cm_post_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x0, x8, #4
	bl	_atomic_inc
	ldr	x0, [x19, #8]
	bl	_add_ref_cm_node
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	blr	x8
Lloh0:
	adrp	x8, _nes_cm_event_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nes_cm_event_handler@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_WORK
Lloh3:
	adrp	x20, _NES_DBG_CM@GOTPAGE
Lloh4:
	ldr	x20, [x20, _NES_DBG_CM@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19, #8]
	stp	x8, x19, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nes_debug
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_queue_work
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_nes_debug
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nes_cm_event_handler,4,2       ; @nes_cm_event_handler
	.comm	_NES_DBG_CM,4,2                 ; @NES_DBG_CM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cm_node=%p queue_work, event=%p\n"

l_.str.1:                               ; @.str.1
	.asciz	"Exit\n"

	.no_dead_strip	_nes_cm_post_event
.subsections_via_symbols
