	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_reuse_arg
_parse_reuse_arg:                       ## @parse_reuse_arg
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %r12
	movl	%edx, %edi
	callq	_BUG_ON_OPT_NEG
	leaq	8(%r12), %r14
	cmpq	$0, 8(%r12)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strbuf_addch
LBB0_2:
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_die
LBB0_4:
	leaq	-40(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_read_object_file
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_die
LBB0_6:
	movl	-44(%rbp), %eax
	movq	_OBJ_BLOB@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_free
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_die
LBB0_8:
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strbuf_add
	movq	%rbx, %rdi
	callq	_free
	movl	$1, (%r12)
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to resolve '%s' as a valid ref."

L_.str.1:                               ## @.str.1
	.asciz	"failed to read object '%s'."

	.comm	_OBJ_BLOB,4,2                   ## @OBJ_BLOB
L_.str.2:                               ## @.str.2
	.asciz	"cannot read note data from non-blob object '%s'."

	.no_dead_strip	_parse_reuse_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_reuse_arg
_parse_reuse_arg:                       ; @parse_reuse_arg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x1
	ldr	x22, [x0]
	mov	x0, x2
	bl	_BUG_ON_OPT_NEG
	mov	x20, x22
	ldr	x8, [x20, #8]!
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #10
	bl	_strbuf_addch
LBB0_2:
	add	x1, sp, #24
	mov	x0, x19
	bl	_get_oid
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_4:
	add	x0, sp, #24
	add	x1, sp, #20
	add	x2, sp, #8
	bl	_read_object_file
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_6:
	ldr	w8, [sp, #20]
Lloh4:
	adrp	x9, _OBJ_BLOB@GOTPAGE
Lloh5:
	ldr	x9, [x9, _OBJ_BLOB@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_free
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die
LBB0_8:
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_strbuf_add
	mov	x0, x21
	bl	_free
	mov	w8, #1
	str	w8, [x22]
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to resolve '%s' as a valid ref."

l_.str.1:                               ; @.str.1
	.asciz	"failed to read object '%s'."

	.comm	_OBJ_BLOB,4,2                   ; @OBJ_BLOB
l_.str.2:                               ; @.str.2
	.asciz	"cannot read note data from non-blob object '%s'."

	.no_dead_strip	_parse_reuse_arg
.subsections_via_symbols
