	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function cocoa_input_state
LCPI0_0:
	.long	0x38000000                      ## float 3.05175781E-5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cocoa_input_state:                     ## @cocoa_input_state
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%rsi, %r11
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leal	-128(%r9), %esi
	cmpl	$6, %esi
	ja	LBB0_28
## %bb.1:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r10d
	movl	16(%rbp), %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rsi,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_37:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r9d, %esi
	movl	%eax, %edx
	movl	%r10d, %ecx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cocoa_pointer_state            ## TAILCALL
LBB0_35:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r10d, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cocoa_mouse_state              ## TAILCALL
LBB0_31:
	movq	_RETROK_LAST@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	%r10d, (%rax)
	jbe	LBB0_33
## %bb.32:
	movq	_apple_key_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r10d, %edx
	movq	(%rcx,%rdx,8), %rcx
	xorl	%r13d, %r13d
	cmpl	$0, (%rax,%rcx,4)
	setne	%r13b
	jmp	LBB0_33
LBB0_2:
	movl	%r11d, -68(%rbp)                ## 4-byte Spill
	shrq	$32, %r11
	movq	_RETRO_DEVICE_ID_JOYPAD_MASK@GOTPCREL(%rip), %rax
	cmpl	%r10d, (%rax)
	movq	%r11, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_19
## %bb.3:
	movq	_RARCH_FIRST_CUSTOM_BIND@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_28
