	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logi_dj_recv_forward_input_report
_logi_dj_recv_forward_input_report:     ## @logi_dj_recv_forward_input_report
	.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	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_hid_get_drvdata
	movq	%rax, %r13
	movq	(%rbx), %r14
	movq	_REPORT_TYPE_RFREPORT_LAST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jle	LBB0_1
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hid_err                        ## TAILCALL
LBB0_1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	_DJ_MAX_PAIRED_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DJ_DEVICE_INDEX_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	addl	%eax, %edx
	jle	LBB0_7
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	leal	(%rcx,%rax), %edx
	movslq	%edx, %rdx
	cmpq	%rdx, %r15
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdx
	movq	(%rdx,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %r12d
	movq	%r14, %rdi
	callq	_BIT
	testl	%r12d, %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_DJ_MAX_PAIRED_DEVICES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DJ_DEVICE_INDEX_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_6
LBB0_7:
	movq	%r13, %rdi
	callq	_logi_dj_recv_queue_unknown_work
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbg_hid                        ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_logi_dj_recv_forward_report
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REPORT_TYPE_RFREPORT_LAST,8,3  ## @REPORT_TYPE_RFREPORT_LAST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected input report number %d\n"

	.comm	_DJ_MAX_PAIRED_DEVICES,4,2      ## @DJ_MAX_PAIRED_DEVICES
	.comm	_DJ_DEVICE_INDEX_MIN,4,2        ## @DJ_DEVICE_INDEX_MIN
L_.str.1:                               ## @.str.1
	.asciz	"No dj-devs handling input report number %d\n"

	.no_dead_strip	_logi_dj_recv_forward_input_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logi_dj_recv_forward_input_report
_logi_dj_recv_forward_input_report:     ; @logi_dj_recv_forward_input_report
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_hid_get_drvdata
	ldr	x19, [x22]
Lloh0:
	adrp	x8, _REPORT_TYPE_RFREPORT_LAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REPORT_TYPE_RFREPORT_LAST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x19, x8
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_hid_err
LBB0_2:
	mov	x20, x0
	bl	_spin_lock_irqsave
Lloh5:
	adrp	x24, _DJ_MAX_PAIRED_DEVICES@GOTPAGE
Lloh6:
	ldr	x24, [x24, _DJ_MAX_PAIRED_DEVICES@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh7:
	adrp	x25, _DJ_DEVICE_INDEX_MIN@GOTPAGE
Lloh8:
	ldr	x25, [x25, _DJ_DEVICE_INDEX_MIN@GOTPAGEOFF]
	ldr	w9, [x25]
	add	w10, w9, w8
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x26, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	add	w10, w9, w8
	cmp	x26, w10, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #8]
	ldr	x23, [x10, x26, lsl #3]
	cbz	x23, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w27, [x23]
	mov	x0, x19
	bl	_BIT
	tst	w0, w27
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	b	LBB0_4
LBB0_8:
	mov	x0, x20
	bl	_logi_dj_recv_queue_unknown_work
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dbg_hid
LBB0_9:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_logi_dj_recv_forward_report
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_REPORT_TYPE_RFREPORT_LAST,8,3  ; @REPORT_TYPE_RFREPORT_LAST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected input report number %d\n"

	.comm	_DJ_MAX_PAIRED_DEVICES,4,2      ; @DJ_MAX_PAIRED_DEVICES
	.comm	_DJ_DEVICE_INDEX_MIN,4,2        ; @DJ_DEVICE_INDEX_MIN
l_.str.1:                               ; @.str.1
	.asciz	"No dj-devs handling input report number %d\n"

	.no_dead_strip	_logi_dj_recv_forward_input_report
.subsections_via_symbols
