	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hidp_process_transmit
_hidp_process_transmit:                 ## @hidp_process_transmit
	.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
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_BT_DBG
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r15), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_hidp_send_frame
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_hidp_set_timer
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r14, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_head
LBB0_5:
	movq	%r15, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	callq	_hidp_send_frame
	testq	%rax, %rax
	js	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_hidp_set_timer
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	%r15, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_queue_head                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"session %p"

	.no_dead_strip	_hidp_process_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hidp_process_transmit
_hidp_process_transmit:                 ; @hidp_process_transmit
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_BT_DBG
	add	x20, x19, #8
	mov	x0, x20
	bl	_skb_dequeue
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	ldp	w2, w1, [x21]
	bl	_hidp_send_frame
	tbnz	x0, #63, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_hidp_set_timer
	mov	x0, x21
	bl	_kfree_skb
	mov	x0, x20
	bl	_skb_dequeue
	mov	x21, x0
	cbnz	x0, LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_skb_queue_head
LBB0_5:
	mov	x0, x19
	bl	_skb_dequeue
	cbz	x0, LBB0_9
; %bb.6:
	mov	x20, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	ldp	w2, w1, [x20]
	bl	_hidp_send_frame
	tbnz	x0, #63, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_hidp_set_timer
	mov	x0, x20
	bl	_kfree_skb
	mov	x0, x19
	bl	_skb_dequeue
	mov	x20, x0
	cbnz	x0, LBB0_7
LBB0_9:
	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_10:
	mov	x0, x19
	mov	x1, x20
	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	_skb_queue_head
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"session %p"

	.no_dead_strip	_hidp_process_transmit
.subsections_via_symbols
