	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ll_enqueue
_ll_enqueue:                            ## @ll_enqueue
	.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	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rdi), %r15
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_skb_push
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_bt_cb
	movl	%ebx, %edi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_memcpy
	leaq	4(%r15), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_spin_lock_irqsave
	movl	(%r15), %esi
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_8
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	addq	$12, %r15
	jmp	LBB0_4
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	leaq	8(%r15), %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movq	_HCILL_WAKE_UP_IND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_send_hcill_cmd
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	$129, (%r15)
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	addq	$8, %r15
LBB0_4:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_ERR
	movq	%r13, %rdi
	callq	_kfree_skb
	jmp	LBB0_10
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_ERR
LBB0_10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	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	"hu %p skb %p"

L_.str.1:                               ## @.str.1
	.asciz	"device awake, sending normally"

L_.str.2:                               ## @.str.2
	.asciz	"device asleep, waking up and queueing packet"

	.comm	_HCILL_WAKE_UP_IND,4,2          ## @HCILL_WAKE_UP_IND
L_.str.3:                               ## @.str.3
	.asciz	"cannot wake up device"

L_.str.4:                               ## @.str.4
	.asciz	"device waking up, queueing packet"

L_.str.5:                               ## @.str.5
	.asciz	"illegal hcill state: %ld (losing packet)"

	.no_dead_strip	_ll_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ll_enqueue
_ll_enqueue:                            ; @ll_enqueue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	stp	x0, x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
	mov	x0, x20
	mov	w1, #1
	bl	_skb_push
	mov	x19, x0
	mov	x0, x20
	bl	_bt_cb
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_memcpy
	add	x19, x22, #4
	mov	x0, x19
	mov	x1, #0
	bl	_spin_lock_irqsave
	ldr	w8, [x22]
	cmp	w8, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_DBG
	add	x0, x22, #12
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BT_DBG
	add	x0, x22, #8
	mov	x1, x20
	bl	_skb_queue_tail
Lloh6:
	adrp	x8, _HCILL_WAKE_UP_IND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCILL_WAKE_UP_IND@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_send_hcill_cmd
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	w8, #129
	str	w8, [x22]
	b	LBB0_10
LBB0_6:
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BT_DBG
	add	x0, x22, #8
LBB0_7:
	mov	x1, x20
	bl	_skb_queue_tail
	b	LBB0_10
LBB0_8:
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_BT_ERR
	mov	x0, x20
	bl	_kfree_skb
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BT_ERR
LBB0_10:
	mov	x0, x19
	mov	x1, #0
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hu %p skb %p"

l_.str.1:                               ; @.str.1
	.asciz	"device awake, sending normally"

l_.str.2:                               ; @.str.2
	.asciz	"device asleep, waking up and queueing packet"

	.comm	_HCILL_WAKE_UP_IND,4,2          ; @HCILL_WAKE_UP_IND
l_.str.3:                               ; @.str.3
	.asciz	"cannot wake up device"

l_.str.4:                               ; @.str.4
	.asciz	"device waking up, queueing packet"

l_.str.5:                               ; @.str.5
	.asciz	"illegal hcill state: %ld (losing packet)"

	.no_dead_strip	_ll_enqueue
.subsections_via_symbols
