	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logi_dj_recv_forward_dj
_logi_dj_recv_forward_dj:               ## @logi_dj_recv_forward_dj
	.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	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rsi), %rcx
	movq	(%rax,%rcx,8), %r14
	movl	8(%rsi), %r12d
	addq	$8, %rbx
	movq	_hid_reportid_size_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	jge	LBB0_1
## %bb.3:
	movq	(%r15), %rax
	movslq	(%rbx), %rsi
	movq	(%rax,%rsi,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.4:
	movl	(%r14), %edi
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	movl	$1, %r8d
	callq	_hid_input_report
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbg_hid                        ## TAILCALL
LBB0_1:
	movl	(%rbx), %esi
LBB0_2:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dbg_hid                        ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hid_reportid_size_map,8,3      ## @hid_reportid_size_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid report type:%x\n"

	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
L_.str.1:                               ## @.str.1
	.asciz	"hid_input_report error\n"

	.no_dead_strip	_logi_dj_recv_forward_dj
.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_dj
_logi_dj_recv_forward_dj:               ; @logi_dj_recv_forward_dj
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x9, [x1]
	ldr	x20, [x8, x9, lsl #3]
	ldr	w22, [x19, #8]!
Lloh0:
	adrp	x21, _hid_reportid_size_map@GOTPAGE
Lloh1:
	ldr	x21, [x21, _hid_reportid_size_map@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w22, w0
	b.ge	LBB0_4
; %bb.1:
	ldr	x9, [x21]
	ldrsw	x8, [x19]
	ldr	x3, [x9, x8, lsl #3]
	cbz	x3, LBB0_5
; %bb.2:
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x19
	mov	w4, #1
	bl	_hid_input_report
	cbz	x0, LBB0_6
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_dbg_hid
LBB0_4:
	ldr	w8, [x19]
LBB0_5:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_hid
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_hid_reportid_size_map,8,3      ; @hid_reportid_size_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid report type:%x\n"

	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
l_.str.1:                               ; @.str.1
	.asciz	"hid_input_report error\n"

	.no_dead_strip	_logi_dj_recv_forward_dj
.subsections_via_symbols
