	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function linuxraw_input_state
LCPI0_0:
	.long	0x38000000                      ## float 3.05175781E-5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_linuxraw_input_state:                  ## @linuxraw_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
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	24(%rbp), %ecx
	cmpl	$129, %r9d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_19
## %bb.1:
	cmpl	$128, %r9d
	jne	LBB0_33
## %bb.2:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	shrq	$32, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_RETRO_DEVICE_ID_JOYPAD_MASK@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_21
## %bb.3:
	movq	_RARCH_FIRST_CUSTOM_BIND@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_33
## %bb.4:
	movl	%r12d, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	$12, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rdi), %rax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	*8(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_16
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	btsl	%r12d, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movq	_RARCH_FIRST_CUSTOM_BIND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %r15
	cmpq	%rax, %r12
	jae	LBB0_20
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%r13,%rax,8), %rcx
	movl	(%rcx,%r15), %esi
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx,%r12,8), %esi
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	-4(%rcx,%r15), %ebx
	movq	_AXIS_NONE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ebx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r12,8), %ebx
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, 4(%rcx)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rdi), %r8
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	-12(%rcx,%r15), %ecx
	movq	(%rdx,%rcx,8), %rcx
	cmpl	$0, (%r8,%rcx,4)
	jne	LBB0_5
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%eax, %esi
	jne	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rdi), %rax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%ebx, %esi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_abs
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	ucomiss	-60(%rbp), %xmm0                ## 4-byte Folded Reload
	jbe	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	btsl	%r12d, %r14d
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_19:
	movl	16(%rbp), %edx
	movl	%r12d, %r15d
	movq	(%r13,%r15,8), %rsi
	movl	%ecx, %r14d
	callq	_linuxraw_analog_pressed
	movl	%r14d, %r9d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_31
LBB0_20:
	movl	%r14d, %eax
	jmp	LBB0_34
LBB0_21:
	movl	%r12d, %eax
	movq	(%r13,%rax,8), %r8
	movl	%ecx, %r9d
	movq	%r9, %rdx
	shlq	$4, %rdx
	movl	12(%r8,%rdx), %esi
	movq	_NO_BTN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_23
## %bb.22:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	4(%rsi,%r9,8), %esi
LBB0_23:
	movl	8(%r8,%rdx), %r15d
	movq	_AXIS_NONE@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r15d
	jne	LBB0_25
## %bb.24:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx,%r9,8), %r15d
LBB0_25:
	movq	_RARCH_BIND_LIST_END@GOTPCREL(%rip), %rbx
	cmpl	%ecx, (%rbx)
	jbe	LBB0_28
## %bb.26:
	cmpl	$0, 4(%r8)
	je	LBB0_28
## %bb.27:
	movq	8(%rdi), %r9
	movq	_rarch_keysym_lut@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movl	(%r8,%rdx), %ecx
	movq	(%rbx,%rcx,8), %rcx
	movl	$1, %r14d
	cmpl	$0, (%r9,%rcx,4)
	jne	LBB0_20
LBB0_28:
	cmpl	%eax, %esi
	je	LBB0_30
## %bb.29:
	movq	(%rdi), %rax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	*8(%rax)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r14d
	testl	%eax, %eax
	jne	LBB0_20
LBB0_30:
	movq	(%rdi), %rax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r15d, %esi
	callq	*(%rax)
	movl	%eax, %edi
	callq	_abs
	cvtsi2ss	%rax, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	movl	$1, %r14d
	ucomiss	-60(%rbp), %xmm0                ## 4-byte Folded Reload
	ja	LBB0_20
	jmp	LBB0_33
