	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gigaset_disconnect
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gigaset_disconnect:                    ## @gigaset_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_usb_get_intfdata
	movq	%rax, %r15
	movq	(%rax), %rdi
	movq	24(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
	movq	32(%rbx), %rdi
	callq	_usb_kill_urb
	movq	%r15, %rdi
	callq	_gigaset_stop
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	leaq	16(%r15), %rdi
	callq	_tasklet_kill
	movq	24(%rbx), %rdi
	callq	_usb_kill_urb
	movq	16(%rbx), %rdi
	callq	_kfree
	movq	24(%rbx), %rdi
	callq	_usb_free_urb
	movq	8(%r15), %rax
	movq	(%rax), %rdi
	callq	_kfree
	movq	32(%rbx), %rdi
	callq	_usb_free_urb
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	movq	8(%r15), %rax
	movq	$0, (%rax)
	movq	(%rbx), %rdi
	callq	_usb_put_dev
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	$0, (%r15)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gigaset_freecs                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disconnecting Gigaset USB adapter\n"

	.no_dead_strip	_gigaset_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gigaset_disconnect
_gigaset_disconnect:                    ; @gigaset_disconnect
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	bl	_usb_get_intfdata
	mov	x19, x0
	ldr	x21, [x0, #24]
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	x0, [x21, #32]
	bl	_usb_kill_urb
	mov	x0, x19
	bl	_gigaset_stop
	mov	x0, x20
	mov	x1, #0
	bl	_usb_set_intfdata
	add	x0, x19, #16
	bl	_tasklet_kill
	ldr	x0, [x21, #24]
	bl	_usb_kill_urb
	ldr	x0, [x21, #16]
	bl	_kfree
	ldr	x0, [x21, #24]
	bl	_usb_free_urb
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_kfree
	ldr	x0, [x21, #32]
	bl	_usb_free_urb
	stp	xzr, xzr, [x21, #24]
	str	xzr, [x21, #16]
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	ldr	x0, [x21]
	bl	_usb_put_dev
	stp	xzr, xzr, [x21]
	str	xzr, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gigaset_freecs
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disconnecting Gigaset USB adapter\n"

	.no_dead_strip	_gigaset_disconnect
.subsections_via_symbols
