	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_multiplesignal
_test_multiplesignal:                   ## @test_multiplesignal
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_setup_test
	movq	_SIGALRM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_signal_cb@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %rcx
	callq	_evsignal_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evsignal_add
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %rcx
	callq	_evsignal_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_evsignal_add
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	$0, -48(%rbp)
	movl	$100000, -56(%rbp)              ## imm = 0x186A0
	movq	_ITIMER_REAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_setitimer
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_event_dispatch
LBB0_2:
	leaq	-40(%rbp), %rdi
	callq	_evsignal_del
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_test_ok@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_4:
	leaq	-32(%rbp), %rdi
	callq	_evsignal_del
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	movq	_test_ok@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_6:
	xorl	%eax, %eax
	callq	_cleanup_test
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multiple signal: "

	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_signal_cb,4,2                  ## @signal_cb
	.comm	_ITIMER_REAL,4,2                ## @ITIMER_REAL
	.comm	_test_ok,8,3                    ## @test_ok
	.no_dead_strip	_test_multiplesignal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_multiplesignal
_test_multiplesignal:                   ; @test_multiplesignal
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_setup_test
Lloh2:
	adrp	x19, _SIGALRM@GOTPAGE
Lloh3:
	ldr	x19, [x19, _SIGALRM@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh4:
	adrp	x20, _signal_cb@GOTPAGE
Lloh5:
	ldr	x20, [x20, _signal_cb@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x0, sp, #24
	add	x3, sp, #24
	bl	_evsignal_set
	add	x0, sp, #24
	mov	x1, #0
	bl	_evsignal_add
	ldr	w1, [x19]
	ldr	w2, [x20]
	add	x0, sp, #16
	add	x3, sp, #16
	bl	_evsignal_set
	add	x0, sp, #16
	mov	x1, #0
	bl	_evsignal_add
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	xzr, [sp, #8]
	mov	w8, #34464
	movk	w8, #1, lsl #16
	str	w8, [sp]
Lloh6:
	adrp	x8, _ITIMER_REAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ITIMER_REAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, sp
	mov	x2, #0
	bl	_setitimer
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	bl	_event_dispatch
LBB0_2:
	add	x0, sp, #24
	bl	_evsignal_del
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _test_ok@GOTPAGE
Lloh10:
	ldr	x8, [x8, _test_ok@GOTPAGEOFF]
Lloh11:
	str	xzr, [x8]
LBB0_4:
	add	x0, sp, #16
	bl	_evsignal_del
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _test_ok@GOTPAGE
Lloh13:
	ldr	x8, [x8, _test_ok@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
LBB0_6:
	bl	_cleanup_test
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multiple signal: "

	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_signal_cb,4,2                  ; @signal_cb
	.comm	_ITIMER_REAL,4,2                ; @ITIMER_REAL
	.comm	_test_ok,8,3                    ; @test_ok
	.no_dead_strip	_test_multiplesignal
.subsections_via_symbols
