	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_usb_probe                  ## -- Begin function rtl_usb_probe
	.p2align	4, 0x90
_rtl_usb_probe:                         ## @rtl_usb_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	_rtl_ops@GOTPCREL(%rip), %rsi
	movl	$88, %edi
	callq	_ieee80211_alloc_hw
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	(%rax), %r14
	movq	%rax, 64(%r14)
	movq	_RTL_USB_MAX_RX_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_kcalloc
	movl	%eax, 60(%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	56(%r14), %rdi
	callq	_spin_lock_init
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	leaq	48(%r14), %r15
	leaq	52(%r14), %rdi
	movq	_rtl_fill_h2c_cmd_work_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	_rtl_lps_change_work_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_WORK
	movq	$0, 40(%r14)
	movq	%r14, %rdi
	callq	_init_completion
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_SET_IEEE80211_DEV
	movq	%r12, %rdi
	callq	_interface_to_usbdev
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_usb_get_dev
	movq	%rbx, %rdi
	callq	_rtl_usbpriv
	movq	%r12, %r15
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r15, 8(%r12)
	movq	%r13, (%r12)
	movq	%r15, %rdi
	xorl	%r15d, %r15d
	movq	%rbx, %rsi
	callq	_usb_set_intfdata
	movq	_INTF_USB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	movq	_rtl_usb_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r14)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	__rtl_usb_io_handler_init
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*24(%rax)
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*16(%rax)
	movq	%rbx, %rdi
	callq	__rtl_usb_init
	testl	%eax, %eax
	jne	LBB0_13
## %bb.5:
	movq	%rbx, %rdi
	callq	_rtl_usb_init_sw
	movq	%rbx, %rdi
	callq	_rtl_init_core
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_12
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN_ONCE
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_7:
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_11
LBB0_9:
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_ieee80211_register_hw
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:
	leaq	L_.str.3(%rip), %rdi
LBB0_11:
	callq	_pr_err
	movq	%rbx, %rdi
	callq	_rtl_deinit_core
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%rbx, %rdi
	callq	__rtl_usb_io_handler_release
	movq	%r13, %rdi
	callq	_usb_put_dev
	movq	%r14, %rdi
	callq	_complete
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	$1, 8(%r14)
	movq	_RTL_STATUS_INTERFACE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %r14
	movq	%r14, %rsi
	callq	_set_bit
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_rtl_ops,4,2                    ## @rtl_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl_usb: ieee80211 alloc failed\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RTL_USB_MAX_RX_COUNT,4,2       ## @RTL_USB_MAX_RX_COUNT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_rtl_fill_h2c_cmd_work_callback,4,2 ## @rtl_fill_h2c_cmd_work_callback
	.comm	_rtl_lps_change_work_callback,4,2 ## @rtl_lps_change_work_callback
	.comm	_INTF_USB,4,2                   ## @INTF_USB
	.comm	_rtl_usb_ops,4,2                ## @rtl_usb_ops
L_.str.1:                               ## @.str.1
	.asciz	"Can't allocate sw for mac80211\n"

L_.str.2:                               ## @.str.2
	.asciz	"Can't init_sw_vars\n"

L_.str.3:                               ## @.str.3
	.asciz	"Can't register mac80211 hw.\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_RTL_STATUS_INTERFACE_START,4,2 ## @RTL_STATUS_INTERFACE_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_usb_probe                  ; -- Begin function rtl_usb_probe
	.p2align	2
_rtl_usb_probe:                         ; @rtl_usb_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x23, x0
Lloh0:
	adrp	x1, _rtl_ops@GOTPAGE
Lloh1:
	ldr	x1, [x1, _rtl_ops@GOTPAGEOFF]
	mov	w0, #88
	bl	_ieee80211_alloc_hw
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0]
	str	x0, [x19, #64]
Lloh2:
	adrp	x8, _RTL_USB_MAX_RX_COUNT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTL_USB_MAX_RX_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_kcalloc
	str	w0, [x19, #60]
	cbz	w0, LBB0_6
; %bb.2:
	add	x0, x19, #56
	bl	_spin_lock_init
	add	x21, x19, #48
	add	x0, x19, #52
Lloh8:
	adrp	x8, _rtl_fill_h2c_cmd_work_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rtl_fill_h2c_cmd_work_callback@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_WORK
Lloh11:
	adrp	x8, _rtl_lps_change_work_callback@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rtl_lps_change_work_callback@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_WORK
	str	xzr, [x19, #40]
	mov	x0, x19
	bl	_init_completion
	mov	x0, x20
	mov	x1, x23
	bl	_SET_IEEE80211_DEV
	mov	x0, x23
	bl	_interface_to_usbdev
	mov	x21, x0
	bl	_usb_get_dev
	mov	x0, x20
	bl	_rtl_usbpriv
	mov	x24, x0
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	stp	x21, x23, [x24]
	mov	x0, x23
	mov	x1, x20
	bl	_usb_set_intfdata
Lloh14:
	adrp	x8, _INTF_USB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INTF_USB@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh17:
	adrp	x8, _rtl_usb_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _rtl_usb_ops@GOTPAGEOFF]
	stp	x22, x8, [x19, #16]
	mov	x0, x21
	mov	x1, x20
	bl	__rtl_usb_io_handler_init
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #24]
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	mov	x0, x20
	blr	x8
	mov	x0, x20
	bl	__rtl_usb_init
	cbnz	w0, LBB0_12
; %bb.3:
	mov	x0, x20
	bl	_rtl_usb_init_sw
	mov	x0, x20
	bl	_rtl_init_core
	cbz	w0, LBB0_7
; %bb.4:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
	b	LBB0_12
LBB0_5:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
LBB0_6:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_9
; %bb.8:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_9:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x0, x20
	bl	_ieee80211_register_hw
	cbz	w0, LBB0_15
; %bb.10:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_11:
	bl	_pr_err
	mov	x0, x20
	bl	_rtl_deinit_core
LBB0_12:
	mov	x0, x20
	bl	__rtl_usb_io_handler_release
	mov	x0, x21
	bl	_usb_put_dev
	mov	x0, x19
	bl	_complete
Lloh29:
	adrp	x8, _ENODEV@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	w8, #1
	str	w8, [x19, #8]
Lloh31:
	adrp	x8, _RTL_STATUS_INTERFACE_START@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RTL_STATUS_INTERFACE_START@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_set_bit
	mov	w0, #0
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_rtl_ops,4,2                    ; @rtl_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl_usb: ieee80211 alloc failed\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RTL_USB_MAX_RX_COUNT,4,2       ; @RTL_USB_MAX_RX_COUNT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_rtl_fill_h2c_cmd_work_callback,4,2 ; @rtl_fill_h2c_cmd_work_callback
	.comm	_rtl_lps_change_work_callback,4,2 ; @rtl_lps_change_work_callback
	.comm	_INTF_USB,4,2                   ; @INTF_USB
	.comm	_rtl_usb_ops,4,2                ; @rtl_usb_ops
l_.str.1:                               ; @.str.1
	.asciz	"Can't allocate sw for mac80211\n"

l_.str.2:                               ; @.str.2
	.asciz	"Can't init_sw_vars\n"

l_.str.3:                               ; @.str.3
	.asciz	"Can't register mac80211 hw.\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_RTL_STATUS_INTERFACE_START,4,2 ; @RTL_STATUS_INTERFACE_START
.subsections_via_symbols
