	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uinput_dev_upload_effect
_uinput_dev_upload_effect:              ## @uinput_dev_upload_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_input_get_drvdata
	movq	(%rbx), %rcx
	movq	_FF_PERIODIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rcx
	movq	_FF_CUSTOM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_UI_FF_UPLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movq	%rbx, -32(%rbp)
	movq	%r14, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_uinput_request_submit
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_PERIODIC,8,3                ## @FF_PERIODIC
	.comm	_FF_CUSTOM,8,3                  ## @FF_CUSTOM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UI_FF_UPLOAD,4,2               ## @UI_FF_UPLOAD
	.no_dead_strip	_uinput_dev_upload_effect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uinput_dev_upload_effect
_uinput_dev_upload_effect:              ; @uinput_dev_upload_effect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
	mov	x20, x1
	bl	_input_get_drvdata
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _FF_PERIODIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_PERIODIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _FF_CUSTOM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FF_CUSTOM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _UI_FF_UPLOAD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UI_FF_UPLOAD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	stp	x19, x20, [sp, #8]
	add	x1, sp, #8
	bl	_uinput_request_submit
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_PERIODIC,8,3                ; @FF_PERIODIC
	.comm	_FF_CUSTOM,8,3                  ; @FF_CUSTOM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UI_FF_UPLOAD,4,2               ; @UI_FF_UPLOAD
	.no_dead_strip	_uinput_dev_upload_effect
.subsections_via_symbols
