	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_option_create
_action_ok_option_create:               ## @action_ok_option_create
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movb	$0, (%r15)
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_retroarch_validate_game_options
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_config_file_new_from_path_to_string
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_config_file_new_alloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_config_file_write
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movl	%eax, %edi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%rbx
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	movq	_RARCH_PATH_CORE_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_path_set
LBB0_6:
	movq	%r14, %rdi
	callq	_config_file_free
	jmp	LBB0_7
LBB0_1:
	movq	_MSG_ERROR_SAVING_CORE_OPTIONS_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movl	%eax, %edi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%rbx
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_MSG_ERROR_SAVING_CORE_OPTIONS_FILE,4,2 ## @MSG_ERROR_SAVING_CORE_OPTIONS_FILE
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY,4,2 ## @MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY
	.comm	_RARCH_PATH_CORE_OPTIONS,4,2    ## @RARCH_PATH_CORE_OPTIONS
	.no_dead_strip	_action_ok_option_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_ok_option_create
_action_ok_option_create:               ; @action_ok_option_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	strb	wzr, [x19]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w2, #1
	bl	_retroarch_validate_game_options
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_config_file_new_from_path_to_string
	mov	x20, x0
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_config_file_new_alloc
	mov	x20, x0
	cbz	x0, LBB0_7
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_config_file_write
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
Lloh11:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
Lloh14:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w6, [x8]
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
Lloh17:
	adrp	x8, _RARCH_PATH_CORE_OPTIONS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RARCH_PATH_CORE_OPTIONS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_path_set
LBB0_5:
	mov	x0, x20
	bl	_config_file_free
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _MSG_ERROR_SAVING_CORE_OPTIONS_FILE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_ERROR_SAVING_CORE_OPTIONS_FILE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
Lloh23:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
Lloh26:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh28:
	ldr	w6, [x8]
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
LBB0_7:
	ldur	x8, [x29, #-24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_MSG_ERROR_SAVING_CORE_OPTIONS_FILE,4,2 ; @MSG_ERROR_SAVING_CORE_OPTIONS_FILE
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY,4,2 ; @MSG_CORE_OPTIONS_FILE_CREATED_SUCCESSFULLY
	.comm	_RARCH_PATH_CORE_OPTIONS,4,2    ; @RARCH_PATH_CORE_OPTIONS
	.no_dead_strip	_action_ok_option_create
.subsections_via_symbols
