	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcsp_timed_event
_bcsp_timed_event:                      ## @bcsp_timed_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	leaq	4(%rbx), %r15
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_BT_DBG
	movq	_SINGLE_DEPTH_NESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_spin_lock_irqsave_nested
	movq	%r15, %rdi
	callq	___skb_dequeue_tail
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	12(%rbx), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	decl	%ecx
	andl	$7, %ecx
	movl	%ecx, (%rbx)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_skb_queue_head
	movq	%r15, %rdi
	callq	___skb_dequeue_tail
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hci_uart_tx_wakeup             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hu %p retransmitting %u pkts"

	.comm	_SINGLE_DEPTH_NESTING,4,2       ## @SINGLE_DEPTH_NESTING
	.no_dead_strip	_bcsp_timed_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcsp_timed_event
_bcsp_timed_event:                      ; @bcsp_timed_event
	.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
	ldr	x22, [x0]
	add	x20, x22, #4
	ldr	w2, [x22, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_BT_DBG
Lloh2:
	adrp	x8, _SINGLE_DEPTH_NESTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SINGLE_DEPTH_NESTING@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_spin_lock_irqsave_nested
	mov	x0, x20
	bl	___skb_dequeue_tail
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x0
	add	x21, x22, #12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	sub	w8, w8, #1
	and	w8, w8, #0x7
	str	w8, [x22]
	mov	x0, x21
	bl	_skb_queue_head
	mov	x0, x20
	bl	___skb_dequeue_tail
	mov	x1, x0
	cbnz	x0, LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	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	_hci_uart_tx_wakeup
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hu %p retransmitting %u pkts"

	.comm	_SINGLE_DEPTH_NESTING,4,2       ; @SINGLE_DEPTH_NESTING
	.no_dead_strip	_bcsp_timed_event
.subsections_via_symbols
