	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_refs_unlock             ## -- Begin function packed_refs_unlock
	.p2align	4, 0x90
_packed_refs_unlock:                    ## @packed_refs_unlock
	.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	_REF_STORE_READ@GOTPCREL(%rip), %rax
	movq	_REF_STORE_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_packed_downcast
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_is_lock_file_locked
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_BUG
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rollback_lock_file             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REF_STORE_READ,4,2             ## @REF_STORE_READ
	.comm	_REF_STORE_WRITE,4,2            ## @REF_STORE_WRITE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"packed_refs_unlock"

L_.str.1:                               ## @.str.1
	.asciz	"packed_refs_unlock() called when not locked"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_packed_refs_unlock             ; -- Begin function packed_refs_unlock
	.p2align	2
_packed_refs_unlock:                    ; @packed_refs_unlock
	.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
Lloh0:
	adrp	x8, _REF_STORE_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REF_STORE_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _REF_STORE_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REF_STORE_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_packed_downcast
	mov	x19, x0
	bl	_is_lock_file_locked
	cbnz	w0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BUG
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rollback_lock_file
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_REF_STORE_READ,4,2             ; @REF_STORE_READ
	.comm	_REF_STORE_WRITE,4,2            ; @REF_STORE_WRITE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"packed_refs_unlock"

l_.str.1:                               ; @.str.1
	.asciz	"packed_refs_unlock() called when not locked"

.subsections_via_symbols
