	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_signal_while_processing
_test_signal_while_processing:          ## @test_signal_while_processing
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_event_init
	movq	%rax, %r14
	movq	$0, -24(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_setup_test
	movq	_called@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_test_ok@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_signal_cb_swp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_signal_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_signal_add
	movq	_timeout_cb_swp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_evtimer_set
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_evtimer_add
	xorl	%eax, %eax
	callq	_event_dispatch
	movq	%r14, %rdi
	callq	_event_base_free
	xorl	%eax, %eax
	callq	_cleanup_test
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Receiving a signal while processing other signal: "

	.comm	_called,4,2                     ## @called
	.comm	_test_ok,4,2                    ## @test_ok
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_signal_cb_swp,4,2              ## @signal_cb_swp
	.comm	_timeout_cb_swp,4,2             ## @timeout_cb_swp
	.no_dead_strip	_test_signal_while_processing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_signal_while_processing
_test_signal_while_processing:          ; @test_signal_while_processing
	.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
	bl	_event_init
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_setup_test
Lloh2:
	adrp	x8, _called@GOTPAGE
Lloh3:
	ldr	x8, [x8, _called@GOTPAGEOFF]
	mov	w9, #-1
Lloh4:
	str	w9, [x8]
Lloh5:
	adrp	x8, _test_ok@GOTPAGE
Lloh6:
	ldr	x8, [x8, _test_ok@GOTPAGEOFF]
	mov	w9, #1
Lloh7:
	str	w9, [x8]
Lloh8:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _signal_cb_swp@GOTPAGE
Lloh12:
	ldr	x8, [x8, _signal_cb_swp@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x0, sp, #24
	mov	x3, #0
	bl	_signal_set
	add	x0, sp, #24
	mov	x1, #0
	bl	_signal_add
Lloh14:
	adrp	x8, _timeout_cb_swp@GOTPAGE
Lloh15:
	ldr	x8, [x8, _timeout_cb_swp@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x0, sp, #16
	add	x2, sp, #16
	bl	_evtimer_set
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_evtimer_add
	bl	_event_dispatch
	mov	x0, x19
	bl	_event_base_free
	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	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Receiving a signal while processing other signal: "

	.comm	_called,4,2                     ; @called
	.comm	_test_ok,4,2                    ; @test_ok
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_signal_cb_swp,4,2              ; @signal_cb_swp
	.comm	_timeout_cb_swp,4,2             ; @timeout_cb_swp
	.no_dead_strip	_test_signal_while_processing
.subsections_via_symbols
