	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vhci_send_frame
_vhci_send_frame:                       ## @vhci_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movq	_HCI_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movq	(%rbx), %r14
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_skb_push
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_bt_cb
	movl	%r15d, %edi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_memcpy
	leaq	4(%r14), %rdi
	movq	%r12, %rsi
	callq	_skb_queue_tail
	movq	%r14, %rdi
	callq	_wake_up_interruptible
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	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	_HCI_RUNNING,4,2                ## @HCI_RUNNING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_vhci_send_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vhci_send_frame
_vhci_send_frame:                       ; @vhci_send_frame
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _HCI_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCI_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x20, [x20]
	mov	x0, x19
	mov	w1, #1
	bl	_skb_push
	mov	x21, x0
	mov	x0, x19
	bl	_bt_cb
	mov	x1, x0
	mov	x0, x21
	mov	w2, #1
	bl	_memcpy
	add	x0, x20, #4
	mov	x1, x19
	bl	_skb_queue_tail
	mov	x0, x20
	bl	_wake_up_interruptible
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.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	_HCI_RUNNING,4,2                ; @HCI_RUNNING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_vhci_send_frame
.subsections_via_symbols
