	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setting_action_ok_bind_defaults
_setting_action_ok_bind_defaults:       ## @setting_action_ok_bind_defaults
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_input_config_binds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.4:
	movq	_retro_keybinds_1@GOTPCREL(%rip), %rdx
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_3:
	movq	_retro_keybinds_rest@GOTPCREL(%rip), %rdx
LBB0_5:
	movq	(%rax,%rcx,8), %rbx
	movq	(%rdx), %r14
	movq	_MENU_SETTINGS_BIND_BEGIN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, -40(%rbp)
	movq	_MENU_SETTINGS_BIND_LAST@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_menu_input_key_bind_set_min_max
	movl	(%r15), %ecx
	movl	(%r12), %r9d
	xorl	%eax, %eax
	cmpl	%r9d, %ecx
	ja	LBB0_8
## %bb.6:
	movq	_AXIS_NONE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	$24, %edi
	movq	_NO_BTN@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rdi), %edx
	movl	%edx, (%rbx,%rdi)
	movq	(%r8), %rdx
	movq	%rdx, -8(%rbx,%rdi)
	movl	%esi, -16(%rbx,%rdi)
	movq	%rdx, -24(%rbx,%rdi)
	incl	%ecx
	addq	$32, %rdi
	cmpl	%r9d, %ecx
	jbe	LBB0_7
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_config_binds,8,3         ## @input_config_binds
	.comm	_retro_keybinds_rest,8,3        ## @retro_keybinds_rest
	.comm	_retro_keybinds_1,8,3           ## @retro_keybinds_1
	.comm	_MENU_SETTINGS_BIND_BEGIN,4,2   ## @MENU_SETTINGS_BIND_BEGIN
	.comm	_MENU_SETTINGS_BIND_LAST,4,2    ## @MENU_SETTINGS_BIND_LAST
	.comm	_NO_BTN,8,3                     ## @NO_BTN
	.comm	_AXIS_NONE,4,2                  ## @AXIS_NONE
	.no_dead_strip	_setting_action_ok_bind_defaults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setting_action_ok_bind_defaults
_setting_action_ok_bind_defaults:       ; @setting_action_ok_bind_defaults
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _input_config_binds@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input_config_binds@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x19, [x8, x9, lsl #3]
Lloh3:
	adrp	x8, _retro_keybinds_rest@GOTPAGE
Lloh4:
	ldr	x8, [x8, _retro_keybinds_rest@GOTPAGEOFF]
Lloh5:
	adrp	x10, _retro_keybinds_1@GOTPAGE
Lloh6:
	ldr	x10, [x10, _retro_keybinds_1@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	x20, [x8]
Lloh7:
	adrp	x21, _MENU_SETTINGS_BIND_BEGIN@GOTPAGE
Lloh8:
	ldr	x21, [x21, _MENU_SETTINGS_BIND_BEGIN@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh9:
	adrp	x22, _MENU_SETTINGS_BIND_LAST@GOTPAGE
Lloh10:
	ldr	x22, [x22, _MENU_SETTINGS_BIND_LAST@GOTPAGEOFF]
	ldr	w9, [x22]
	stp	w8, w9, [sp, #8]
	add	x0, sp, #8
	bl	_menu_input_key_bind_set_min_max
	ldr	w8, [x21]
	ldr	w9, [x22]
	cmp	w8, w9
	b.hi	LBB0_4
; %bb.2:
Lloh11:
	adrp	x10, _AXIS_NONE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _AXIS_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	add	x11, x19, #16
	add	x12, x20, #24
Lloh14:
	adrp	x13, _NO_BTN@GOTPAGE
Lloh15:
	ldr	x13, [x13, _NO_BTN@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x12], #32
	str	w14, [x11, #8]
	ldr	x14, [x13]
	str	x14, [x11]
	stur	w10, [x11, #-8]
	stur	x14, [x11, #-16]
	add	w8, w8, #1
	add	x11, x11, #32
	cmp	w8, w9
	b.ls	LBB0_3
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_input_config_binds,8,3         ; @input_config_binds
	.comm	_retro_keybinds_rest,8,3        ; @retro_keybinds_rest
	.comm	_retro_keybinds_1,8,3           ; @retro_keybinds_1
	.comm	_MENU_SETTINGS_BIND_BEGIN,4,2   ; @MENU_SETTINGS_BIND_BEGIN
	.comm	_MENU_SETTINGS_BIND_LAST,4,2    ; @MENU_SETTINGS_BIND_LAST
	.comm	_NO_BTN,8,3                     ; @NO_BTN
	.comm	_AXIS_NONE,4,2                  ; @AXIS_NONE
	.no_dead_strip	_setting_action_ok_bind_defaults
.subsections_via_symbols
