	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regenerate_marks
_regenerate_marks:                      ## @regenerate_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_marksfilename@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_xfopen
	movq	%rax, %rbx
	movq	_note2mark_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_for_each_note
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_die
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_fclose                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_marksfilename,4,2              ## @marksfilename
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w+"

	.comm	_note2mark_cb,4,2               ## @note2mark_cb
L_.str.1:                               ## @.str.1
	.asciz	"Regeneration of marks failed, returned %d."

	.no_dead_strip	_regenerate_marks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regenerate_marks
_regenerate_marks:                      ; @regenerate_marks
	.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, _marksfilename@GOTPAGE
Lloh1:
	ldr	x8, [x8, _marksfilename@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_xfopen
	mov	x19, x0
Lloh5:
	adrp	x8, _note2mark_cb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _note2mark_cb@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, #0
	mov	w1, #0
	mov	x3, x19
	bl	_for_each_note
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_fclose
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_marksfilename,4,2              ; @marksfilename
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w+"

	.comm	_note2mark_cb,4,2               ; @note2mark_cb
l_.str.1:                               ; @.str.1
	.asciz	"Regeneration of marks failed, returned %d."

	.no_dead_strip	_regenerate_marks
.subsections_via_symbols
