	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_marks
_dump_marks:                            ## @dump_marks
	.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	_LOCK_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_export_marks_file@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movq	_import_marks_file@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_import_marks_file_done@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
LBB0_3:
	leaq	-32(%rbp), %rdi
	xorl	%edx, %edx
	callq	_hold_lock_file_for_update
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdi
	callq	_fdopen_lock_file
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_marks@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_dump_marks_helper
	leaq	-32(%rbp), %rdi
	callq	_commit_lock_file
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movl	(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_9
LBB0_4:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
LBB0_9:
	callq	_error_errno
	jmp	LBB0_10
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-32(%rbp), %rdi
	callq	_rollback_lock_file
	movl	(%rbx), %r14d
	movl	%r15d, %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_error
LBB0_10:
	movq	_failure@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCK_INIT,4,2                  ## @LOCK_INIT
	.comm	_export_marks_file,4,2          ## @export_marks_file
	.comm	_import_marks_file,8,3          ## @import_marks_file
	.comm	_import_marks_file_done,4,2     ## @import_marks_file_done
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to write marks file %s"

	.comm	_failure,4,2                    ## @failure
L_.str.1:                               ## @.str.1
	.asciz	"w"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"Unable to write marks file %s: %s"

	.comm	_marks,4,2                      ## @marks
L_.str.3:                               ## @.str.3
	.asciz	"Unable to write file %s"

	.no_dead_strip	_dump_marks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_marks
_dump_marks:                            ; @dump_marks
	.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, _LOCK_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCK_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x20, _export_marks_file@GOTPAGE
Lloh4:
	ldr	x20, [x20, _export_marks_file@GOTPAGEOFF]
	ldr	w1, [x20]
	cbz	w1, LBB0_10
; %bb.1:
Lloh5:
	adrp	x8, _import_marks_file@GOTPAGE
Lloh6:
	ldr	x8, [x8, _import_marks_file@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _import_marks_file_done@GOTPAGE
Lloh9:
	ldr	x9, [x9, _import_marks_file_done@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_10
; %bb.2:
	add	x0, sp, #8
	mov	w2, #0
	bl	_hold_lock_file_for_update
	tbnz	x0, #63, LBB0_6
; %bb.3:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_fdopen_lock_file
	cbz	x0, LBB0_8
; %bb.4:
Lloh13:
	adrp	x8, _marks@GOTPAGE
Lloh14:
	ldr	x8, [x8, _marks@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_dump_marks_helper
	add	x0, sp, #8
	bl	_commit_lock_file
	cbz	x0, LBB0_10
; %bb.5:
	ldr	w1, [x20]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_6:
	ldr	w1, [x20]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_error_errno
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
	add	x0, sp, #8
	bl	_rollback_lock_file
	ldr	w20, [x20]
	mov	x0, x19
	bl	_strerror
	mov	x2, x0
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_error
LBB0_9:
Lloh25:
	adrp	x8, _failure@GOTPAGE
Lloh26:
	ldr	x8, [x8, _failure@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
LBB0_10:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCK_INIT,4,2                  ; @LOCK_INIT
	.comm	_export_marks_file,4,2          ; @export_marks_file
	.comm	_import_marks_file,8,3          ; @import_marks_file
	.comm	_import_marks_file_done,4,2     ; @import_marks_file_done
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to write marks file %s"

	.comm	_failure,4,2                    ; @failure
l_.str.1:                               ; @.str.1
	.asciz	"w"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"Unable to write marks file %s: %s"

	.comm	_marks,4,2                      ; @marks
l_.str.3:                               ; @.str.3
	.asciz	"Unable to write file %s"

	.no_dead_strip	_dump_marks
.subsections_via_symbols
