	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ms_play_effect
_ms_play_effect:                        ## @ms_play_effect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_input_get_drvdata
	movq	%rax, %rdi
	callq	_hid_get_drvdata
	movq	%rax, %rdi
	movq	(%rbx), %rax
	movq	_FF_RUMBLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	imull	$100, 16(%rbx), %eax
	movq	_U16_MAX@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, (%rdi)
	imull	$100, 8(%rbx), %eax
	cltd
	idivl	(%rcx)
	movl	%eax, 4(%rdi)
	addq	$8, %rdi
	callq	_schedule_work
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_RUMBLE,8,3                  ## @FF_RUMBLE
	.comm	_U16_MAX,4,2                    ## @U16_MAX
	.no_dead_strip	_ms_play_effect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ms_play_effect
_ms_play_effect:                        ; @ms_play_effect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_input_get_drvdata
	bl	_hid_get_drvdata
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _FF_RUMBLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_RUMBLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
	mov	w9, #100
	mul	w8, w8, w9
Lloh3:
	adrp	x10, _U16_MAX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _U16_MAX@GOTPAGEOFF]
	ldr	w11, [x10]
	sdiv	w8, w8, w11
	str	w8, [x0]
	ldr	w8, [x19, #8]
	mul	w8, w8, w9
	ldr	w9, [x10]
	sdiv	w8, w8, w9
	str	w8, [x0, #4]
	add	x0, x0, #8
	bl	_schedule_work
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_RUMBLE,8,3                  ; @FF_RUMBLE
	.comm	_U16_MAX,4,2                    ; @U16_MAX
	.no_dead_strip	_ms_play_effect
.subsections_via_symbols
