	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidp_process_data
_hidp_process_data:                     ## @hidp_process_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	callq	_BT_DBG
	cmpb	$-126, %bl
	jl	LBB0_8
## %bb.1:
	cmpb	$-125, %bl
	je	LBB0_8
## %bb.2:
	cmpb	$-126, %bl
	jne	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	callq	_hidp_set_timer
	cmpl	$0, 4(%r14)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hidp_input_report
LBB0_5:
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.6:
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hid_input_report               ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_HIDP_TRANS_HANDSHAKE@GOTPCREL(%rip), %rax
	movq	_HIDP_HSHK_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___hidp_send_ctrl_message       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"session %p skb %p len %d param 0x%02x"

	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
	.comm	_HIDP_TRANS_HANDSHAKE,4,2       ## @HIDP_TRANS_HANDSHAKE
	.comm	_HIDP_HSHK_ERR_INVALID_PARAMETER,4,2 ## @HIDP_HSHK_ERR_INVALID_PARAMETER
	.no_dead_strip	_hidp_process_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidp_process_data
_hidp_process_data:                     ; @hidp_process_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w3, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	mov	x4, x21
	bl	_BT_DBG
	sub	w8, w21, #128
	cmp	w8, #2
	b.lo	LBB0_7
; %bb.1:
	cmp	w21, #131
	b.eq	LBB0_7
; %bb.2:
	cmp	w21, #130
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_hidp_set_timer
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_hidp_input_report
LBB0_5:
	ldr	w0, [x20]
	cbz	w0, LBB0_7
; %bb.6:
Lloh2:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldp	w3, w2, [x19]
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hid_input_report
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh5:
	adrp	x8, _HIDP_TRANS_HANDSHAKE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HIDP_TRANS_HANDSHAKE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _HIDP_HSHK_ERR_INVALID_PARAMETER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HIDP_HSHK_ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	mov	x2, #0
	mov	w3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___hidp_send_ctrl_message
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"session %p skb %p len %d param 0x%02x"

	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.comm	_HIDP_TRANS_HANDSHAKE,4,2       ; @HIDP_TRANS_HANDSHAKE
	.comm	_HIDP_HSHK_ERR_INVALID_PARAMETER,4,2 ; @HIDP_HSHK_ERR_INVALID_PARAMETER
	.no_dead_strip	_hidp_process_data
.subsections_via_symbols
