	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	l___const.main.tv_onesec+16(%rip), %rax
	movq	%rax, -224(%rbp)
	movups	l___const.main.tv_onesec(%rip), %xmm0
	movaps	%xmm0, -240(%rbp)
	movq	l___const.main.tv_two5sec+16(%rip), %rax
	movq	%rax, -192(%rbp)
	movups	l___const.main.tv_two5sec(%rip), %xmm0
	movaps	%xmm0, -208(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_evutil_make_internal_pipe_
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	leaq	-64(%rbp), %rdi
	callq	_evutil_make_internal_pipe_
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	callq	_event_base_new
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	leaq	-240(%rbp), %rsi
	movq	%rax, %rdi
	callq	_event_base_init_common_timeout
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	-208(%rbp), %rsi
	movq	%r13, %rdi
	callq	_event_base_init_common_timeout
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	-56(%rbp), %esi
	movq	_EV_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rax, %r12
	movq	_callback1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rax, %rbx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %esi
	movq	_EV_READ@GOTPCREL(%rip), %r15
	movq	_EV_PERSIST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	orl	(%r15), %edx
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	-64(%rbp), %esi
	movl	(%r14), %edx
	orl	(%r12), %edx
	movq	_callback2@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	-60(%rbp), %esi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_evtimer_new
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_evtimer_new
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_evtimer_new
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edx
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	(%r12), %ecx
	movq	%r13, %rdi
	movl	$-1, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_event_new
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r12), %edx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_evsignal_new
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_event_add
	movq	-168(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	leaq	-240(%rbp), %r14
	movq	%r14, %rsi
	callq	_event_add
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_event_add
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	-176(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_event_add
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_event_add
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_event_add
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_event_add
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_event_add
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_event_add
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	leaq	-208(%rbp), %rsi
	callq	_event_add
	movq	_EV_READ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movl	$1, %edx
	callq	_event_active
	movq	_EV_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
	movq	_EV_TIMEOUT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	$1, %edx
	callq	_event_active
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_event_active
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_event_add
	leaq	-264(%rbp), %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	leaq	L_.str.2(%rip), %rdi
	callq	_puts
	movq	-248(%rbp), %rsi
	movl	-256(%rbp), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.4(%rip), %rdi
	callq	_puts
	movslq	-56(%rbp), %rdx
	leaq	L_.str.5(%rip), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movslq	-52(%rbp), %rdx
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
	movslq	-64(%rbp), %rdx
	leaq	L_.str.7(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movslq	-60(%rbp), %rdx
	leaq	L_.str.8(%rip), %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.9(%rip), %rbx
	movq	%rbx, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.10(%rip), %rbx
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.11(%rip), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	xorl	%ebx, %ebx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_printf
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.12(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.13(%rip), %rdi
	callq	_puts
	leaq	L_.str.14(%rip), %rdi
	movq	-160(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.15(%rip), %rdi
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	movslq	-52(%rbp), %rdx
	leaq	L_.str.16(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.17(%rip), %rdi
	callq	_puts
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_event_base_dump_events
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_event_free
	movq	%r12, %rdi
	callq	_event_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_event_free
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_event_free
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	callq	_event_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_event_free
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_event_free
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_event_free
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_event_free
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_event_free
	movq	%r15, %rdi
	callq	_event_free
	movq	%r14, %rdi
	callq	_event_free
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_event_free
	movq	%r13, %rdi
	callq	_event_base_free
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_sock_perror
	movl	$1, %ebx
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$2, %ebx
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	3                               ## @__const.main.tv_onesec
l___const.main.tv_onesec:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.quad	0                               ## 0x0
	.quad	0                               ## 0x0

	.p2align	3                               ## @__const.main.tv_two5sec
l___const.main.tv_two5sec:
	.long	2                               ## 0x2
	.long	500000                          ## 0x7a120
	.quad	0                               ## 0x0
	.quad	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"evutil_make_internal_pipe_"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Couldn't make event_base\n"

	.comm	_EV_WRITE,4,2                   ## @EV_WRITE
	.comm	_callback1,4,2                  ## @callback1
	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_EV_PERSIST,4,2                 ## @EV_PERSIST
	.comm	_callback2,4,2                  ## @callback2
	.comm	_SIGINT,8,3                     ## @SIGINT
	.comm	_EV_TIMEOUT,4,2                 ## @EV_TIMEOUT
L_.str.2:                               ## @.str.2
	.asciz	"=====expected"

L_.str.3:                               ## @.str.3
	.asciz	"Now= %ld.%06d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Inserted:"

L_.str.5:                               ## @.str.5
	.asciz	"  %p [fd  %ld] Write\n"

L_.str.6:                               ## @.str.6
	.asciz	"  %p [fd  %ld] Read Persist Timeout=T+1\n"

L_.str.7:                               ## @.str.7
	.asciz	"  %p [fd  %ld] Write Persist Timeout=T+1\n"

L_.str.8:                               ## @.str.8
	.asciz	"  %p [fd  %ld] Read Timeout=T+2.5\n"

L_.str.9:                               ## @.str.9
	.asciz	"  %p [fd  -1] Timeout=T+1\n"

L_.str.10:                              ## @.str.10
	.asciz	"  %p [fd  -1] Persist Timeout=T+2.5\n"

L_.str.11:                              ## @.str.11
	.asciz	"  %p [fd  -1] Persist Timeout=T+1\n"

L_.str.12:                              ## @.str.12
	.asciz	"  %p [sig %d] Signal Persist\n"

L_.str.13:                              ## @.str.13
	.asciz	"Active:"

L_.str.14:                              ## @.str.14
	.asciz	"  %p [fd  -1, priority=0] Read active\n"

L_.str.15:                              ## @.str.15
	.asciz	"  %p [fd  -1, priority=0] Read Write Timeout active\n"

L_.str.16:                              ## @.str.16
	.asciz	"  %p [fd  %ld, priority=0] Read active\n"

L_.str.17:                              ## @.str.17
	.asciz	"======received"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_N_EVENTS,4,2                   ## @N_EVENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, l___const.main.tv_onesec@PAGE
Lloh4:
	add	x8, x8, l___const.main.tv_onesec@PAGEOFF
	ldr	q0, [x8]
	stur	q0, [x29, #-144]
	ldr	x8, [x8, #16]
	stur	x8, [x29, #-128]
Lloh5:
	adrp	x8, l___const.main.tv_two5sec@PAGE
Lloh6:
	add	x8, x8, l___const.main.tv_two5sec@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #144]
	ldr	x8, [x8, #16]
	str	x8, [sp, #160]
	sub	x0, x29, #104
	bl	_evutil_make_internal_pipe_
	tbnz	x0, #63, LBB0_4
; %bb.1:
	sub	x0, x29, #112
	bl	_evutil_make_internal_pipe_
	tbnz	x0, #63, LBB0_4
; %bb.2:
	bl	_event_base_new
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
	sub	x1, x29, #144
	bl	_event_base_init_common_timeout
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	add	x1, sp, #144
	mov	x0, x19
	bl	_event_base_init_common_timeout
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	ldur	w1, [x29, #-104]
Lloh7:
	adrp	x8, _EV_WRITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EV_WRITE@GOTPAGEOFF]
	ldr	w2, [x8]
	mov	x21, x8
Lloh9:
	adrp	x22, _callback1@GOTPAGE
Lloh10:
	ldr	x22, [x22, _callback1@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x4, #0
	bl	_event_new
	mov	x28, x0
	ldur	w1, [x29, #-100]
Lloh11:
	adrp	x9, _EV_READ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EV_READ@GOTPAGEOFF]
	ldr	w8, [x9]
	mov	x23, x9
Lloh13:
	adrp	x20, _EV_PERSIST@GOTPAGE
Lloh14:
	ldr	x20, [x20, _EV_PERSIST@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w2, w9, w8
	ldr	w3, [x22]
	mov	x0, x19
	mov	x4, #0
	bl	_event_new
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	ldur	w1, [x29, #-112]
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w2, w9, w8
Lloh15:
	adrp	x24, _callback2@GOTPAGE
Lloh16:
	ldr	x24, [x24, _callback2@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x4, #0
	bl	_event_new
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	ldur	w1, [x29, #-108]
	ldr	w2, [x23]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x4, #0
	bl	_event_new
	mov	x23, x0
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, #0
	bl	_evtimer_new
	str	x0, [sp, #112]                  ; 8-byte Folded Spill
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, #0
	bl	_evtimer_new
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, #0
	bl	_evtimer_new
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w2, [x20]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w1, #-1
	mov	x4, #0
	bl	_event_new
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	ldr	w2, [x20]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w1, #-1
	mov	x4, #0
	bl	_event_new
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	ldr	w2, [x20]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w1, #-1
	mov	x4, #0
	bl	_event_new
	mov	x27, x0
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w3, [x22]
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #0
	mov	x4, #0
	bl	_event_new
	mov	x25, x0
	ldr	w3, [x24]
	mov	x0, x19
	mov	w1, #-1
	mov	w2, #0
	mov	x4, #0
	bl	_event_new
	mov	x26, x0
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
Lloh17:
	adrp	x8, _SIGINT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	ldr	w2, [x24]
	mov	x0, x19
	mov	x3, #0
	bl	_evsignal_new
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	str	x28, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x28
	mov	x1, #0
	bl	_event_add
	sub	x1, x29, #144
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_event_add
	ldp	x22, x20, [sp, #64]             ; 16-byte Folded Reload
	mov	x0, x20
	mov	x1, x22
	bl	_event_add
	str	x23, [sp, #80]                  ; 8-byte Folded Spill
	mov	x0, x23
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_event_add
	ldr	x0, [sp, #112]                  ; 8-byte Folded Reload
	mov	x1, x22
	bl	_event_add
	ldr	x0, [sp, #104]                  ; 8-byte Folded Reload
	mov	x1, x22
	bl	_event_add
	sub	x1, x29, #144
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x24
	bl	_event_add
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_event_add
	ldr	x0, [sp, #96]                   ; 8-byte Folded Reload
	mov	x1, x22
	bl	_event_add
	add	x1, sp, #144
	mov	x0, x27
	bl	_event_add
Lloh20:
	adrp	x27, _EV_READ@GOTPAGE
Lloh21:
	ldr	x27, [x27, _EV_READ@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x25
	mov	x23, x25
	mov	w2, #1
	bl	_event_active
	ldr	w8, [x27]
Lloh22:
	adrp	x9, _EV_WRITE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EV_WRITE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh25:
	adrp	x9, _EV_TIMEOUT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _EV_TIMEOUT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x26
	mov	w2, #1
	bl	_event_active
	ldr	w1, [x27]
	mov	x0, x21
	mov	x26, x21
	mov	w2, #1
	bl	_event_active
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x27
	mov	x1, #0
	bl	_event_add
	add	x0, sp, #120
	mov	x1, #0
	bl	_evutil_gettimeofday
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_puts
	ldp	x8, x1, [sp, #128]
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_puts
	ldursw	x8, [x29, #-104]
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x28
	bl	_printf
	ldursw	x8, [x29, #-100]
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.6@PAGE
Lloh37:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x21
	bl	_printf
	ldursw	x8, [x29, #-112]
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str.7@PAGE
Lloh39:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
	bl	_printf
	ldursw	x8, [x29, #-108]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	ldr	x1, [sp, #80]                   ; 8-byte Folded Reload
	bl	_printf
Lloh42:
	adrp	x25, l_.str.9@PAGE
Lloh43:
	add	x25, x25, l_.str.9@PAGEOFF
	mov	x0, x25
	ldr	x1, [sp, #112]                  ; 8-byte Folded Reload
	bl	_printf
	mov	x0, x25
	ldr	x1, [sp, #104]                  ; 8-byte Folded Reload
	bl	_printf
	mov	x0, x25
	mov	x1, x24
	mov	x22, x24
	bl	_printf
Lloh44:
	adrp	x25, l_.str.10@PAGE
Lloh45:
	add	x25, x25, l_.str.10@PAGEOFF
	mov	x0, x25
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
	mov	x24, x1
	bl	_printf
Lloh46:
	adrp	x0, l_.str.11@PAGE
Lloh47:
	add	x0, x0, l_.str.11@PAGEOFF
	ldr	x28, [sp, #96]                  ; 8-byte Folded Reload
	mov	x1, x28
	bl	_printf
	mov	x0, x25
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x25
	bl	_printf
Lloh48:
	adrp	x8, _SIGINT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.12@PAGE
Lloh52:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x27
	bl	_printf
Lloh53:
	adrp	x0, l_.str.13@PAGE
Lloh54:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_puts
Lloh55:
	adrp	x0, l_.str.14@PAGE
Lloh56:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	x20, x23
	mov	x1, x23
	bl	_printf
Lloh57:
	adrp	x0, l_.str.15@PAGE
Lloh58:
	add	x0, x0, l_.str.15@PAGEOFF
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_printf
	ldursw	x8, [x29, #-100]
	str	x8, [sp]
Lloh59:
	adrp	x0, l_.str.16@PAGE
Lloh60:
	add	x0, x0, l_.str.16@PAGEOFF
	mov	x1, x21
	bl	_printf
Lloh61:
	adrp	x0, l_.str.17@PAGE
Lloh62:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_puts
Lloh63:
	adrp	x8, _stdout@GOTPAGE
Lloh64:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_event_base_dump_events
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_event_free
	mov	x0, x21
	bl	_event_free
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_event_free
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_event_free
	ldr	x0, [sp, #112]                  ; 8-byte Folded Reload
	bl	_event_free
	ldr	x0, [sp, #104]                  ; 8-byte Folded Reload
	bl	_event_free
	mov	x0, x22
	bl	_event_free
	mov	x0, x24
	bl	_event_free
	mov	x0, x28
	bl	_event_free
	mov	x0, x25
	bl	_event_free
	mov	x0, x20
	bl	_event_free
	mov	x0, x23
	bl	_event_free
	mov	x0, x27
	bl	_event_free
	mov	x0, x19
	bl	_event_base_free
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh66:
	adrp	x0, l_.str@PAGE
Lloh67:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sock_perror
	mov	w0, #1
LBB0_5:
	ldur	x8, [x29, #-96]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.6:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_7:
Lloh71:
	adrp	x8, _stderr@GOTPAGE
Lloh72:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
Lloh74:
	adrp	x1, l_.str.1@PAGE
Lloh75:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #2
	b	LBB0_5
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @__const.main.tv_onesec
l___const.main.tv_onesec:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.quad	0                               ; 0x0
	.quad	0                               ; 0x0

	.p2align	3                               ; @__const.main.tv_two5sec
l___const.main.tv_two5sec:
	.long	2                               ; 0x2
	.long	500000                          ; 0x7a120
	.quad	0                               ; 0x0
	.quad	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"evutil_make_internal_pipe_"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Couldn't make event_base\n"

	.comm	_EV_WRITE,4,2                   ; @EV_WRITE
	.comm	_callback1,4,2                  ; @callback1
	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EV_PERSIST,4,2                 ; @EV_PERSIST
	.comm	_callback2,4,2                  ; @callback2
	.comm	_SIGINT,8,3                     ; @SIGINT
	.comm	_EV_TIMEOUT,4,2                 ; @EV_TIMEOUT
l_.str.2:                               ; @.str.2
	.asciz	"=====expected"

l_.str.3:                               ; @.str.3
	.asciz	"Now= %ld.%06d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Inserted:"

l_.str.5:                               ; @.str.5
	.asciz	"  %p [fd  %ld] Write\n"

l_.str.6:                               ; @.str.6
	.asciz	"  %p [fd  %ld] Read Persist Timeout=T+1\n"

l_.str.7:                               ; @.str.7
	.asciz	"  %p [fd  %ld] Write Persist Timeout=T+1\n"

l_.str.8:                               ; @.str.8
	.asciz	"  %p [fd  %ld] Read Timeout=T+2.5\n"

l_.str.9:                               ; @.str.9
	.asciz	"  %p [fd  -1] Timeout=T+1\n"

l_.str.10:                              ; @.str.10
	.asciz	"  %p [fd  -1] Persist Timeout=T+2.5\n"

l_.str.11:                              ; @.str.11
	.asciz	"  %p [fd  -1] Persist Timeout=T+1\n"

l_.str.12:                              ; @.str.12
	.asciz	"  %p [sig %d] Signal Persist\n"

l_.str.13:                              ; @.str.13
	.asciz	"Active:"

l_.str.14:                              ; @.str.14
	.asciz	"  %p [fd  -1, priority=0] Read active\n"

l_.str.15:                              ; @.str.15
	.asciz	"  %p [fd  -1, priority=0] Read Write Timeout active\n"

l_.str.16:                              ; @.str.16
	.asciz	"  %p [fd  %ld, priority=0] Read active\n"

l_.str.17:                              ; @.str.17
	.asciz	"======received"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_N_EVENTS,4,2                   ; @N_EVENTS
.subsections_via_symbols
