	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_hid_output_raw_report
_i2c_hid_output_raw_report:             ## @i2c_hid_output_raw_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	%r8d, %r15d
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	(%rdi), %r13
	movq	%r13, %rdi
	callq	_i2c_get_clientdata
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rcx
	cmpb	%bl, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_lock
	movl	%r15d, %r9d
	xorl	%r15d, %r15d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	setne	%r15b
	subq	%r15, %r12
	leaq	(%r14,%r15,4), %rcx
	movq	_HID_FEATURE_REPORT@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpb	%bl, (%rax)
	sete	%sil
	orl	$2, %esi
	movq	%r13, %rdi
	movq	%r12, %r8
	callq	_i2c_hid_set_or_send_report
	testl	%eax, %eax
	setns	%cl
	andb	%cl, %r15b
	movzbl	%r15b, %ebx
	addl	%eax, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_INPUT_REPORT,1,0           ## @HID_INPUT_REPORT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HID_FEATURE_REPORT,1,0         ## @HID_FEATURE_REPORT
	.no_dead_strip	_i2c_hid_output_raw_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_hid_output_raw_report
_i2c_hid_output_raw_report:             ; @i2c_hid_output_raw_report
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x1
	ldr	x22, [x0]
	mov	x0, x22
	bl	_i2c_get_clientdata
Lloh0:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_3
LBB0_2:
	mov	x20, x0
	ldr	w25, [x23]
	bl	_mutex_lock
	cmp	w25, #0
	cset	w26, ne
	sub	x4, x24, x26
	add	x3, x23, w26, uxtw #2
Lloh5:
	adrp	x8, _HID_FEATURE_REPORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HID_FEATURE_REPORT@GOTPAGEOFF]
	ldrb	w8, [x8]
	cmp	w8, w21
	mov	w8, #2
	cinc	w1, w8, eq
	mov	x0, x22
	mov	x2, x25
	mov	x5, x19
	bl	_i2c_hid_set_or_send_report
	cmp	w0, #0
	cset	w8, ge
	and	w8, w26, w8
	add	w19, w0, w8
	mov	x0, x20
	bl	_mutex_unlock
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_INPUT_REPORT,1,0           ; @HID_INPUT_REPORT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HID_FEATURE_REPORT,1,0         ; @HID_FEATURE_REPORT
	.no_dead_strip	_i2c_hid_output_raw_report
.subsections_via_symbols
