	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btsdio_probe
_btsdio_probe:                          ## @btsdio_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	4(%rdi), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_BT_DBG
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	12(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%r14, 16(%rax)
	leaq	12(%rax), %rdi
	movq	_btsdio_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%r15, %rdi
	addq	$8, %rdi
	callq	_skb_queue_head_init
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_hci_alloc_dev
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	_HCI_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r15, 24(%rbx)
	movq	%rbx, (%r15)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_SET_HCIDEV_DEV
	movq	_btsdio_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_btsdio_close@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_btsdio_flush@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_btsdio_send_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_btsdio_destruct@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_hci_register_dev
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sdio_set_drvdata
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_10
LBB0_6:
	movq	%r15, %rdi
	callq	_kfree
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_10
LBB0_8:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_hci_free_dev
	movq	%r15, %rdi
	callq	_kfree
LBB0_10:
	movl	%r12d, %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	"func %p id %p class 0x%04x"

L_.str.1:                               ## @.str.1
	.asciz	"code 0x%x size %d"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_btsdio_work,4,2                ## @btsdio_work
	.comm	_HCI_SDIO,4,2                   ## @HCI_SDIO
	.comm	_btsdio_open,4,2                ## @btsdio_open
	.comm	_btsdio_close,4,2               ## @btsdio_close
	.comm	_btsdio_flush,4,2               ## @btsdio_flush
	.comm	_btsdio_send_frame,4,2          ## @btsdio_send_frame
	.comm	_btsdio_destruct,4,2            ## @btsdio_destruct
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_btsdio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btsdio_probe
_btsdio_probe:                          ; @btsdio_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	x2, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	w8, [x0, #4]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_BT_DBG
	cbz	x21, LBB0_3
; %bb.1:
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w2, w1, [x21, #8]
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x1, w1
	mov	x0, x20
	bl	_BT_DBG
	ldr	x21, [x21]
	cbnz	x21, LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x20, x0
	str	x19, [x0, #16]
	add	x0, x0, #12
Lloh7:
	adrp	x8, _btsdio_work@GOTPAGE
Lloh8:
	ldr	x8, [x8, _btsdio_work@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #8
	bl	_skb_queue_head_init
	bl	_hci_alloc_dev
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
Lloh10:
	adrp	x8, _HCI_SDIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HCI_SDIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	str	x20, [x0, #24]
	str	x0, [x20]
	mov	x1, x19
	bl	_SET_HCIDEV_DEV
Lloh13:
	adrp	x8, _btsdio_open@GOTPAGE
Lloh14:
	ldr	x8, [x8, _btsdio_open@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _btsdio_close@GOTPAGE
Lloh17:
	ldr	x9, [x9, _btsdio_close@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
Lloh19:
	adrp	x8, _btsdio_flush@GOTPAGE
Lloh20:
	ldr	x8, [x8, _btsdio_flush@GOTPAGEOFF]
Lloh21:
	adrp	x9, _btsdio_send_frame@GOTPAGE
Lloh22:
	ldr	x9, [x9, _btsdio_send_frame@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #8]
Lloh25:
	adrp	x8, _btsdio_destruct@GOTPAGE
Lloh26:
	ldr	x8, [x8, _btsdio_destruct@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [x21]
	mov	x0, x21
	bl	_hci_register_dev
	tbnz	w0, #31, LBB0_9
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_sdio_set_drvdata
	mov	w22, #0
	b	LBB0_10
LBB0_7:
	mov	x0, x20
	bl	_kfree
LBB0_8:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_9:
	mov	x22, x0
	mov	x0, x21
	bl	_hci_free_dev
	mov	x0, x20
	bl	_kfree
LBB0_10:
	mov	x0, x22
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"func %p id %p class 0x%04x"

l_.str.1:                               ; @.str.1
	.asciz	"code 0x%x size %d"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_btsdio_work,4,2                ; @btsdio_work
	.comm	_HCI_SDIO,4,2                   ; @HCI_SDIO
	.comm	_btsdio_open,4,2                ; @btsdio_open
	.comm	_btsdio_close,4,2               ; @btsdio_close
	.comm	_btsdio_flush,4,2               ; @btsdio_flush
	.comm	_btsdio_send_frame,4,2          ; @btsdio_send_frame
	.comm	_btsdio_destruct,4,2            ; @btsdio_destruct
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_btsdio_probe
.subsections_via_symbols
