	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidp_output_raw_report
_hidp_output_raw_report:                ## @hidp_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdx
	cmpb	$-127, %cl
	je	LBB0_1
## %bb.2:
	cmpb	$-128, %cl
	jne	LBB0_6
## %bb.3:
	movq	_HIDP_DATA_RTYPE_OUPUT@GOTPCREL(%rip), %rcx
	movq	_HIDP_TRANS_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_HIDP_DATA_RTYPE_FEATURE@GOTPCREL(%rip), %rcx
	movq	_HIDP_TRANS_SET_REPORT@GOTPCREL(%rip), %rax
LBB0_4:
	movb	(%rcx), %cl
	orb	(%rax), %cl
	movl	(%rdi), %edi
	movzbl	%cl, %esi
	movq	%rbx, %rcx
	callq	_hidp_send_ctrl_message
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIDP_TRANS_SET_REPORT,1,0      ## @HIDP_TRANS_SET_REPORT
	.comm	_HIDP_DATA_RTYPE_FEATURE,1,0    ## @HIDP_DATA_RTYPE_FEATURE
	.comm	_HIDP_TRANS_DATA,1,0            ## @HIDP_TRANS_DATA
	.comm	_HIDP_DATA_RTYPE_OUPUT,1,0      ## @HIDP_DATA_RTYPE_OUPUT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_hidp_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 hidp_output_raw_report
_hidp_output_raw_report:                ; @hidp_output_raw_report
	.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	x2, x1
	cmp	w3, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w3, #128
	b.ne	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _HIDP_DATA_RTYPE_OUPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIDP_DATA_RTYPE_OUPUT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _HIDP_TRANS_DATA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HIDP_TRANS_DATA@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _HIDP_DATA_RTYPE_FEATURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HIDP_DATA_RTYPE_FEATURE@GOTPAGEOFF]
Lloh6:
	adrp	x9, _HIDP_TRANS_SET_REPORT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HIDP_TRANS_SET_REPORT@GOTPAGEOFF]
LBB0_4:
	ldrb	w9, [x9]
	ldrb	w8, [x8]
	orr	w1, w8, w9
	ldr	w0, [x0]
	mov	x3, x19
	bl	_hidp_send_ctrl_message
	cbz	x0, LBB0_8
; %bb.5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HIDP_TRANS_SET_REPORT,1,0      ; @HIDP_TRANS_SET_REPORT
	.comm	_HIDP_DATA_RTYPE_FEATURE,1,0    ; @HIDP_DATA_RTYPE_FEATURE
	.comm	_HIDP_TRANS_DATA,1,0            ; @HIDP_TRANS_DATA
	.comm	_HIDP_DATA_RTYPE_OUPUT,1,0      ; @HIDP_DATA_RTYPE_OUPUT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_hidp_output_raw_report
.subsections_via_symbols
