	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_core_info_get_name             ## -- Begin function core_info_get_name
	.p2align	4, 0x90
_core_info_get_name:                    ## @core_info_get_name
	.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	%r9, %r14
	movq	%r8, %rbx
	movq	%rcx, %r12
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	16(%rbp), %r15d
	movq	%rcx, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	cmovneq	%rbx, %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_dir_list_new
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_path_basename
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.2:
	movq	%rax, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpq	(%rbx), %r15
	jae	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_path_basename
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_string_is_equal
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %rdi
	movq	%r12, %rsi
	callq	_core_info_list_iterate
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r14
	cmpl	$0, 24(%rbp)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	callq	_config_get_string
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_strlcpy
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_7:
	movq	%r14, %rdi
	callq	_config_file_free
LBB0_9:
	movq	%rbx, %rdi
	callq	_dir_list_free
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"display_name"

L_.str.1:                               ## @.str.1
	.asciz	"corename"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_core_info_get_name             ; -- Begin function core_info_get_name
	.p2align	2
_core_info_get_name:                    ; @core_info_get_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x7
	mov	x21, x6
	mov	x24, x5
	mov	x25, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x26, x0
	mov	x0, x3
	bl	_string_is_empty
	cmp	w0, #0
	csel	x23, x23, x25, eq
	mov	x0, x25
	mov	x1, x24
	mov	w2, #0
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	bl	_dir_list_new
	mov	x21, x0
	mov	x0, x26
	bl	_path_basename
	cbz	x21, LBB0_10
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x24, x0
	mov	x26, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldr	x8, [x21]
	cmp	x26, x8
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #8]
	ldr	x8, [x21, #8]
	ldr	x0, [x8, x26, lsl #3]
	bl	_path_basename
	mov	x1, x24
	bl	_string_is_equal
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x0, [x8, x26, lsl #3]
	mov	x1, x23
	bl	_core_info_list_iterate
	cbz	x0, LBB0_3
; %bb.6:
	mov	x25, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w22, #0
	csel	x1, x9, x8, eq
	add	x2, sp, #8
	bl	_config_get_string
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x1, [sp, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
	ldr	x0, [sp, #8]
	bl	_free
LBB0_8:
	mov	x0, x25
	bl	_config_file_free
LBB0_9:
	mov	x0, x21
	bl	_dir_list_free
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"display_name"

l_.str.1:                               ; @.str.1
	.asciz	"corename"

.subsections_via_symbols
