	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8150_disconnect
_rtl8150_disconnect:                    ## @rtl8150_disconnect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_usb_get_intfdata
	movq	%rax, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_RTL8150_UNPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	addq	$12, %rdi
	callq	_tasklet_kill
	movl	(%rbx), %edi
	callq	_unregister_netdev
	movq	%rbx, %rdi
	callq	_unlink_all_urbs
	movq	%rbx, %rdi
	callq	_free_all_urbs
	movq	%rbx, %rdi
	callq	_free_skb_pool
	movl	8(%rbx), %edi
	callq	_dev_kfree_skb
	movl	4(%rbx), %edi
	callq	_kfree
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free_netdev                    ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL8150_UNPLUG,4,2             ## @RTL8150_UNPLUG
	.no_dead_strip	_rtl8150_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8150_disconnect
_rtl8150_disconnect:                    ; @rtl8150_disconnect
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_usb_get_intfdata
	mov	x19, x0
	mov	x0, x20
	mov	x1, #0
	bl	_usb_set_intfdata
	cbz	x19, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RTL8150_UNPLUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTL8150_UNPLUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_set_bit
	add	x0, x19, #12
	bl	_tasklet_kill
	ldr	w0, [x19]
	bl	_unregister_netdev
	mov	x0, x19
	bl	_unlink_all_urbs
	mov	x0, x19
	bl	_free_all_urbs
	mov	x0, x19
	bl	_free_skb_pool
	ldr	w0, [x19, #8]
	bl	_dev_kfree_skb
	ldr	w0, [x19, #4]
	bl	_kfree
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free_netdev
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL8150_UNPLUG,4,2             ; @RTL8150_UNPLUG
	.no_dead_strip	_rtl8150_disconnect
.subsections_via_symbols
