	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_save_index                     ## -- Begin function save_index
	.p2align	4, 0x90
_save_index:                            ## @save_index
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	(%r14,%r14,2), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	addl	$6, %eax
	movq	_BSIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_5
## %bb.1:
	movq	%r15, %rbx
	leaq	(%r15,%r14,2), %rdi
	leaq	L_.str.1(%rip), %rdx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %esi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_BIO_snprintf
	addq	%r14, %r15
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_BIO_snprintf
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_BIO_snprintf
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_BIO_new_file
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %esi
	movq	%rax, %rdi
	callq	_TXT_DB_write
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_BIO_free
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.3:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_BIO_new_file
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %rbx
	cmpq	$0, (%r12)
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.7(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%rbx, %rdi
	callq	_BIO_free
	movl	$1, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_7
LBB0_9:
	movq	%r12, %rdi
	callq	_save_index.cold.1
	jmp	LBB0_6
LBB0_10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_save_index.cold.2
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.8:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function save_index.cold.1
_save_index.cold.1:                     ## @save_index.cold.1
	.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	_perror
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function save_index.cold.2
_save_index.cold.2:                     ## @save_index.cold.2
	.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	_perror
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSIZE,4,2                      ## @BSIZE
	.comm	_bio_err,8,3                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file name too long\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s.attr"

L_.str.2:                               ## @.str.2
	.asciz	"%s.attr.%s"

L_.str.3:                               ## @.str.3
	.asciz	"%s.%s"

L_.str.4:                               ## @.str.4
	.asciz	"w"

L_.str.5:                               ## @.str.5
	.asciz	"unable to open '%s'\n"

L_.str.6:                               ## @.str.6
	.asciz	"unique_subject = %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"yes"

L_.str.8:                               ## @.str.8
	.asciz	"no"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_save_index                     ; -- Begin function save_index
	.p2align	2
_save_index:                            ; @save_index
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _BSIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BSIZE@GOTPAGEOFF]
	ldr	w23, [x25]
	add	x8, x23, x23, lsl #1
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	bl	_strlen
	mov	x21, x0
	mov	x0, x22
	bl	_strlen
	add	w8, w21, w0
	add	w8, w8, #6
	ldr	w9, [x25]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.1:
	add	x21, x24, x23, lsl #1
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x23
	mov	x3, x20
	bl	_BIO_snprintf
	add	x25, x24, x23
	str	x22, [sp, #-16]!
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x25
	mov	x1, x23
	mov	x3, x20
	bl	_BIO_snprintf
	add	sp, sp, #16
	str	x22, [sp, #-16]!
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	mov	x3, x20
	bl	_BIO_snprintf
	add	sp, sp, #16
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	bl	_BIO_new_file
	cbz	x0, LBB0_9
; %bb.2:
	mov	x22, x0
	ldr	w1, [x19, #8]
	bl	_TXT_DB_write
	mov	x20, x0
	mov	x0, x22
	bl	_BIO_free
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.3:
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_BIO_new_file
	cbz	x0, LBB0_10
; %bb.4:
	mov	x20, x0
	ldr	x8, [x19]
Lloh17:
	adrp	x9, l_.str.7@PAGE
Lloh18:
	add	x9, x9, l_.str.7@PAGEOFF
Lloh19:
	adrp	x10, l_.str.8@PAGE
Lloh20:
	add	x10, x10, l_.str.8@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp, #-16]!
Lloh21:
	adrp	x1, l_.str.6@PAGE
Lloh22:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_BIO_printf
	add	sp, sp, #16
	mov	x0, x20
	bl	_BIO_free
	mov	w0, #1
	b	LBB0_7
LBB0_5:
Lloh23:
	adrp	x8, _bio_err@GOTPAGE
Lloh24:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh25:
	ldr	x0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.8:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	bl	_save_index.cold.1
	b	LBB0_6
LBB0_10:
	mov	x0, x21
	bl	_save_index.cold.2
	b	LBB0_6
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function save_index.cold.1
_save_index.cold.1:                     ; @save_index.cold.1
	.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
	mov	x19, x0
	bl	_perror
Lloh31:
	adrp	x8, _bio_err@GOTPAGE
Lloh32:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh33:
	ldr	x0, [x8]
	str	x19, [sp]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BIO_printf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	b	_OUTLINED_FUNCTION_0
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function save_index.cold.2
_save_index.cold.2:                     ; @save_index.cold.2
	.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
	mov	x19, x0
	bl	_perror
Lloh36:
	adrp	x8, _bio_err@GOTPAGE
Lloh37:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh38:
	ldr	x0, [x8]
	str	x19, [sp]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BIO_printf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	b	_OUTLINED_FUNCTION_0
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0:                   ; @OUTLINED_FUNCTION_0 Tail Call
	.cfi_startproc
; %bb.0:
	ldp	x20, x19, [sp, #16]
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_BSIZE,4,2                      ; @BSIZE
	.comm	_bio_err,8,3                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file name too long\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s.attr"

l_.str.2:                               ; @.str.2
	.asciz	"%s.attr.%s"

l_.str.3:                               ; @.str.3
	.asciz	"%s.%s"

l_.str.4:                               ; @.str.4
	.asciz	"w"

l_.str.5:                               ; @.str.5
	.asciz	"unable to open '%s'\n"

l_.str.6:                               ; @.str.6
	.asciz	"unique_subject = %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"yes"

l_.str.8:                               ; @.str.8
	.asciz	"no"

.subsections_via_symbols
