	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_bind_val
_parse_bind_val:                        ## @parse_bind_val
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IN_BINDTYPE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	cmpb	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_3
LBB0_9:
	movq	_emuctrl_actions@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rbx
	movl	$-1, %edx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.10:
	movl	$16, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	movq	(%r12), %rax
	movq	(%rax,%r15), %rbx
	addq	$16, %r15
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.14:
	movl	$-1, %edx
	jmp	LBB0_15
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_3:
	leaq	6(%r13), %rdi
	callq	_atoi
	decl	%eax
	movl	$-1, %edx
	cmpl	$1, %eax
	ja	LBB0_15
## %bb.4:
	sete	%al
	movq	_IN_BINDTYPE_PLAYER12@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	movq	_me_ctrl_actions@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.5:
	movzbl	%al, %eax
	shll	$4, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	8(%r13), %r15
	movl	$16, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	movq	_me_ctrl_actions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx), %r14
	addq	$16, %rbx
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_9
LBB0_12:
	movl	%r14d, %eax
	movq	_IN_BINDTYPE_EMU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	movq	(%r12), %rcx
	shlq	$4, %rax
	movl	8(%rcx,%rax), %edx
LBB0_15:
	movl	%edx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r12d, %eax
	movq	_me_ctrl_actions@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rax
	movl	8(%rcx,%rax), %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_IN_BINDTYPE_NONE,4,2           ## @IN_BINDTYPE_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"player"

	.comm	_IN_BINDTYPE_PLAYER12,4,2       ## @IN_BINDTYPE_PLAYER12
	.comm	_me_ctrl_actions,8,3            ## @me_ctrl_actions
	.comm	_emuctrl_actions,8,3            ## @emuctrl_actions
	.comm	_IN_BINDTYPE_EMU,4,2            ## @IN_BINDTYPE_EMU
	.no_dead_strip	_parse_bind_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_bind_val
_parse_bind_val:                        ; @parse_bind_val
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _IN_BINDTYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IN_BINDTYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1]
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_strncasecmp
	cbz	x0, LBB0_7
LBB0_2:
Lloh5:
	adrp	x22, _emuctrl_actions@GOTPAGE
Lloh6:
	ldr	x22, [x22, _emuctrl_actions@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x21, [x8]
	cbz	x21, LBB0_8
; %bb.3:
	mov	x23, #0
	mov	w24, #16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_strncasecmp
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	ldr	x8, [x22]
	ldr	x21, [x8, x24]
	add	x24, x24, #16
	cbnz	x21, LBB0_4
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	add	x0, x20, #6
	bl	_atoi
	sub	w8, w0, #1
	cmp	w8, #1
	b.ls	LBB0_11
LBB0_8:
	mov	w0, #-1
	b	LBB0_10
LBB0_9:
Lloh7:
	adrp	x8, _IN_BINDTYPE_EMU@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IN_BINDTYPE_EMU@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	x8, [x22]
	add	x8, x8, w23, uxtw #4
	ldr	w0, [x8, #8]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	cset	w8, eq
Lloh10:
	adrp	x9, _IN_BINDTYPE_PLAYER12@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IN_BINDTYPE_PLAYER12@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x19]
Lloh13:
	adrp	x23, _me_ctrl_actions@GOTPAGE
Lloh14:
	ldr	x23, [x23, _me_ctrl_actions@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x22, [x9]
	cbz	x22, LBB0_2
; %bb.12:
	mov	x25, #0
	lsl	w24, w8, #4
	add	x21, x20, #8
	mov	w26, #16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_strncasecmp
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x25, x25, #1
	ldr	x8, [x23]
	ldr	x22, [x8, x26]
	add	x26, x26, #16
	cbnz	x22, LBB0_13
	b	LBB0_2
LBB0_15:
	ldr	x8, [x23]
	add	x8, x8, w25, uxtw #4
	ldr	w8, [x8, #8]
	lsl	w0, w8, w24
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IN_BINDTYPE_NONE,4,2           ; @IN_BINDTYPE_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"player"

	.comm	_IN_BINDTYPE_PLAYER12,4,2       ; @IN_BINDTYPE_PLAYER12
	.comm	_me_ctrl_actions,8,3            ; @me_ctrl_actions
	.comm	_emuctrl_actions,8,3            ; @emuctrl_actions
	.comm	_IN_BINDTYPE_EMU,4,2            ; @IN_BINDTYPE_EMU
	.no_dead_strip	_parse_bind_val
.subsections_via_symbols
