	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_driver_init_internal
_menu_driver_init_internal:             ## @menu_driver_init_internal
	.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	_menu_driver_ctx@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%edi, %esi
	movq	_menu_userdata@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	*%rax
	movq	_menu_driver_data@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
LBB0_2:
	movq	_menu_driver_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	callq	_menu_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	8(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rdi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menu_driver_ctx,8,3            ## @menu_driver_ctx
	.comm	_menu_userdata,4,2              ## @menu_userdata
	.comm	_menu_driver_data,8,3           ## @menu_driver_data
	.no_dead_strip	_menu_driver_init_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_driver_init_internal
_menu_driver_init_internal:             ; @menu_driver_init_internal
	.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
Lloh0:
	adrp	x21, _menu_driver_ctx@GOTPAGE
Lloh1:
	ldr	x21, [x21, _menu_driver_ctx@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
Lloh2:
	adrp	x20, _menu_driver_data@GOTPAGE
Lloh3:
	ldr	x20, [x20, _menu_driver_data@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh4:
	adrp	x19, _menu_userdata@GOTPAGE
Lloh5:
	ldr	x19, [x19, _menu_userdata@GOTPAGEOFF]
	mov	x0, x19
	blr	x8
	str	x0, [x20]
	ldr	w8, [x19]
	str	w8, [x0, #8]
	ldr	x8, [x21]
	str	x8, [x0]
LBB0_2:
	ldr	x0, [x20]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_menu_init
	cbz	w0, LBB0_7
; %bb.4:
	bl	_config_get_ptr
	ldr	w0, [x0]
	ldr	x8, [x21]
	ldr	w1, [x8, #8]
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x0, [x20]
	blr	x8
	cbz	w0, LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_menu_driver_ctx,8,3            ; @menu_driver_ctx
	.comm	_menu_userdata,4,2              ; @menu_userdata
	.comm	_menu_driver_data,8,3           ; @menu_driver_data
	.no_dead_strip	_menu_driver_init_internal
.subsections_via_symbols
