	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	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_9
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_evthread_enable_lock_debugging
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_event_enable_debug_mode
	movq	_libevent_tests_running_in_debug_mode@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EVENT_DBG_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_event_enable_debug_logging
LBB0_7:
	movq	_testaliases@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tinytest_set_aliases
	movq	_test_weakrand_state@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_evutil_weakrand_seed_
	movq	_testgroups@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_tinytest_main
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_libevent_global_shutdown
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EVENT_NO_DEBUG_LOCKS"

L_.str.1:                               ## @.str.1
	.asciz	"EVENT_DEBUG_MODE"

	.comm	_libevent_tests_running_in_debug_mode,4,2 ## @libevent_tests_running_in_debug_mode
L_.str.2:                               ## @.str.2
	.asciz	"EVENT_DEBUG_LOGGING_ALL"

	.comm	_EVENT_DBG_ALL,4,2              ## @EVENT_DBG_ALL
	.comm	_testaliases,4,2                ## @testaliases
	.comm	_test_weakrand_state,4,2        ## @test_weakrand_state
	.comm	_testgroups,4,2                 ## @testgroups
.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:
	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, x1
	mov	x20, x0
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_8
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_evthread_enable_lock_debugging
LBB0_3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_5
; %bb.4:
	bl	_event_enable_debug_mode
Lloh13:
	adrp	x8, _libevent_tests_running_in_debug_mode@GOTPAGE
Lloh14:
	ldr	x8, [x8, _libevent_tests_running_in_debug_mode@GOTPAGEOFF]
	mov	w9, #1
Lloh15:
	str	w9, [x8]
LBB0_5:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _EVENT_DBG_ALL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EVENT_DBG_ALL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_event_enable_debug_logging
LBB0_7:
Lloh21:
	adrp	x8, _testaliases@GOTPAGE
Lloh22:
	ldr	x8, [x8, _testaliases@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_tinytest_set_aliases
Lloh24:
	adrp	x0, _test_weakrand_state@GOTPAGE
Lloh25:
	ldr	x0, [x0, _test_weakrand_state@GOTPAGEOFF]
	mov	w1, #0
	bl	_evutil_weakrand_seed_
Lloh26:
	adrp	x8, _testgroups@GOTPAGE
Lloh27:
	ldr	x8, [x8, _testgroups@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_tinytest_main
	cbz	x0, LBB0_9
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	bl	_libevent_global_shutdown
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIG_ERR,8,3                    ; @SIG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EVENT_NO_DEBUG_LOCKS"

l_.str.1:                               ; @.str.1
	.asciz	"EVENT_DEBUG_MODE"

	.comm	_libevent_tests_running_in_debug_mode,4,2 ; @libevent_tests_running_in_debug_mode
l_.str.2:                               ; @.str.2
	.asciz	"EVENT_DEBUG_LOGGING_ALL"

	.comm	_EVENT_DBG_ALL,4,2              ; @EVENT_DBG_ALL
	.comm	_testaliases,4,2                ; @testaliases
	.comm	_test_weakrand_state,4,2        ; @test_weakrand_state
	.comm	_testgroups,4,2                 ; @testgroups
.subsections_via_symbols
