	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_rx_task
_hci_rx_task:                           ## @hci_rx_task
	.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, %r14
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_BT_DBG
	movq	_hci_task_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r13
	leaq	8(%r14), %r12
	leaq	4(%r14), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_kfree_skb
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_skb_dequeue
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_hci_send_to_sock
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_HCI_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_HCI_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bt_cb
	movl	(%rax), %eax
	orl	$2, %eax
	cmpl	$130, %eax
	je	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_bt_cb
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %eax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_hci_event_packet
	jmp	LBB0_6
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_BT_DBG
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_hci_scodata_packet
	jmp	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_BT_DBG
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_hci_acldata_packet
	jmp	LBB0_6
LBB0_7:
	movq	_hci_task_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_read_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_hci_task_lock,4,2              ## @hci_task_lock
	.comm	_HCI_RAW,4,2                    ## @HCI_RAW
	.comm	_HCI_INIT,4,2                   ## @HCI_INIT
L_.str.1:                               ## @.str.1
	.asciz	"%s ACL data packet"

L_.str.2:                               ## @.str.2
	.asciz	"%s SCO data packet"

	.no_dead_strip	_hci_rx_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_rx_task
_hci_rx_task:                           ; @hci_rx_task
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	x20, x0
	ldr	w1, [x20], #12
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
Lloh2:
	adrp	x0, _hci_task_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _hci_task_lock@GOTPAGEOFF]
	bl	_read_lock
	mov	x0, x20
	bl	_skb_dequeue
	cbz	x0, LBB0_15
; %bb.1:
	mov	x25, x0
	add	x21, x19, #8
	add	x22, x19, #4
Lloh4:
	adrp	x26, _HCI_RAW@GOTPAGE
Lloh5:
	ldr	x26, [x26, _HCI_RAW@GOTPAGEOFF]
Lloh6:
	adrp	x27, _HCI_INIT@GOTPAGE
Lloh7:
	ldr	x27, [x27, _HCI_INIT@GOTPAGEOFF]
Lloh8:
	adrp	x23, l_.str.2@PAGE
Lloh9:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh10:
	adrp	x24, l_.str.1@PAGE
Lloh11:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_kfree_skb
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_skb_dequeue
	mov	x25, x0
	cbz	x0, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_atomic_read
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_hci_send_to_sock
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_bt_cb
	ldr	w8, [x0]
	orr	w8, w8, #0x2
	cmp	w8, #130
	b.eq	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_bt_cb
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #130
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_hci_event_packet
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x19]
	mov	x0, x23
	bl	_BT_DBG
	mov	x0, x19
	mov	x1, x25
	bl	_hci_scodata_packet
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x19]
	mov	x0, x24
	bl	_BT_DBG
	mov	x0, x19
	mov	x1, x25
	bl	_hci_acldata_packet
	b	LBB0_3
LBB0_15:
Lloh12:
	adrp	x0, _hci_task_lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _hci_task_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_read_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_hci_task_lock,4,2              ; @hci_task_lock
	.comm	_HCI_RAW,4,2                    ; @HCI_RAW
	.comm	_HCI_INIT,4,2                   ; @HCI_INIT
l_.str.1:                               ; @.str.1
	.asciz	"%s ACL data packet"

l_.str.2:                               ; @.str.2
	.asciz	"%s SCO data packet"

	.no_dead_strip	_hci_rx_task
.subsections_via_symbols
