	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evmap_signal_add_              ## -- Begin function evmap_signal_add_
	.p2align	4, 0x90
_evmap_signal_add_:                     ## @evmap_signal_add_
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	leaq	8(%rdi), %r12
	movq	%r13, %rax
	cmpl	%esi, 8(%rdi)
	jg	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$8, %edx
	callq	_evmap_make_space
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.2:
	movq	(%rbx), %rax
LBB0_3:
	movq	_evmap_signal@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_evmap_signal_init@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movl	8(%rax), %r9d
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_GET_SIGNAL_SLOT_AND_CTOR
	xorl	%edi, %edi
	callq	_LIST_EMPTY
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r14), %esi
	movq	_EV_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	*(%r13)
	cmpl	$-1, %eax
	je	LBB0_7
LBB0_5:
	movq	_ev_signal_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_LIST_INSERT_HEAD
	movl	$1, %eax
	jmp	LBB0_8
LBB0_7:
	movl	$-1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_evmap_signal,4,2               ## @evmap_signal
	.comm	_evmap_signal_init,4,2          ## @evmap_signal_init
	.comm	_EV_SIGNAL,4,2                  ## @EV_SIGNAL
	.comm	_ev_signal_next,4,2             ## @ev_signal_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evmap_signal_add_              ; -- Begin function evmap_signal_add_
	.p2align	2
_evmap_signal_add_:                     ; @evmap_signal_add_
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x0]
	mov	x22, x0
	ldr	w9, [x22, #8]!
	mov	x8, x23
	cmp	w9, w1
	b.gt	LBB0_3
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #8
	bl	_evmap_make_space
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x20]
LBB0_3:
Lloh0:
	adrp	x9, _evmap_signal@GOTPAGE
Lloh1:
	ldr	x9, [x9, _evmap_signal@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
Lloh3:
	adrp	x9, _evmap_signal_init@GOTPAGE
Lloh4:
	ldr	x9, [x9, _evmap_signal_init@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x9]
	ldr	w5, [x8, #8]
	mov	x0, #0
	mov	x1, x22
	mov	x2, x21
	bl	_GET_SIGNAL_SLOT_AND_CTOR
	mov	x0, #0
	bl	_LIST_EMPTY
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x23]
	ldr	w1, [x19]
Lloh6:
	adrp	x9, _EV_SIGNAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EV_SIGNAL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
	mov	x0, x20
	mov	w2, #0
	mov	x4, #0
	blr	x8
	cmn	w0, #1
	b.eq	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _ev_signal_next@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ev_signal_next@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, #0
	mov	x1, x19
	bl	_LIST_INSERT_HEAD
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_evmap_signal,4,2               ; @evmap_signal
	.comm	_evmap_signal_init,4,2          ; @evmap_signal_init
	.comm	_EV_SIGNAL,4,2                  ; @EV_SIGNAL
	.comm	_ev_signal_next,4,2             ; @ev_signal_next
.subsections_via_symbols
