	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dtl1_hci_send_frame
_dtl1_hci_send_frame:                   ## @dtl1_hci_send_frame
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	movq	16(%rbx), %r14
	callq	_bt_cb
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.5:
	incl	8(%rbx)
	movl	$129, -56(%rbp)
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	incl	(%rbx)
	movl	$131, -56(%rbp)
	jmp	LBB0_10
LBB0_9:
	incl	4(%rbx)
	movl	$130, -56(%rbp)
LBB0_10:
	movq	$0, -48(%rbp)
	movslq	(%r13), %rax
	movl	%eax, -52(%rbp)
	movq	_NSHL@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	leaq	(%rax,%rcx), %rdi
	incq	%rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bt_skb_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r15
	movq	(%r12), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_skb_put
	movl	(%r13), %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_skb_copy_from_linear_data
	testb	$1, (%r13)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_skb_put
	movq	$0, (%rax)
LBB0_14:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_skb_push
	movq	(%r12), %rdx
	leaq	-56(%rbp), %rsi
	movl	%eax, %edi
	callq	_memcpy
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movq	%r14, %rdi
	callq	_dtl1_write_wakeup
	movq	%r13, %rdi
	callq	_kfree_skb
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_EILSEQ@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$24, %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	"Frame for unknown HCI device (hdev=NULL)"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.comm	_NSHL,8,3                       ## @NSHL
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_dtl1_hci_send_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dtl1_hci_send_frame
_dtl1_hci_send_frame:                   ; @dtl1_hci_send_frame
	.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
	ldr	x21, [x0, #8]
	cbz	x21, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x20, [x21, #16]
	bl	_bt_cb
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.4:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	mov	w8, #129
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_14
LBB0_6:
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	w8, #131
	b	LBB0_8
LBB0_7:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	mov	w8, #130
LBB0_8:
	str	w8, [sp]
	str	xzr, [sp, #8]
	ldrsw	x8, [x19]
	str	w8, [sp, #4]
Lloh4:
	adrp	x22, _NSHL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _NSHL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x8, x8, x9
	add	x0, x8, #1
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_bt_skb_alloc
	cbz	x0, LBB0_12
; %bb.9:
	mov	x21, x0
	ldr	x1, [x22]
	bl	_skb_reserve
	ldr	w1, [x19]
	mov	x0, x21
	bl	_skb_put
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x19
	bl	_skb_copy_from_linear_data
	ldrb	w8, [x19]
	tbz	w8, #0, LBB0_11
; %bb.10:
	mov	x0, x21
	mov	w1, #1
	bl	_skb_put
	str	xzr, [x0]
LBB0_11:
	ldr	x1, [x22]
	mov	x0, x21
	bl	_skb_push
	ldr	x2, [x22]
	mov	x1, sp
	bl	_memcpy
	mov	x0, x20
	mov	x1, x21
	bl	_skb_queue_tail
	mov	x0, x20
	bl	_dtl1_write_wakeup
	mov	x0, x19
	bl	_kfree_skb
	mov	w0, #0
	b	LBB0_15
LBB0_12:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh11:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Frame for unknown HCI device (hdev=NULL)"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.comm	_NSHL,8,3                       ; @NSHL
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_dtl1_hci_send_frame
.subsections_via_symbols
