	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfusb_probe
_bfusb_probe:                           ## @bfusb_probe
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_interface_to_usbdev
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_BT_DBG
	movq	8(%r12), %rax
	cmpl	$1, 8(%rax)
	jle	LBB0_14
## %bb.1:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%r15, 48(%rax)
	movl	12(%rbx), %eax
	movl	%eax, 44(%r14)
	movl	4(%rbx), %eax
	movl	%eax, 40(%r14)
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, 36(%r14)
	leaq	32(%r14), %rdi
	callq	_rwlock_init
	movq	$0, 24(%r14)
	leaq	16(%r14), %rdi
	callq	_skb_queue_head_init
	leaq	12(%r14), %rdi
	callq	_skb_queue_head_init
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_skb_queue_head_init
	leaq	L_.str.3(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movq	%r15, %rdx
	callq	_request_firmware
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	-40(%rbp), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_BT_DBG
	movq	-40(%rbp), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	callq	_bfusb_load_firmware
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	movq	-40(%rbp), %rdi
	callq	_release_firmware
	xorl	%eax, %eax
	callq	_hci_alloc_dev
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r15
	movq	%rax, (%r14)
	movq	_HCI_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	%r14, 32(%r15)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_SET_HCIDEV_DEV
	movq	_bfusb_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_bfusb_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_bfusb_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_bfusb_send_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_bfusb_destruct@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_bfusb_ioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	callq	_hci_register_dev
	testq	%rax, %rax
	js	LBB0_12
## %bb.16:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_usb_set_intfdata
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_BT_ERR
	jmp	LBB0_14
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	callq	_BT_ERR
	jmp	LBB0_14
LBB0_6:
	leaq	L_.str.4(%rip), %rdi
	callq	_BT_ERR
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str.6(%rip), %rdi
	callq	_BT_ERR
	movq	-40(%rbp), %rdi
	callq	_release_firmware
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.7(%rip), %rdi
	callq	_BT_ERR
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.8(%rip), %rdi
	callq	_BT_ERR
	movq	%r15, %rdi
	callq	_hci_free_dev
LBB0_13:
	movq	%r14, %rdi
	callq	_kfree
LBB0_14:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"intf %p id %p"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"Bulk endpoints not found"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"Can't allocate memory for control structure"

L_.str.3:                               ## @.str.3
	.asciz	"bfubase.frm"

L_.str.4:                               ## @.str.4
	.asciz	"Firmware request failed"

L_.str.5:                               ## @.str.5
	.asciz	"firmware data %p size %zu"

L_.str.6:                               ## @.str.6
	.asciz	"Firmware loading failed"

L_.str.7:                               ## @.str.7
	.asciz	"Can't allocate HCI device"

	.comm	_HCI_USB,4,2                    ## @HCI_USB
	.comm	_bfusb_open,4,2                 ## @bfusb_open
	.comm	_bfusb_close,4,2                ## @bfusb_close
	.comm	_bfusb_flush,4,2                ## @bfusb_flush
	.comm	_bfusb_send_frame,4,2           ## @bfusb_send_frame
	.comm	_bfusb_destruct,4,2             ## @bfusb_destruct
	.comm	_bfusb_ioctl,4,2                ## @bfusb_ioctl
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.8:                               ## @.str.8
	.asciz	"Can't register HCI device"

	.no_dead_strip	_bfusb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfusb_probe
_bfusb_probe:                           ; @bfusb_probe
	.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, x1
	mov	x20, x0
	bl	_interface_to_usbdev
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_BT_DBG
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.le	LBB0_15
; %bb.1:
	ldr	x22, [x8]
	cbz	x22, LBB0_8
; %bb.2:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.3:
	mov	x19, x0
	str	x21, [x0, #48]
	ldr	w8, [x22, #12]
	ldp	w0, w9, [x22]
	stp	w9, w8, [x19, #40]
	bl	_le16_to_cpu
	str	w0, [x19, #36]
	add	x0, x19, #32
	bl	_rwlock_init
	str	xzr, [x19, #24]
	add	x0, x19, #16
	bl	_skb_queue_head_init
	add	x0, x19, #12
	bl	_skb_queue_head_init
	add	x0, x19, #8
	bl	_skb_queue_head_init
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x2, x21
	bl	_request_firmware
	tbnz	x0, #63, LBB0_10
; %bb.4:
	ldr	x8, [sp, #8]
	ldp	x2, x1, [x8]
Lloh7:
	adrp	x0, l_.str.5@PAGE
Lloh8:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_BT_DBG
	ldr	x8, [sp, #8]
	ldp	x2, x1, [x8]
	mov	x0, x19
	bl	_bfusb_load_firmware
	tbnz	x0, #63, LBB0_11
; %bb.5:
	ldr	x0, [sp, #8]
	bl	_release_firmware
	bl	_hci_alloc_dev
	cbz	x0, LBB0_12
; %bb.6:
	mov	x21, x0
	str	x0, [x19]
Lloh9:
	adrp	x8, _HCI_USB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCI_USB@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	str	x19, [x0, #32]
	mov	x1, x20
	bl	_SET_HCIDEV_DEV
Lloh12:
	adrp	x8, _bfusb_open@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bfusb_open@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x21, #24]
Lloh15:
	adrp	x8, _bfusb_close@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bfusb_close@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _bfusb_flush@GOTPAGE
Lloh19:
	ldr	x9, [x9, _bfusb_flush@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
Lloh21:
	adrp	x8, _bfusb_send_frame@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bfusb_send_frame@GOTPAGEOFF]
Lloh23:
	adrp	x9, _bfusb_destruct@GOTPAGE
Lloh24:
	ldr	x9, [x9, _bfusb_destruct@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
Lloh27:
	adrp	x8, _bfusb_ioctl@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bfusb_ioctl@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
	mov	x0, x21
	bl	_hci_register_dev
	tbnz	x0, #63, LBB0_13
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_usb_set_intfdata
	mov	w0, #0
	b	LBB0_16
LBB0_8:
Lloh33:
	adrp	x0, l_.str.1@PAGE
Lloh34:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_ERR
	b	LBB0_15
LBB0_9:
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BT_ERR
	b	LBB0_15
LBB0_10:
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BT_ERR
	b	LBB0_14
LBB0_11:
Lloh39:
	adrp	x0, l_.str.6@PAGE
Lloh40:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_BT_ERR
	ldr	x0, [sp, #8]
	bl	_release_firmware
	b	LBB0_14
LBB0_12:
Lloh41:
	adrp	x0, l_.str.7@PAGE
Lloh42:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_BT_ERR
	b	LBB0_14
LBB0_13:
Lloh43:
	adrp	x0, l_.str.8@PAGE
Lloh44:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_BT_ERR
	mov	x0, x21
	bl	_hci_free_dev
LBB0_14:
	mov	x0, x19
	bl	_kfree
LBB0_15:
Lloh45:
	adrp	x8, _EIO@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"intf %p id %p"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"Bulk endpoints not found"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"Can't allocate memory for control structure"

l_.str.3:                               ; @.str.3
	.asciz	"bfubase.frm"

l_.str.4:                               ; @.str.4
	.asciz	"Firmware request failed"

l_.str.5:                               ; @.str.5
	.asciz	"firmware data %p size %zu"

l_.str.6:                               ; @.str.6
	.asciz	"Firmware loading failed"

l_.str.7:                               ; @.str.7
	.asciz	"Can't allocate HCI device"

	.comm	_HCI_USB,4,2                    ; @HCI_USB
	.comm	_bfusb_open,4,2                 ; @bfusb_open
	.comm	_bfusb_close,4,2                ; @bfusb_close
	.comm	_bfusb_flush,4,2                ; @bfusb_flush
	.comm	_bfusb_send_frame,4,2           ; @bfusb_send_frame
	.comm	_bfusb_destruct,4,2             ; @bfusb_destruct
	.comm	_bfusb_ioctl,4,2                ; @bfusb_ioctl
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.8:                               ; @.str.8
	.asciz	"Can't register HCI device"

	.no_dead_strip	_bfusb_probe
.subsections_via_symbols
