	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evthread_enable_lock_debugging ## -- Begin function evthread_enable_lock_debugging
	.p2align	4, 0x90
_evthread_enable_lock_debugging:        ## @evthread_enable_lock_debugging
	.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
	movq	_EVTHREAD_LOCK_API_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_EVTHREAD_LOCKTYPE_RECURSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_debug_lock_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_debug_lock_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_debug_lock_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_debug_lock_unlock@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -24(%rbp)
	movq	_evthread_lock_debugging_enabled_@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_original_lock_fns_@GOTPCREL(%rip), %rdi
	movq	_evthread_lock_fns_@GOTPCREL(%rip), %r14
	movq	%r14, %rsi
	movl	$28, %edx
	callq	_memcpy
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	$28, %edx
	callq	_memcpy
	movq	_original_cond_fns_@GOTPCREL(%rip), %rdi
	movq	_evthread_cond_fns_@GOTPCREL(%rip), %r14
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_debug_cond_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, (%rbx)
	xorl	%edi, %edi
	callq	_event_global_setup_locks_
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVTHREAD_LOCK_API_VERSION,4,2  ## @EVTHREAD_LOCK_API_VERSION
	.comm	_EVTHREAD_LOCKTYPE_RECURSIVE,4,2 ## @EVTHREAD_LOCKTYPE_RECURSIVE
	.comm	_debug_lock_alloc,4,2           ## @debug_lock_alloc
	.comm	_debug_lock_free,4,2            ## @debug_lock_free
	.comm	_debug_lock_lock,4,2            ## @debug_lock_lock
	.comm	_debug_lock_unlock,4,2          ## @debug_lock_unlock
	.comm	_evthread_lock_debugging_enabled_,4,2 ## @evthread_lock_debugging_enabled_
	.comm	_original_lock_fns_,28,2        ## @original_lock_fns_
	.comm	_evthread_lock_fns_,28,2        ## @evthread_lock_fns_
	.comm	_original_cond_fns_,28,2        ## @original_cond_fns_
	.comm	_evthread_cond_fns_,28,2        ## @evthread_cond_fns_
	.comm	_debug_cond_wait,4,2            ## @debug_cond_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evthread_enable_lock_debugging ; -- Begin function evthread_enable_lock_debugging
	.p2align	2
_evthread_enable_lock_debugging:        ; @evthread_enable_lock_debugging
	.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
Lloh0:
	adrp	x8, _EVTHREAD_LOCK_API_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVTHREAD_LOCK_API_VERSION@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EVTHREAD_LOCKTYPE_RECURSIVE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
Lloh6:
	adrp	x8, _debug_lock_alloc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _debug_lock_alloc@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _debug_lock_free@GOTPAGE
Lloh10:
	ldr	x9, [x9, _debug_lock_free@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
Lloh12:
	adrp	x8, _debug_lock_lock@GOTPAGE
Lloh13:
	ldr	x8, [x8, _debug_lock_lock@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _debug_lock_unlock@GOTPAGE
Lloh16:
	ldr	x9, [x9, _debug_lock_unlock@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	str	wzr, [sp, #24]
Lloh18:
	adrp	x20, _evthread_lock_debugging_enabled_@GOTPAGE
Lloh19:
	ldr	x20, [x20, _evthread_lock_debugging_enabled_@GOTPAGEOFF]
	ldr	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh20:
	adrp	x0, _original_lock_fns_@GOTPAGE
Lloh21:
	ldr	x0, [x0, _original_lock_fns_@GOTPAGEOFF]
Lloh22:
	adrp	x19, _evthread_lock_fns_@GOTPAGE
Lloh23:
	ldr	x19, [x19, _evthread_lock_fns_@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #28
	bl	_memcpy
	mov	x1, sp
	mov	x0, x19
	mov	w2, #28
	bl	_memcpy
Lloh24:
	adrp	x0, _original_cond_fns_@GOTPAGE
Lloh25:
	ldr	x0, [x0, _original_cond_fns_@GOTPAGEOFF]
Lloh26:
	adrp	x19, _evthread_cond_fns_@GOTPAGE
Lloh27:
	ldr	x19, [x19, _evthread_cond_fns_@GOTPAGEOFF]
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
Lloh28:
	adrp	x8, _debug_cond_wait@GOTPAGE
Lloh29:
	ldr	x8, [x8, _debug_cond_wait@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w8, #1
	str	w8, [x20]
	mov	w0, #0
	bl	_event_global_setup_locks_
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EVTHREAD_LOCK_API_VERSION,4,2  ; @EVTHREAD_LOCK_API_VERSION
	.comm	_EVTHREAD_LOCKTYPE_RECURSIVE,4,2 ; @EVTHREAD_LOCKTYPE_RECURSIVE
	.comm	_debug_lock_alloc,4,2           ; @debug_lock_alloc
	.comm	_debug_lock_free,4,2            ; @debug_lock_free
	.comm	_debug_lock_lock,4,2            ; @debug_lock_lock
	.comm	_debug_lock_unlock,4,2          ; @debug_lock_unlock
	.comm	_evthread_lock_debugging_enabled_,4,2 ; @evthread_lock_debugging_enabled_
	.comm	_original_lock_fns_,28,2        ; @original_lock_fns_
	.comm	_evthread_lock_fns_,28,2        ; @evthread_lock_fns_
	.comm	_original_cond_fns_,28,2        ; @original_cond_fns_
	.comm	_evthread_cond_fns_,28,2        ; @evthread_cond_fns_
	.comm	_debug_cond_wait,4,2            ; @debug_cond_wait
.subsections_via_symbols
