	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btmrvl_send_frame
_btmrvl_send_frame:                     ## @btmrvl_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, %r15
	movq	16(%rdi), %rbx
	movl	(%rdi), %edx
	movl	8(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_BT_DBG
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	_HCI_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %r12
	movq	%r12, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_bt_cb
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.7:
	cmpl	$129, %eax
	jne	LBB0_11
## %bb.8:
	incl	8(%rbx)
	jmp	LBB0_11
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BT_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_4:
	movl	(%r12), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BT_ERR
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_print_hex_dump_bytes
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_10:
	incl	(%rbx)
	jmp	LBB0_11
LBB0_9:
	incl	4(%rbx)
LBB0_11:
	movq	8(%r14), %rdi
	movq	%r15, %rsi
	callq	_skb_queue_tail
	movq	%r14, %rdi
	callq	_wake_up_interruptible
	xorl	%ebx, %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type=%d, len=%d"

L_.str.1:                               ## @.str.1
	.asciz	"Frame for unknown HCI device"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_HCI_RUNNING,4,2                ## @HCI_RUNNING
L_.str.2:                               ## @.str.2
	.asciz	"Failed testing HCI_RUNING, flags=%lx"

L_.str.3:                               ## @.str.3
	.asciz	"data: "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_btmrvl_send_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btmrvl_send_frame
_btmrvl_send_frame:                     ; @btmrvl_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
	mov	x19, x0
	ldr	x22, [x0, #16]
	ldr	w1, [x0, #8]
	ldr	w2, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
	cbz	x22, LBB0_7
; %bb.1:
	ldr	x20, [x22, #16]
	cbz	x20, LBB0_7
; %bb.2:
Lloh2:
	adrp	x8, _HCI_RUNNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCI_RUNNING@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x21, x22, #12
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_bt_cb
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_11
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_12
; %bb.6:
	ldr	w8, [x22, #8]
	add	w8, w8, #1
	str	w8, [x22, #8]
	b	LBB0_12
LBB0_7:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_ERR
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BT_ERR
Lloh11:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldp	w3, w2, [x19]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_print_hex_dump_bytes
Lloh16:
	adrp	x8, _EBUSY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_10:
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_12
LBB0_11:
	ldr	w8, [x22, #4]
	add	w8, w8, #1
	str	w8, [x22, #4]
LBB0_12:
	ldr	x0, [x20, #8]
	mov	x1, x19
	bl	_skb_queue_tail
	mov	x0, x20
	bl	_wake_up_interruptible
	mov	w0, #0
LBB0_13:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type=%d, len=%d"

l_.str.1:                               ; @.str.1
	.asciz	"Frame for unknown HCI device"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_HCI_RUNNING,4,2                ; @HCI_RUNNING
l_.str.2:                               ; @.str.2
	.asciz	"Failed testing HCI_RUNING, flags=%lx"

l_.str.3:                               ; @.str.3
	.asciz	"data: "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_btmrvl_send_frame
.subsections_via_symbols