## %bb.4:
	movl	%r8d, %r10d
	xorl	%r15d, %r15d
	movl	$12, %r12d
	xorl	%r13d, %r13d
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_apple_key_state@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	-12(%rcx,%r12), %rcx
	movq	(%rdi,%rcx,8), %rcx
	cmpl	$0, (%rdx,%rcx,4)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	btsl	%r15d, %r13d
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movl	(%rbx), %eax
	addq	$16, %r12
	cmpq	%rax, %r15
	jae	LBB0_33
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%r10,8), %rcx
	movl	(%rcx,%r12), %esi
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r8,%r15,8), %esi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-4(%rcx,%r12), %r14d
	movq	_AXIS_NONE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r14d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r8,%r15,8), %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, %esi
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r11d, %edi
	callq	*8(%rax)
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	btsl	%r15d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r11d, %edi
	movl	%r14d, %esi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_abs
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	ucomiss	-68(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	btsl	%r15d, %r13d
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r11                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_29:
	movl	%r8d, %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_28
## %bb.30:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdi
	movq	%rcx, (%rsp)
	movq	%r11, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r8d, %ecx
	movl	%eax, %r8d
	movl	%r10d, %r9d
	callq	_input_joypad_analog
	jmp	LBB0_34
LBB0_36:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r10d, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cocoa_mouse_state_screen       ## TAILCALL
LBB0_19:
	movl	%r8d, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rcx
	movl	%r10d, %edi
	movq	%rdi, %rdx
	shlq	$4, %rdx
	movl	12(%rcx,%rdx), %esi
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_21
## %bb.20:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	4(%rsi,%rdi,8), %esi
LBB0_21:
	movl	8(%rcx,%rdx), %r14d
	movq	_AXIS_NONE@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r14d
	jne	LBB0_23
## %bb.22:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx,%rdi,8), %r14d
LBB0_23:
	movq	_RARCH_BIND_LIST_END@GOTPCREL(%rip), %rdi
	cmpl	%r10d, (%rdi)
	jbe	LBB0_25
## %bb.24:
	movq	_apple_key_state@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movq	(%rcx,%rdx), %rcx
	movq	(%rbx,%rcx,8), %rcx
	movl	$1, %r13d
	cmpl	$0, (%rdi,%rcx,4)
	jne	LBB0_33
LBB0_25:
	cmpl	%eax, %esi
	je	LBB0_27
## %bb.26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r11d, %edi
	callq	*8(%rax)
	movq	-80(%rbp), %r11                 ## 8-byte Reload
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_33
LBB0_27:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r11d, %edi
	movl	%r14d, %esi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_abs
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	movl	$1, %r13d
	ucomiss	-68(%rbp), %xmm0                ## 4-byte Folded Reload
	ja	LBB0_33
LBB0_28:
	xorl	%r13d, %r13d
LBB0_33:
	movl	%r13d, %eax
LBB0_34:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
LJTI0_0:
	.long	L0_0_set_37
	.long	L0_0_set_35
	.long	L0_0_set_31
	.long	L0_0_set_2
	.long	L0_0_set_29
	.long	L0_0_set_37
	.long	L0_0_set_36
	.end_data_region
                                        ## -- End function
	.comm	_RETRO_DEVICE_ID_JOYPAD_MASK,4,2 ## @RETRO_DEVICE_ID_JOYPAD_MASK
	.comm	_RARCH_FIRST_CUSTOM_BIND,4,2    ## @RARCH_FIRST_CUSTOM_BIND
	.comm	_NO_BTN,4,2                     ## @NO_BTN
	.comm	_AXIS_NONE,4,2                  ## @AXIS_NONE
	.comm	_apple_key_state,8,3            ## @apple_key_state
	.comm	_rarch_keysym_lut,8,3           ## @rarch_keysym_lut
	.comm	_RARCH_BIND_LIST_END,4,2        ## @RARCH_BIND_LIST_END
	.comm	_RETROK_LAST,4,2                ## @RETROK_LAST
	.no_dead_strip	_cocoa_input_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cocoa_input_state
_cocoa_input_state:                     ; @cocoa_input_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	w8, w5, #128
	cmp	w8, #6
	b.hi	LBB0_36
; %bb.1:
	mov	x21, x3
	mov	x15, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x15
	mov	x1, x5
	mov	x2, x6
	mov	x3, x7
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_cocoa_pointer_state
LBB0_3:
	mov	x0, x15
	mov	x1, x7
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_cocoa_mouse_state
LBB0_4:
Lloh2:
	adrp	x8, _RETROK_LAST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RETROK_LAST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w7
	b.ls	LBB0_36
; %bb.5:
Lloh5:
	adrp	x8, _apple_key_state@GOTPAGE
Lloh6:
	ldr	x8, [x8, _apple_key_state@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _rarch_keysym_lut@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rarch_keysym_lut@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x9, [x9, w7, uxtw #3]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	cset	w22, ne
	b	LBB0_37
LBB0_6:
	fmov	s8, w1
	lsr	x8, x1, #32
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh11:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w7
	str	x15, [sp, #16]                  ; 8-byte Folded Spill
	b.ne	LBB0_27
; %bb.7:
Lloh14:
	adrp	x20, _RARCH_FIRST_CUSTOM_BIND@GOTPAGE
Lloh15:
	ldr	x20, [x20, _RARCH_FIRST_CUSTOM_BIND@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_36
; %bb.8:
	mov	x25, #0
	mov	x26, #0
	mov	w22, #0
Lloh16:
	adrp	x27, _NO_BTN@GOTPAGE
Lloh17:
	ldr	x27, [x27, _NO_BTN@GOTPAGEOFF]
Lloh18:
	adrp	x19, _AXIS_NONE@GOTPAGE
Lloh19:
	ldr	x19, [x19, _AXIS_NONE@GOTPAGEOFF]
Lloh20:
	adrp	x16, _apple_key_state@GOTPAGE
Lloh21:
	ldr	x16, [x16, _apple_key_state@GOTPAGEOFF]
	add	x24, x2, #4
Lloh22:
	adrp	x28, _rarch_keysym_lut@GOTPAGE
Lloh23:
	ldr	x28, [x28, _rarch_keysym_lut@GOTPAGEOFF]
	movi.2s	v9, #56, lsl #24
	mov	w0, #1
	mov	w2, w4
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x10, [x16]
	ldr	x11, [x28]
	ldr	x9, [x9, x25]
	ldr	x9, [x11, x9, lsl #3]
	ldr	w9, [x10, x9, lsl #2]
	cbz	w9, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_12 Depth=1
	lsl	w8, w0, w26
	orr	w22, w8, w22
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x26, x26, #1
	ldr	w8, [x20]
	add	x25, x25, #16
	add	x24, x24, #8
	cmp	x26, x8
	b.hs	LBB0_37
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, x2, lsl #3]
	add	x10, x9, x25
	ldr	w1, [x10, #12]
	ldr	w8, [x27]
	cmp	w1, w8
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w1, [x24]
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w23, [x10, #8]
	ldr	w10, [x19]
	cmp	w23, w10
	b.ne	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldur	w23, [x24, #-4]
	b	LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w1, w8
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x15]
	ldr	x8, [x8, #8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	blr	x8
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
	cbz	w0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #1
	lsl	w8, w0, w26
	orr	w22, w8, w22
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x15]
	ldr	x8, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x23
	blr	x8
	bl	_abs
	scvtf	s0, x0
	fmul	s0, s0, s9
	fcmp	s0, s8
	b.le	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #1
	lsl	w8, w0, w26
	orr	w22, w8, w22
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh24:
	adrp	x16, _apple_key_state@GOTPAGE
Lloh25:
	ldr	x16, [x16, _apple_key_state@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
Lloh26:
	adrp	x16, _apple_key_state@GOTPAGE
Lloh27:
	ldr	x16, [x16, _apple_key_state@GOTPAGEOFF]
	mov	w0, #1
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	b	LBB0_11
LBB0_24:
	ldr	x8, [x21, w4, uxtw #3]
	cbz	x8, LBB0_36
; %bb.25:
	ldr	x0, [x15]
	mov	x3, x4
	mov	x4, x6
	mov	x5, x7
	mov	x6, x8
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_input_joypad_analog
LBB0_26:
	mov	x0, x15
	mov	x1, x7
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_cocoa_mouse_state_screen
LBB0_27:
	ldr	x8, [x21, w4, uxtw #3]
	mov	w9, w7
	add	x10, x8, w7, uxtw #4
	ldr	w1, [x10, #12]
Lloh28:
	adrp	x10, _NO_BTN@GOTPAGE
Lloh29:
	ldr	x10, [x10, _NO_BTN@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	cmp	w1, w10
	b.ne	LBB0_29
; %bb.28:
	add	x11, x2, x9, lsl #3
	ldr	w1, [x11, #4]
LBB0_29:
	add	x11, x8, x9, lsl #4
	ldr	w21, [x11, #8]
Lloh31:
	adrp	x11, _AXIS_NONE@GOTPAGE
Lloh32:
	ldr	x11, [x11, _AXIS_NONE@GOTPAGEOFF]
Lloh33:
	ldr	w11, [x11]
	cmp	w21, w11
	b.ne	LBB0_31
; %bb.30:
	lsl	x11, x9, #3
	ldr	w21, [x2, x11]
LBB0_31:
Lloh34:
	adrp	x11, _RARCH_BIND_LIST_END@GOTPAGE
Lloh35:
	ldr	x11, [x11, _RARCH_BIND_LIST_END@GOTPAGEOFF]
Lloh36:
	ldr	w11, [x11]
	cmp	w11, w7
	b.ls	LBB0_33
; %bb.32:
Lloh37:
	adrp	x11, _apple_key_state@GOTPAGE
Lloh38:
	ldr	x11, [x11, _apple_key_state@GOTPAGEOFF]
Lloh39:
	ldr	x11, [x11]
Lloh40:
	adrp	x12, _rarch_keysym_lut@GOTPAGE
Lloh41:
	ldr	x12, [x12, _rarch_keysym_lut@GOTPAGEOFF]
Lloh42:
	ldr	x12, [x12]
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	ldr	x8, [x12, x8, lsl #3]
	ldr	w8, [x11, x8, lsl #2]
	cbnz	w8, LBB0_38
LBB0_33:
	cmp	w1, w10
	b.eq	LBB0_35
; %bb.34:
	ldr	x8, [x15]
	ldr	x8, [x8, #8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	blr	x8
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	w0, LBB0_38
LBB0_35:
	ldr	x8, [x15]
	ldr	x8, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x21
	blr	x8
	bl	_abs
	scvtf	s0, x0
	movi.2s	v1, #56, lsl #24
	fmul	s0, s0, s1
	fcmp	s0, s8
	b.gt	LBB0_38
LBB0_36:
	mov	w22, #0
LBB0_37:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_38:
	mov	w22, #1
	b	LBB0_37
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_26-LBB0_2)>>2
                                        ; -- End function
	.comm	_RETRO_DEVICE_ID_JOYPAD_MASK,4,2 ; @RETRO_DEVICE_ID_JOYPAD_MASK
	.comm	_RARCH_FIRST_CUSTOM_BIND,4,2    ; @RARCH_FIRST_CUSTOM_BIND
	.comm	_NO_BTN,4,2                     ; @NO_BTN
	.comm	_AXIS_NONE,4,2                  ; @AXIS_NONE
	.comm	_apple_key_state,8,3            ; @apple_key_state
	.comm	_rarch_keysym_lut,8,3           ; @rarch_keysym_lut
	.comm	_RARCH_BIND_LIST_END,4,2        ; @RARCH_BIND_LIST_END
	.comm	_RETROK_LAST,4,2                ; @RETROK_LAST
	.no_dead_strip	_cocoa_input_state
.subsections_via_symbols
