	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evthread_set_lock_callbacks    ## -- Begin function evthread_set_lock_callbacks
	.p2align	4, 0x90
_evthread_set_lock_callbacks:           ## @evthread_set_lock_callbacks
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_evthread_get_lock_callbacks
	movq	%rax, %r14
	movq	(%rax), %rax
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.4:
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	8(%r14), %rcx
	cmpq	8(%rbx), %rcx
	jne	LBB0_11
## %bb.6:
	movq	16(%r14), %rcx
	cmpq	16(%rbx), %rcx
	jne	LBB0_11
## %bb.7:
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.8:
	movq	24(%r14), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_11
## %bb.9:
	movq	32(%r14), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_11
## %bb.10:
	movq	40(%r14), %rax
	xorl	%r15d, %r15d
	cmpq	40(%rbx), %rax
	je	LBB0_16
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	callq	_event_warnx
	movl	$-1, %r15d
	jmp	LBB0_16
LBB0_1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_event_warnx
LBB0_3:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_16:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	$-1, %r15d
	cmpq	$0, (%rbx)
	je	LBB0_16
## %bb.13:
	cmpq	$0, 24(%rbx)
	je	LBB0_16
## %bb.14:
	cmpq	$0, 32(%rbx)
	je	LBB0_16
## %bb.15:
	cmpq	$0, 40(%rbx)
	je	LBB0_16
## %bb.17:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_event_global_setup_locks_      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying to disable lock functions after they have been set up will probaby not work."

L_.str.1:                               ## @.str.1
	.asciz	"Can't change lock callbacks once they have been initialized."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evthread_set_lock_callbacks    ; -- Begin function evthread_set_lock_callbacks
	.p2align	2
_evthread_set_lock_callbacks:           ; @evthread_set_lock_callbacks
	.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	x20, x0
	bl	_evthread_get_lock_callbacks
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x20, LBB0_10
; %bb.1:
	cbz	x8, LBB0_15
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	x10, [x20, #8]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.3:
	ldr	x9, [x19, #16]
	ldr	x10, [x20, #16]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.4:
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x19, #24]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x19, #32]
	ldr	x9, [x20, #32]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x19, #40]
	ldr	x9, [x20, #40]
	cmp	x8, x9
	b.eq	LBB0_13
LBB0_8:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_event_warnx
LBB0_9:
	mov	w0, #-1
	b	LBB0_14
LBB0_10:
	cbz	x8, LBB0_12
; %bb.11:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_event_warnx
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.16:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_9
; %bb.17:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_9
; %bb.18:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_9
; %bb.19:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_event_global_setup_locks_
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying to disable lock functions after they have been set up will probaby not work."

l_.str.1:                               ; @.str.1
	.asciz	"Can't change lock callbacks once they have been initialized."

.subsections_via_symbols
