	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eloop_handle_signal
_eloop_handle_signal:                   ## @eloop_handle_signal
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movq	_SIGINT@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
LBB0_2:
	movq	_eloop@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_eloop@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_eloop_handle_alarm@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movl	$2, %edi
	callq	_alarm
LBB0_4:
	movq	_eloop@GOTPCREL(%rip), %rcx
	incl	16(%rcx)
	movl	4(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movq	8(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ebx, (%rcx,%rdx,8)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_6
	jmp	LBB0_9
LBB0_7:
	incl	4(%rcx,%rdx,8)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_eloop,24,3                     ## @eloop
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_eloop_handle_alarm,4,2         ## @eloop_handle_alarm
	.no_dead_strip	_eloop_handle_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eloop_handle_signal
_eloop_handle_signal:                   ; @eloop_handle_signal
	.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, x0
Lloh0:
	adrp	x8, _SIGINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x20, _eloop@GOTPAGE
Lloh4:
	ldr	x20, [x20, _eloop@GOTPAGEOFF]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cbnz	w8, LBB0_4
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	cmp	w8, w19
	ccmp	w9, #0, #0, eq
	b.ne	LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x20]
Lloh8:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _eloop_handle_alarm@GOTPAGE
Lloh12:
	ldr	x8, [x8, _eloop_handle_alarm@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_signal
	mov	w0, #2
	bl	_alarm
LBB0_4:
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	ldr	x9, [x20, #8]
	add	x9, x9, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w19
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_6
	b	LBB0_9
LBB0_8:
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_eloop,24,3                     ; @eloop
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_eloop_handle_alarm,4,2         ; @eloop_handle_alarm
	.no_dead_strip	_eloop_handle_signal
.subsections_via_symbols
