	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcsp_dequeue
_bcsp_dequeue:                          ## @bcsp_dequeue
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r13
	leaq	32(%r13), %r14
	movq	%r14, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %r15
	movl	(%rax), %r12d
	movq	%rax, %rdi
	callq	_bt_cb
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_bcsp_prepare_pkt
	testq	%rax, %rax
	je	LBB0_2
## %bb.10:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_kfree_skb
	jmp	LBB0_11
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_head
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
LBB0_3:
	leaq	16(%r13), %r14
	movq	_SINGLE_DEPTH_NESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_spin_lock_irqsave_nested
	movq	8(%r13), %rax
	movq	_BCSP_TXWINSIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_7
## %bb.4:
	leaq	24(%r13), %rbx
	movq	%rbx, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %r12
	movq	8(%rax), %r15
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_bt_cb
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_bcsp_prepare_pkt
	testq	%rax, %rax
	je	LBB0_6
## %bb.12:
	movq	%rax, %r15
	leaq	8(%r13), %rdi
	movq	%r12, %rsi
	callq	___skb_queue_tail
	addq	$28, %r13
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	movslq	%edx, %rsi
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_mod_timer
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_11
LBB0_6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_skb_queue_head
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	cmpq	$0, (%r13)
	je	LBB0_8
## %bb.9:
	movq	_BCSP_ACK_PKT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bcsp_prepare_pkt               ## TAILCALL
LBB0_8:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not dequeue pkt because alloc_skb failed"

	.comm	_SINGLE_DEPTH_NESTING,4,2       ## @SINGLE_DEPTH_NESTING
	.comm	_BCSP_TXWINSIZE,8,3             ## @BCSP_TXWINSIZE
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_BCSP_ACK_PKT,4,2               ## @BCSP_ACK_PKT
	.no_dead_strip	_bcsp_dequeue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcsp_dequeue
_bcsp_dequeue:                          ; @bcsp_dequeue
	.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
	ldr	x19, [x0]
	add	x20, x19, #32
	mov	x0, x20
	bl	_skb_dequeue
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	x21, [x0, #8]
	ldr	w23, [x0]
	bl	_bt_cb
	ldr	w3, [x0]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_bcsp_prepare_pkt
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	mov	x0, x22
	bl	_kfree_skb
	b	LBB0_12
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	bl	_skb_queue_head
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
LBB0_4:
	add	x20, x19, #16
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	x22, x19
	ldr	x8, [x22, #8]!
Lloh5:
	adrp	x9, _BCSP_TXWINSIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BCSP_TXWINSIZE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.5:
	add	x24, x19, #24
	mov	x0, x24
	bl	_skb_dequeue
	cbz	x0, LBB0_9
; %bb.6:
	mov	x23, x0
	ldr	x21, [x0, #8]
	ldr	w25, [x0]
	bl	_bt_cb
	ldr	w3, [x0]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_bcsp_prepare_pkt
	cbz	x0, LBB0_8
; %bb.7:
	mov	x21, x0
	mov	x0, x22
	mov	x1, x23
	bl	___skb_queue_tail
	add	x0, x19, #28
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _HZ@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #2
	add	x1, x8, w9, sxtw
	bl	_mod_timer
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_12
LBB0_8:
	mov	x0, x24
	mov	x1, x23
	bl	_skb_queue_head
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
LBB0_9:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.10:
Lloh16:
	adrp	x8, _BCSP_ACK_PKT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BCSP_ACK_PKT@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	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
	b	_bcsp_prepare_pkt
LBB0_11:
	mov	x21, #0
LBB0_12:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not dequeue pkt because alloc_skb failed"

	.comm	_SINGLE_DEPTH_NESTING,4,2       ; @SINGLE_DEPTH_NESTING
	.comm	_BCSP_TXWINSIZE,8,3             ; @BCSP_TXWINSIZE
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_BCSP_ACK_PKT,4,2               ; @BCSP_ACK_PKT
	.no_dead_strip	_bcsp_dequeue
.subsections_via_symbols
