	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grab_objectname
_grab_objectname:                       ## @grab_objectname
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_starts_with
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	(%r12), %rax
	movq	_O_SHORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_DEFAULT_ABBREV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_8
LBB0_3:
	movq	_O_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_oid_to_hex
	jmp	LBB0_5
LBB0_6:
	movq	_O_LENGTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movl	8(%r12), %esi
LBB0_8:
	movq	%r15, %rdi
	callq	_find_unique_abbrev
LBB0_5:
	movl	%eax, %edi
	callq	_xstrdup
	movq	%rax, (%r14)
	movl	$1, %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	_BUG
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"objectname"

	.comm	_O_SHORT,8,3                    ## @O_SHORT
	.comm	_DEFAULT_ABBREV,4,2             ## @DEFAULT_ABBREV
	.comm	_O_FULL,8,3                     ## @O_FULL
	.comm	_O_LENGTH,8,3                   ## @O_LENGTH
L_.str.1:                               ## @.str.1
	.asciz	"unknown %%(objectname) option"

	.no_dead_strip	_grab_objectname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grab_objectname
_grab_objectname:                       ; @grab_objectname
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _O_SHORT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _O_SHORT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _DEFAULT_ABBREV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEFAULT_ABBREV@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x9, _O_FULL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _O_FULL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_oid_to_hex
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x9, _O_LENGTH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _O_LENGTH@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:
	ldr	w1, [x21, #8]
LBB0_7:
	mov	x0, x20
	bl	_find_unique_abbrev
LBB0_8:
	bl	_xstrdup
	str	x0, [x19]
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BUG
	mov	w0, #0
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"objectname"

	.comm	_O_SHORT,8,3                    ; @O_SHORT
	.comm	_DEFAULT_ABBREV,4,2             ; @DEFAULT_ABBREV
	.comm	_O_FULL,8,3                     ; @O_FULL
	.comm	_O_LENGTH,8,3                   ; @O_LENGTH
l_.str.1:                               ; @.str.1
	.asciz	"unknown %%(objectname) option"

	.no_dead_strip	_grab_objectname
.subsections_via_symbols
