	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emsff_play
_emsff_play:                            ## @emsff_play
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	callq	_input_get_drvdata
	movq	%rax, %r14
	movslq	(%rbx), %r12
	movslq	4(%rbx), %rbx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_dbg_hid
	imulq	$2139127681, %r12, %rdx         ## imm = 0x7F807F81
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$39, %rdx
	addl	%eax, %edx
	imulq	$2139127681, %rbx, %rsi         ## imm = 0x7F807F81
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$39, %rsi
	addl	%eax, %esi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	%edx, 4(%rax)
	movl	%esi, 8(%rax)
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dbg_hid
	movq	(%r15), %rsi
	movq	_HID_REQ_SET_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_hid_hw_request
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"called with 0x%04x 0x%04x\n"

L_.str.1:                               ## @.str.1
	.asciz	"running with 0x%02x 0x%02x\n"

	.comm	_HID_REQ_SET_REPORT,4,2         ## @HID_REQ_SET_REPORT
	.no_dead_strip	_emsff_play
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emsff_play
_emsff_play:                            ; @emsff_play
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	bl	_input_get_drvdata
	mov	x21, x0
	ldpsw	x22, x19, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x22
	bl	_dbg_hid
	mov	w8, #32641
	movk	w8, #32640, lsl #16
	mul	x9, x22, x8
	lsr	x10, x9, #63
	asr	x9, x9, #39
	add	w2, w9, w10
	mul	x8, x19, x8
	lsr	x9, x8, #63
	asr	x8, x8, #39
	ldr	x10, [x20]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	x10, [x10]
	add	w1, w8, w9
	stp	w2, w1, [x10, #4]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg_hid
	ldr	x1, [x20]
Lloh4:
	adrp	x8, _HID_REQ_SET_REPORT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HID_REQ_SET_REPORT@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_hid_hw_request
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"called with 0x%04x 0x%04x\n"

l_.str.1:                               ; @.str.1
	.asciz	"running with 0x%02x 0x%02x\n"

	.comm	_HID_REQ_SET_REPORT,4,2         ; @HID_REQ_SET_REPORT
	.no_dead_strip	_emsff_play
.subsections_via_symbols
