	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_submodule_displaypath
_get_submodule_displaypath:             ## @get_submodule_displaypath
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_get_super_prefix
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_BUG
                                        ## implicit-def: $rbx
	jmp	LBB0_5
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	-32(%rbp), %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_relative_path
	movq	%rax, %rdi
	callq	_xstrdup
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_strbuf_release
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xstrfmt                        ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot have prefix '%s' and superprefix '%s'"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.1:                               ## @.str.1
	.asciz	"%s%s"

	.no_dead_strip	_get_submodule_displaypath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_submodule_displaypath
_get_submodule_displaypath:             ; @get_submodule_displaypath
	.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	x20, x1
	mov	x19, x0
	bl	_get_super_prefix
	mov	x2, x0
	cbz	x20, LBB0_3
; %bb.1:
	cbz	x2, LBB0_3
; %bb.2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_BUG
                                        ; implicit-def: $x19
	b	LBB0_5
LBB0_3:
	cbz	x20, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_relative_path
	bl	_xstrdup
	mov	x19, x0
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	cbz	x2, LBB0_8
; %bb.7:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x2
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xstrfmt
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_xstrdup
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot have prefix '%s' and superprefix '%s'"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.1:                               ; @.str.1
	.asciz	"%s%s"

	.no_dead_strip	_get_submodule_displaypath
.subsections_via_symbols
