	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rmi_f54_get_report_size
_rmi_f54_get_report_size:               ## @rmi_f54_get_report_size
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rdi
	callq	_dev_get_drvdata
	movq	8(%rax), %r14
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %r14d
LBB0_2:
	movq	(%rax), %r15
	testq	%r15, %r15
	jne	LBB0_4
## %bb.3:
	movslq	4(%rbx), %r15
LBB0_4:
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	_rmi_f54_get_reptype
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	jb	LBB0_9
## %bb.5:
	cmpl	$133, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$132, %eax
	jne	LBB0_7
## %bb.8:
	imull	%r15d, %r14d
	movslq	%r14d, %rax
	jmp	LBB0_10
LBB0_9:
	movslq	%r14d, %rcx
	movslq	%r15d, %rax
	imulq	%rcx, %rax
	shlq	$2, %rax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rmi_f54_get_report_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rmi_f54_get_report_size
_rmi_f54_get_report_size:               ; @rmi_f54_get_report_size
	.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, x0
	ldr	x8, [x0, #16]
	ldr	x0, [x8]
	bl	_dev_get_drvdata
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_8
; %bb.1:
	ldr	x21, [x0]
	cbnz	x21, LBB0_3
LBB0_2:
	ldrsw	x21, [x19, #4]
LBB0_3:
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_rmi_f54_get_reptype
	sub	w8, w0, #128
	cmp	w8, #4
	b.lo	LBB0_6
; %bb.4:
	cmp	w0, #133
	b.eq	LBB0_6
; %bb.5:
	cmp	w0, #132
	mul	w8, w20, w21
	sxtw	x8, w8
	csel	x0, xzr, x8, ne
	b	LBB0_7
LBB0_6:
	sbfiz	x8, x20, #2, #32
	sxtw	x9, w21
	mul	x0, x9, x8
LBB0_7:
	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
LBB0_8:
	ldr	w20, [x19]
	ldr	x21, [x0]
	cbnz	x21, LBB0_3
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rmi_f54_get_report_size
.subsections_via_symbols
