	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_cbs_init_bind_select      ## -- Begin function menu_cbs_init_bind_select
	.p2align	4, 0x90
_menu_cbs_init_bind_select:             ## @menu_cbs_init_bind_select
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	_action_select_default@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BIND_ACTION_SELECT
	movq	_MENU_SETTINGS_CORE_OPTION_START@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	ja	LBB0_5
## %bb.2:
	movq	_MENU_SETTINGS_CHEEVOS_START@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jbe	LBB0_5
## %bb.3:
	movq	_action_select_core_setting@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BIND_ACTION_SELECT
	jmp	LBB0_7
LBB0_4:
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_menu_cbs_init_bind_select_compare_label
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_menu_cbs_init_bind_select_compare_type
	movq	%rax, %rcx
	xorl	%eax, %eax
	negq	%rcx
	sbbl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_action_select_default,4,2      ## @action_select_default
	.comm	_MENU_SETTINGS_CORE_OPTION_START,4,2 ## @MENU_SETTINGS_CORE_OPTION_START
	.comm	_MENU_SETTINGS_CHEEVOS_START,4,2 ## @MENU_SETTINGS_CHEEVOS_START
	.comm	_action_select_core_setting,4,2 ## @action_select_core_setting
	.comm	_MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,8,3 ## @MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM
	.comm	_action_select_netplay_connect_room,4,2 ## @action_select_netplay_connect_room
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_cbs_init_bind_select      ; -- Begin function menu_cbs_init_bind_select
	.p2align	2
_menu_cbs_init_bind_select:             ; @menu_cbs_init_bind_select
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _action_select_default@GOTPAGE
Lloh1:
	ldr	x8, [x8, _action_select_default@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_BIND_ACTION_SELECT
Lloh3:
	adrp	x8, _MENU_SETTINGS_CORE_OPTION_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MENU_SETTINGS_CORE_OPTION_START@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MENU_SETTINGS_CHEEVOS_START@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MENU_SETTINGS_CHEEVOS_START@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #0, ls
	b.hi	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	bl	_menu_cbs_init_bind_select_compare_label
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_menu_cbs_init_bind_select_compare_type
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _action_select_core_setting@GOTPAGE
Lloh10:
	ldr	x8, [x8, _action_select_core_setting@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BIND_ACTION_SELECT
	mov	w0, #0
LBB0_6:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_action_select_default,4,2      ; @action_select_default
	.comm	_MENU_SETTINGS_CORE_OPTION_START,4,2 ; @MENU_SETTINGS_CORE_OPTION_START
	.comm	_MENU_SETTINGS_CHEEVOS_START,4,2 ; @MENU_SETTINGS_CHEEVOS_START
	.comm	_action_select_core_setting,4,2 ; @action_select_core_setting
	.comm	_MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,8,3 ; @MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM
	.comm	_action_select_netplay_connect_room,4,2 ; @action_select_netplay_connect_room
.subsections_via_symbols
