	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_scodata_packet
_hci_scodata_packet:                    ## @hci_scodata_packet
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %r15
	movq	_HCI_SCO_HDR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_pull
	movl	(%r15), %edi
	callq	___le16_to_cpu
	movl	%eax, %r15d
	movl	(%rbx), %esi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %ecx
	callq	_BT_DBG
	incl	4(%rbx)
	movq	%rbx, %rdi
	callq	_hci_dev_lock
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_hci_conn_hash_lookup_handle
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_hci_dev_unlock
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	_hci_proto@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HCI_PROTO_SCO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_4:
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %edx
	callq	_BT_ERR
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCI_SCO_HDR_SIZE,4,2           ## @HCI_SCO_HDR_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s len %d handle 0x%x"

	.comm	_hci_proto,8,3                  ## @hci_proto
	.comm	_HCI_PROTO_SCO,8,3              ## @HCI_PROTO_SCO
L_.str.1:                               ## @.str.1
	.asciz	"%s SCO packet for unknown connection handle %d"

	.no_dead_strip	_hci_scodata_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_scodata_packet
_hci_scodata_packet:                    ; @hci_scodata_packet
	.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, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
Lloh0:
	adrp	x8, _HCI_SCO_HDR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCI_SCO_HDR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_pull
	ldr	w0, [x21]
	bl	___le16_to_cpu
	mov	x21, x0
	ldr	w1, [x20]
	ldr	w2, [x19]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x3, x21
	bl	_BT_DBG
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_hci_dev_lock
	mov	x0, x20
	mov	x1, x21
	bl	_hci_conn_hash_lookup_handle
	mov	x22, x0
	mov	x0, x20
	bl	_hci_dev_unlock
	cbz	x22, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _hci_proto@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hci_proto@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _HCI_PROTO_SCO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HCI_PROTO_SCO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x2, [x8]
	cbz	x2, LBB0_5
; %bb.3:
	mov	x0, x22
	mov	x1, 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
	br	x2
LBB0_4:
	ldr	w1, [x20]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_BT_ERR
LBB0_5:
	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	_kfree_skb
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_HCI_SCO_HDR_SIZE,4,2           ; @HCI_SCO_HDR_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s len %d handle 0x%x"

	.comm	_hci_proto,8,3                  ; @hci_proto
	.comm	_HCI_PROTO_SCO,8,3              ; @HCI_PROTO_SCO
l_.str.1:                               ; @.str.1
	.asciz	"%s SCO packet for unknown connection handle %d"

	.no_dead_strip	_hci_scodata_packet
.subsections_via_symbols
