	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_content_find_first_core
_menu_content_find_first_core:          ## @menu_content_find_first_core
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	(%rdi), %r14
	movq	32(%rdi), %r13
	movq	%r14, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %r15
	movq	16(%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_fill_pathname_join
LBB0_3:
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:
	movq	24(%rbx), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	callq	_core_info_list_get_supported_cores
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.6:
	leaq	-48(%rbp), %rdi
	callq	_core_info_get_current_core
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	$1, -56(%rbp)
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	cmpq	$1, -56(%rbp)
	jne	LBB0_12
## %bb.9:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movl	(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_strlcpy
LBB0_11:
	movl	$1, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_menu_content_find_first_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_content_find_first_core
_menu_content_find_first_core:          ; @menu_content_find_first_core
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	stp	xzr, xzr, [sp]
	ldr	x22, [x0, #32]
	ldr	x24, [x0]
	mov	x0, x24
	bl	_string_is_empty
	cbnz	w0, LBB0_3
; %bb.1:
	ldp	x25, x26, [x23, #8]
	mov	x0, x25
	bl	_string_is_empty
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x0, [x23, #24]
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	bl	_fill_pathname_join
LBB0_3:
	cbz	x22, LBB0_5
; %bb.4:
	ldr	x1, [x23, #24]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x22
	bl	_core_info_list_get_supported_cores
LBB0_5:
	cbz	w21, LBB0_8
; %bb.6:
	add	x0, sp, #8
	bl	_core_info_get_current_core
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	w9, #1
	str	x9, [sp]
	b	LBB0_10
LBB0_8:
	ldr	x8, [sp]
	cmp	x8, #1
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
LBB0_10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_menu_content_find_first_core
.subsections_via_symbols
