	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_locked_file_path           ## -- Begin function get_locked_file_path
	.p2align	4, 0x90
_get_locked_file_path:                  ## @get_locked_file_path
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -32(%rbp)
	movl	(%rdi), %edi
	callq	_get_tempfile_path
	leaq	-32(%rbp), %rdi
	movl	%eax, %esi
	callq	_strbuf_addstr
	movq	-32(%rbp), %rdi
	movq	_LOCK_SUFFIX_LEN@GOTPCREL(%rip), %rbx
	subq	(%rbx), %rdi
	jle	LBB0_2
## %bb.1:
	addq	-24(%rbp), %rdi
	movq	_LOCK_SUFFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
LBB0_3:
	movq	-32(%rbp), %rsi
	subq	(%rbx), %rsi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_setlen
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_LOCK_SUFFIX_LEN,8,3            ## @LOCK_SUFFIX_LEN
	.comm	_LOCK_SUFFIX,4,2                ## @LOCK_SUFFIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_locked_file_path() called for malformed lock object"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_locked_file_path           ; -- Begin function get_locked_file_path
	.p2align	2
_get_locked_file_path:                  ; @get_locked_file_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	w0, [x0]
	bl	_get_tempfile_path
	mov	x1, x0
	mov	x0, sp
	bl	_strbuf_addstr
	ldr	x8, [sp]
Lloh3:
	adrp	x19, _LOCK_SUFFIX_LEN@GOTPAGE
Lloh4:
	ldr	x19, [x19, _LOCK_SUFFIX_LEN@GOTPAGEOFF]
	ldr	x9, [x19]
	subs	x8, x8, x9
	b.le	LBB0_2
; %bb.1:
	ldr	x9, [sp, #8]
	add	x0, x8, x9
Lloh5:
	adrp	x8, _LOCK_SUFFIX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOCK_SUFFIX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_strcmp
	cbz	x0, LBB0_3
LBB0_2:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_3:
	ldr	x8, [sp]
	ldr	x9, [x19]
	sub	x1, x8, x9
	mov	x0, sp
	bl	_strbuf_setlen
	mov	x0, sp
	mov	x1, #0
	bl	_strbuf_detach
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_LOCK_SUFFIX_LEN,8,3            ; @LOCK_SUFFIX_LEN
	.comm	_LOCK_SUFFIX,4,2                ; @LOCK_SUFFIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_locked_file_path() called for malformed lock object"

.subsections_via_symbols
