	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function def_lock_release
_def_lock_release:                      ## @def_lock_release
	.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
	movq	_WAFLAG@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	_wnested@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setg	%dil
	callq	_assert
	xorl	%esi, %esi
	subl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_atomic_add_rel_int
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_atomic_fetchadd_int
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.4:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_oldsigmask@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sigprocmask                    ## TAILCALL
LBB0_3:
	movq	_RC_INCR@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_add_rel_int             ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WAFLAG,4,2                     ## @WAFLAG
	.comm	_RC_INCR,4,2                    ## @RC_INCR
	.comm	_wnested,8,3                    ## @wnested
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_oldsigmask,4,2                 ## @oldsigmask
	.no_dead_strip	_def_lock_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function def_lock_release
_def_lock_release:                      ; @def_lock_release
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _WAFLAG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WAFLAG@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x20, _wnested@GOTPAGE
Lloh3:
	ldr	x20, [x20, _wnested@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, gt
	bl	_assert
	ldr	w8, [x21]
	neg	w1, w8
	mov	x0, x19
	bl	_atomic_add_rel_int
	mov	x0, x20
	mov	w1, #-1
	bl	_atomic_fetchadd_int
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.2:
Lloh4:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, _oldsigmask@GOTPAGE
Lloh8:
	ldr	x1, [x1, _oldsigmask@GOTPAGEOFF]
	mov	x2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sigprocmask
LBB0_3:
Lloh9:
	adrp	x8, _RC_INCR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RC_INCR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_atomic_add_rel_int
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WAFLAG,4,2                     ; @WAFLAG
	.comm	_RC_INCR,4,2                    ; @RC_INCR
	.comm	_wnested,8,3                    ; @wnested
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_oldsigmask,4,2                 ; @oldsigmask
	.no_dead_strip	_def_lock_release
.subsections_via_symbols
