	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function logi_hidpp_dev_conn_notif_equad
_logi_hidpp_dev_conn_notif_equad:       ## @logi_hidpp_dev_conn_notif_equad
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	callq	_hid_get_drvdata
	movq	_WORKITEM_TYPE_PAIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	movq	(%r14), %rdx
	movq	_HIDPP_PARAM_DEVICE_INFO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_HIDPP_DEVICE_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdx,%rsi,4), %ecx
	movl	%ecx, (%rbx)
	movq	_HIDPP_PARAM_EQUAD_MSB@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rdx,%rsi,4), %esi
	movl	%esi, 4(%rbx)
	movq	_HIDPP_PARAM_EQUAD_LSB@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rdx,%rsi,4), %edx
	movl	%edx, 8(%rbx)
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_6
## %bb.2:
	movq	_STD_KEYBOARD@GOTPCREL(%rip), %rcx
	movq	_MULTIMEDIA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_POWER_KEYS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MEDIA_CENTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_HIDPP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	12(%rbx), %ecx
	addq	$12, %rbx
	jmp	LBB0_5
LBB0_3:
	movq	_STD_MOUSE@GOTPCREL(%rip), %rdx
	movq	_HIDPP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	orl	12(%rbx), %ecx
	movl	%ecx, 12(%rbx)
	movl	(%rax), %eax
	movq	_recvr_type_mouse_only@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_6
## %bb.4:
	addq	$12, %rbx
	movq	_MULTIMEDIA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WORKITEM_TYPE_PAIRED,4,2       ## @WORKITEM_TYPE_PAIRED
	.comm	_HIDPP_PARAM_DEVICE_INFO,8,3    ## @HIDPP_PARAM_DEVICE_INFO
	.comm	_HIDPP_DEVICE_TYPE_MASK,4,2     ## @HIDPP_DEVICE_TYPE_MASK
	.comm	_HIDPP_PARAM_EQUAD_MSB,8,3      ## @HIDPP_PARAM_EQUAD_MSB
	.comm	_HIDPP_PARAM_EQUAD_LSB,8,3      ## @HIDPP_PARAM_EQUAD_LSB
	.comm	_STD_KEYBOARD,4,2               ## @STD_KEYBOARD
	.comm	_MULTIMEDIA,4,2                 ## @MULTIMEDIA
	.comm	_POWER_KEYS,4,2                 ## @POWER_KEYS
	.comm	_MEDIA_CENTER,4,2               ## @MEDIA_CENTER
	.comm	_HIDPP,4,2                      ## @HIDPP
	.comm	_STD_MOUSE,4,2                  ## @STD_MOUSE
	.comm	_recvr_type_mouse_only,4,2      ## @recvr_type_mouse_only
	.no_dead_strip	_logi_hidpp_dev_conn_notif_equad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function logi_hidpp_dev_conn_notif_equad
_logi_hidpp_dev_conn_notif_equad:       ; @logi_hidpp_dev_conn_notif_equad
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	_hid_get_drvdata
Lloh0:
	adrp	x8, _WORKITEM_TYPE_PAIRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WORKITEM_TYPE_PAIRED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x9, [x20]
Lloh3:
	adrp	x8, _HIDPP_PARAM_DEVICE_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HIDPP_PARAM_DEVICE_INFO@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh6:
	adrp	x10, _HIDPP_DEVICE_TYPE_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HIDPP_DEVICE_TYPE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w8, w10, w8
Lloh9:
	adrp	x10, _HIDPP_PARAM_EQUAD_MSB@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HIDPP_PARAM_EQUAD_MSB@GOTPAGEOFF]
	str	w8, [x19]
Lloh11:
	ldr	x10, [x10]
	ldr	w10, [x9, x10, lsl #2]
Lloh12:
	adrp	x11, _HIDPP_PARAM_EQUAD_LSB@GOTPAGE
Lloh13:
	ldr	x11, [x11, _HIDPP_PARAM_EQUAD_LSB@GOTPAGEOFF]
	str	w10, [x19, #4]
Lloh14:
	ldr	x10, [x11]
	ldr	w9, [x9, x10, lsl #2]
	str	w9, [x19, #8]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.2:
Lloh15:
	adrp	x8, _STD_KEYBOARD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STD_KEYBOARD@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _MULTIMEDIA@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MULTIMEDIA@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _POWER_KEYS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _POWER_KEYS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _MEDIA_CENTER@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MEDIA_CENTER@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _HIDPP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HIDPP@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w9, w8, w9
	ldr	w8, [x19, #12]!
	b	LBB0_5
LBB0_3:
Lloh30:
	adrp	x8, _STD_MOUSE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _STD_MOUSE@GOTPAGEOFF]
Lloh32:
	adrp	x9, _HIDPP@GOTPAGE
Lloh33:
	ldr	x9, [x9, _HIDPP@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #12]!
	orr	w8, w8, w9
	str	w8, [x19]
	ldr	w9, [x0]
Lloh36:
	adrp	x10, _recvr_type_mouse_only@GOTPAGE
Lloh37:
	ldr	x10, [x10, _recvr_type_mouse_only@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.4:
Lloh39:
	adrp	x9, _MULTIMEDIA@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MULTIMEDIA@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
LBB0_5:
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_WORKITEM_TYPE_PAIRED,4,2       ; @WORKITEM_TYPE_PAIRED
	.comm	_HIDPP_PARAM_DEVICE_INFO,8,3    ; @HIDPP_PARAM_DEVICE_INFO
	.comm	_HIDPP_DEVICE_TYPE_MASK,4,2     ; @HIDPP_DEVICE_TYPE_MASK
	.comm	_HIDPP_PARAM_EQUAD_MSB,8,3      ; @HIDPP_PARAM_EQUAD_MSB
	.comm	_HIDPP_PARAM_EQUAD_LSB,8,3      ; @HIDPP_PARAM_EQUAD_LSB
	.comm	_STD_KEYBOARD,4,2               ; @STD_KEYBOARD
	.comm	_MULTIMEDIA,4,2                 ; @MULTIMEDIA
	.comm	_POWER_KEYS,4,2                 ; @POWER_KEYS
	.comm	_MEDIA_CENTER,4,2               ; @MEDIA_CENTER
	.comm	_HIDPP,4,2                      ; @HIDPP
	.comm	_STD_MOUSE,4,2                  ; @STD_MOUSE
	.comm	_recvr_type_mouse_only,4,2      ; @recvr_type_mouse_only
	.no_dead_strip	_logi_hidpp_dev_conn_notif_equad
.subsections_via_symbols
