	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_unpin                      ## -- Begin function dsa_unpin
	.p2align	4, 0x90
_dsa_unpin:                             ## @dsa_unpin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_DSA_AREA_LOCK
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_LWLockAcquire
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpl	$2, (%rax)
	setge	%dil
	callq	_Assert
	movq	(%rbx), %rax
	cmpl	$0, 4(%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_DSA_AREA_LOCK
	movl	%eax, %edi
	callq	_LWLockRelease
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	(%rbx), %rax
LBB0_2:
	movl	$0, 4(%rax)
	decl	(%rax)
	movq	%rbx, %rdi
	callq	_DSA_AREA_LOCK
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dsa_area not pinned"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsa_unpin                      ; -- Begin function dsa_unpin
	.p2align	2
_dsa_unpin:                             ; @dsa_unpin
	.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
	bl	_DSA_AREA_LOCK
Lloh0:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	cbnz	w9, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_DSA_AREA_LOCK
	bl	_LWLockRelease
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x8, [x19]
LBB0_2:
	ldr	w9, [x8]
	sub	w9, w9, #1
	stp	w9, wzr, [x8]
	mov	x0, x19
	bl	_DSA_AREA_LOCK
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_LWLockRelease
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dsa_area not pinned"

.subsections_via_symbols
