	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function android_input_set_rumble_internal
LCPI0_0:
	.long	0x3b7f00ff                      ## float 0.00389105058
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_android_input_set_rumble_internal:     ## @android_input_set_rumble_internal
	.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
	movl	%r9d, %r12d
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_jni_thread_getenv
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	%ebx, %edi
	movq	%r15, %rbx
	movq	_RETRO_RUMBLE_STRONG@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	%r13, %rdx
	movq	%r14, %r13
	jmp	LBB0_4
LBB0_3:
	movq	_RETRO_RUMBLE_WEAK@GOTPCREL(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdx
	cmpl	%r12d, (%rsi)
	jne	LBB0_5
LBB0_4:
	movl	(%rdx), %r15d
	orl	%edi, %r15d
	movl	%edi, (%r13)
LBB0_5:
	cmpl	(%rbx), %r15d
	je	LBB0_7
## %bb.6:
	cvtsi2ss	%r15d, %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %r9d
	movq	_g_android@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	8(%rdx), %rsi
	movl	(%rsi), %esi
	movl	(%rdx), %edx
	movl	(%rcx), %r8d
	movl	$0, (%rsp)
	movq	%rax, %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_CALL_VOID_METHOD_PARAM
	movl	%r15d, (%rbx)
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETRO_RUMBLE_STRONG,4,2        ## @RETRO_RUMBLE_STRONG
	.comm	_RETRO_RUMBLE_WEAK,4,2          ## @RETRO_RUMBLE_WEAK
	.comm	_g_android,8,3                  ## @g_android
	.no_dead_strip	_android_input_set_rumble_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function android_input_set_rumble_internal
_android_input_set_rumble_internal:     ; @android_input_set_rumble_internal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x5
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
	bl	_jni_thread_getenv
	cbz	x0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _RETRO_RUMBLE_STRONG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETRO_RUMBLE_STRONG@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w23
	b.ne	LBB0_3
; %bb.2:
	mov	x9, x21
	mov	x21, x24
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x9, _RETRO_RUMBLE_WEAK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RETRO_RUMBLE_WEAK@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x9]
	mov	x9, x24
	cmp	w10, w23
	b.ne	LBB0_5
LBB0_4:
	ldr	w9, [x9]
	orr	w23, w9, w22
	str	w22, [x21]
	b	LBB0_6
LBB0_5:
	mov	w23, #0
LBB0_6:
	ldr	w9, [x19]
	cmp	w23, w9
	b.eq	LBB0_8
; %bb.7:
	scvtf	s0, w23
	mov	w9, #255
	movk	w9, #15231, lsl #16
	fmov	s1, w9
	fmul	s0, s0, s1
	fcvtzs	w5, s0
Lloh5:
	adrp	x9, _g_android@GOTPAGE
Lloh6:
	ldr	x9, [x9, _g_android@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x10, [x9, #8]
	ldr	w1, [x10]
	ldr	w2, [x9]
	ldr	w4, [x8]
	mov	x3, x20
	mov	w6, #0
	bl	_CALL_VOID_METHOD_PARAM
	str	w23, [x19]
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RETRO_RUMBLE_STRONG,4,2        ; @RETRO_RUMBLE_STRONG
	.comm	_RETRO_RUMBLE_WEAK,4,2          ; @RETRO_RUMBLE_WEAK
	.comm	_g_android,8,3                  ; @g_android
	.no_dead_strip	_android_input_set_rumble_internal
.subsections_via_symbols
