	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_global_setup_locks_      ## -- Begin function event_global_setup_locks_
	.p2align	4, 0x90
_event_global_setup_locks_:             ## @event_global_setup_locks_
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_event_debug_map_lock_@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_EVTHREAD_SETUP_GLOBAL_LOCK
	movl	%r14d, %edi
	callq	_evsig_global_setup_locks_
	movl	$-1, %ebx
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movl	%r14d, %edi
	callq	_evutil_global_setup_locks_
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	movl	%r14d, %edi
	callq	_evutil_secure_rng_global_setup_locks_
	movq	%rax, %rbx
	sarq	$63, %rbx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_event_debug_map_lock_,4,2      ## @event_debug_map_lock_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_event_global_setup_locks_      ; -- Begin function event_global_setup_locks_
	.p2align	2
_event_global_setup_locks_:             ; @event_global_setup_locks_
	.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, x0
Lloh0:
	adrp	x8, _event_debug_map_lock_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _event_debug_map_lock_@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_EVTHREAD_SETUP_GLOBAL_LOCK
	mov	x0, x19
	bl	_evsig_global_setup_locks_
	tbnz	x0, #63, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_evutil_global_setup_locks_
	tbnz	x0, #63, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_evutil_secure_rng_global_setup_locks_
	asr	x0, x0, #63
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_event_debug_map_lock_,4,2      ; @event_debug_map_lock_
.subsections_via_symbols