LBB0_31:
	movl	16(%rbp), %r8d
	movq	(%r13,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	(%rcx), %rdi
	movq	%rax, (%rsp)
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_input_joypad_analog
	jmp	LBB0_34
LBB0_33:
	xorl	%eax, %eax
LBB0_34:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- 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	_rarch_keysym_lut,8,3           ## @rarch_keysym_lut
	.comm	_RARCH_BIND_LIST_END,4,2        ## @RARCH_BIND_LIST_END
	.no_dead_strip	_linuxraw_input_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linuxraw_input_state
_linuxraw_input_state:                  ; @linuxraw_input_state
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x23, x7
	mov	x25, x4
	mov	x21, x3
	mov	x24, x2
	mov	x26, x1
	mov	x19, x0
	cmp	w5, #129
	b.eq	LBB0_16
; %bb.1:
	cmp	w5, #128
	b.ne	LBB0_29
; %bb.2:
	fmov	s8, w26
	lsr	x20, x26, #32
Lloh0:
	adrp	x8, _RETRO_DEVICE_ID_JOYPAD_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETRO_DEVICE_ID_JOYPAD_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ne	LBB0_19
; %bb.3:
Lloh3:
	adrp	x8, _RARCH_FIRST_CUSTOM_BIND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RARCH_FIRST_CUSTOM_BIND@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w8, LBB0_29
; %bb.4:
	mov	x27, #0
	mov	x28, #0
	mov	w22, #0
Lloh6:
	adrp	x26, _AXIS_NONE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _AXIS_NONE@GOTPAGEOFF]
	add	x24, x24, #4
	movi.2s	v9, #56, lsl #24
	mov	w25, w25
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_15
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #1
	lsl	w8, w8, w28
	orr	w22, w8, w22
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x28, x28, #1
Lloh8:
	adrp	x8, _RARCH_FIRST_CUSTOM_BIND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RARCH_FIRST_CUSTOM_BIND@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	x27, x27, #16
	add	x24, x24, #8
	cmp	x28, x8
	b.hs	LBB0_30
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, x25, lsl #3]
	add	x10, x9, x27
	ldr	w1, [x10, #12]
Lloh11:
	adrp	x8, _NO_BTN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NO_BTN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x24]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w23, [x10, #8]
	ldr	w10, [x26]
	cmp	w23, w10
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	w23, [x24, #-4]
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w10, [x9, #4]
	cbz	w10, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x19, #8]
Lloh14:
	adrp	x11, _rarch_keysym_lut@GOTPAGE
Lloh15:
	ldr	x11, [x11, _rarch_keysym_lut@GOTPAGEOFF]
Lloh16:
	ldr	x11, [x11]
	ldr	w9, [x9, x27]
	ldr	x9, [x11, x9, lsl #3]
	ldr	w9, [x10, x9, lsl #2]
	cbnz	w9, LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w1, w8
	b.ne	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x23
	blr	x8
	bl	_abs
	scvtf	s0, x0
	fmul	s0, s0, s9
	fcmp	s0, s8
	b.gt	LBB0_6
	b	LBB0_7
LBB0_16:
	mov	x20, x6
	ldr	x1, [x21, w25, uxtw #3]
	mov	x0, x19
	mov	x2, x6
	mov	x3, x23
	bl	_linuxraw_analog_pressed
	mov	x22, x0
	cbnz	w0, LBB0_30
; %bb.17:
	mov	w8, w25
	ldr	x6, [x21, x8, lsl #3]
	cbz	x6, LBB0_29
; %bb.18:
	ldr	x0, [x19]
	mov	x1, x26
	mov	x2, x24
	mov	x3, x25
	mov	x4, x20
	mov	x5, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	b	_input_joypad_analog
LBB0_19:
	ldr	x8, [x21, w25, uxtw #3]
	mov	w10, w23
	add	x9, x8, w23, uxtw #4
	ldr	w1, [x9, #12]
Lloh17:
	adrp	x9, _NO_BTN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NO_BTN@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w1, w9
	b.ne	LBB0_21
; %bb.20:
	add	x11, x24, x10, lsl #3
	ldr	w1, [x11, #4]
LBB0_21:
	add	x11, x8, x10, lsl #4
	ldr	w21, [x11, #8]
Lloh20:
	adrp	x11, _AXIS_NONE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _AXIS_NONE@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	cmp	w21, w11
	b.ne	LBB0_23
; %bb.22:
	lsl	x11, x10, #3
	ldr	w21, [x24, x11]
LBB0_23:
Lloh23:
	adrp	x11, _RARCH_BIND_LIST_END@GOTPAGE
Lloh24:
	ldr	x11, [x11, _RARCH_BIND_LIST_END@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	cmp	w11, w23
	b.ls	LBB0_26
; %bb.24:
	ldr	w11, [x8, #4]
	cbz	w11, LBB0_26
; %bb.25:
	ldr	x11, [x19, #8]
Lloh26:
	adrp	x12, _rarch_keysym_lut@GOTPAGE
Lloh27:
	ldr	x12, [x12, _rarch_keysym_lut@GOTPAGEOFF]
Lloh28:
	ldr	x12, [x12]
	lsl	x10, x10, #4
	ldr	w8, [x8, x10]
	ldr	x8, [x12, x8, lsl #3]
	ldr	w8, [x11, x8, lsl #2]
	cbnz	w8, LBB0_31
LBB0_26:
	cmp	w1, w9
	b.eq	LBB0_28
; %bb.27:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	cbnz	w0, LBB0_31
LBB0_28:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x20
	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_31
LBB0_29:
	mov	w22, #0
LBB0_30:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_31:
	mov	w22, #1
	b	LBB0_30
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- 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	_rarch_keysym_lut,8,3           ; @rarch_keysym_lut
	.comm	_RARCH_BIND_LIST_END,4,2        ; @RARCH_BIND_LIST_END
	.no_dead_strip	_linuxraw_input_state
.subsections_via_symbols
