	.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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIG_ERR@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pair@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	xorl	%edx, %edx
	callq	_evutil_socketpair
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_event_init
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	_EV_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_write_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %r8
	callq	_event_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_event_add
	xorl	%eax, %eax
	callq	_event_dispatch
	movq	_test_okay@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIG_ERR,8,3                    ## @SIG_ERR
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_pair,8,3                       ## @pair
	.comm	_EV_WRITE,4,2                   ## @EV_WRITE
	.comm	_write_cb,4,2                   ## @write_cb
	.comm	_test_okay,4,2                  ## @test_okay
.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, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
Lloh6:
	adrp	x8, _SIG_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIG_ERR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.1:
Lloh9:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x19, _pair@GOTPAGE
Lloh16:
	ldr	x19, [x19, _pair@GOTPAGEOFF]
	ldr	x3, [x19]
	mov	w2, #0
	bl	_evutil_socketpair
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.2:
	bl	_event_init
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
Lloh17:
	adrp	x8, _EV_WRITE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EV_WRITE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _write_cb@GOTPAGE
Lloh21:
	ldr	x8, [x8, _write_cb@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	add	x0, sp, #8
	add	x4, sp, #8
	bl	_event_set
	add	x0, sp, #8
	mov	x1, #0
	bl	_event_add
	bl	_event_dispatch
Lloh23:
	adrp	x8, _test_okay@GOTPAGE
Lloh24:
	ldr	x8, [x8, _test_okay@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_pair,8,3                       ; @pair
	.comm	_EV_WRITE,4,2                   ; @EV_WRITE
	.comm	_write_cb,4,2                   ; @write_cb
	.comm	_test_okay,4,2                  ; @test_okay
.subsections_via_symbols
