	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_graft_file
_convert_graft_file:                    ## @convert_graft_file
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_graft_file
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_fopen_or_warn
	movq	%rax, %rbx
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	_ARGV_ARRAY_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -96(%rbp)
	movl	$-1, %eax
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	_advice_graft_file_deprecated@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_strbuf_getline
	movq	_EOF@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
LBB0_9:
	movq	%rbx, %rdi
	callq	_fclose
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	cmpl	$0, -72(%rbp)
	je	LBB0_10
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	-80(%rbp), %rsi
	movl	%eax, %edi
	callq	_warning
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_2:
	leaq	-64(%rbp), %r13
	leaq	-96(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_argv_array_clear
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_getline
	cmpq	(%r15), %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rsi
	cmpb	$35, (%rsi)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_argv_array_split
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-96(%rbp), %esi
	movl	%r12d, %edx
	movl	$1, %ecx
	callq	_create_graft
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdx
	leaq	-80(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strbuf_addf
	jmp	LBB0_7
LBB0_10:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_unlink_or_warn
LBB0_12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_ARGV_ARRAY_INIT,16,3           ## @ARGV_ARRAY_INIT
	.comm	_advice_graft_file_deprecated,8,3 ## @advice_graft_file_deprecated
	.comm	_EOF,8,3                        ## @EOF
L_.str.1:                               ## @.str.1
	.asciz	"\n\t%s"

L_.str.2:                               ## @.str.2
	.asciz	"could not convert the following graft(s):\n%s"

	.no_dead_strip	_convert_graft_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_graft_file
_convert_graft_file:                    ; @convert_graft_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_graft_file
	mov	x19, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen_or_warn
Lloh5:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh7:
	ldr	q0, [x8]
	stp	q0, q0, [sp, #16]
Lloh8:
	adrp	x8, _ARGV_ARRAY_INIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARGV_ARRAY_INIT@GOTPAGEOFF]
Lloh10:
	ldr	q0, [x8]
	str	q0, [sp]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh11:
	adrp	x8, _advice_graft_file_deprecated@GOTPAGE
Lloh12:
	ldr	x8, [x8, _advice_graft_file_deprecated@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
	add	x0, sp, #32
	mov	x1, x21
	bl	_strbuf_getline
Lloh14:
	adrp	x23, _EOF@GOTPAGE
Lloh15:
	ldr	x23, [x23, _EOF@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_fclose
	add	x0, sp, #32
	bl	_strbuf_release
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_12
; %bb.3:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x1, [sp, #16]
	bl	_warning
	add	x0, sp, #16
	bl	_strbuf_release
LBB0_4:
	mov	w0, #-1
	b	LBB0_13
LBB0_5:
Lloh18:
	adrp	x22, l_.str.1@PAGE
Lloh19:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, sp
	bl	_argv_array_clear
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #32
	mov	x1, x21
	bl	_strbuf_getline
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #32]
	ldrb	w8, [x1]
	cmp	w8, #35
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, sp
	bl	_argv_array_split
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [sp]
	mov	x2, x20
	mov	w3, #1
	bl	_create_graft
	cbz	x0, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [sp, #32]
	add	x0, sp, #16
	mov	x1, x22
	bl	_strbuf_addf
	b	LBB0_6
LBB0_12:
	mov	x0, x19
	bl	_unlink_or_warn
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_ARGV_ARRAY_INIT,16,3           ; @ARGV_ARRAY_INIT
	.comm	_advice_graft_file_deprecated,8,3 ; @advice_graft_file_deprecated
	.comm	_EOF,8,3                        ; @EOF
l_.str.1:                               ; @.str.1
	.asciz	"\n\t%s"

l_.str.2:                               ; @.str.2
	.asciz	"could not convert the following graft(s):\n%s"

	.no_dead_strip	_convert_graft_file
.subsections_via_symbols
