	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_unbind                 ## -- Begin function cdc_ncm_unbind
	.p2align	4, 0x90
_cdc_ncm_unbind:                        ## @cdc_ncm_unbind
	.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, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	%rsi, %rdi
	callq	_driver_of
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rax, %r15
	leaq	24(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	leaq	20(%rbx), %rdi
	callq	_hrtimer_cancel
	leaq	16(%rbx), %rdi
	callq	_tasklet_kill
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	leaq	8(%rbx), %r12
	cmpq	%rdi, %rax
	je	LBB0_10
## %bb.2:
	cmpq	%r14, %rax
	jne	LBB0_5
## %bb.3:
	testq	%rdi, %rdi
	jne	LBB0_7
	jmp	LBB0_4
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	$0, (%r12)
LBB0_4:
	xorl	%edi, %edi
LBB0_5:
	cmpq	%r14, %rdi
	jne	LBB0_8
## %bb.6:
	movq	%rax, %rdi
	movq	%rbx, %r12
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_usb_driver_release_interface
	movq	$0, (%r12)
LBB0_8:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cdc_ncm_free                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdc_ncm_unbind                 ; -- Begin function cdc_ncm_unbind
	.p2align	2
_cdc_ncm_unbind:                        ; @cdc_ncm_unbind
	.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, x1
	ldr	x8, [x0]
	ldr	x19, [x8]
	mov	x0, x1
	bl	_driver_of
	cbz	x19, LBB0_4
; %bb.1:
	mov	x21, x0
	add	x0, x19, #24
	mov	w1, #1
	bl	_atomic_set
	add	x0, x19, #20
	bl	_hrtimer_cancel
	add	x0, x19, #16
	bl	_tasklet_kill
	ldr	x8, [x19]
	mov	x22, x19
	ldr	x0, [x22, #8]!
	cmp	x8, x0
	b.eq	LBB0_5
; %bb.2:
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.3:
	cbnz	x0, LBB0_8
	b	LBB0_6
LBB0_4:
	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
	ret
LBB0_5:
	mov	x0, #0
	str	xzr, [x22]
LBB0_6:
	cmp	x0, x20
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_9
; %bb.7:
	mov	x0, x8
	mov	x22, x19
LBB0_8:
	mov	x1, #0
	bl	_usb_set_intfdata
	ldr	x1, [x22]
	mov	x0, x21
	bl	_usb_driver_release_interface
	str	xzr, [x22]
LBB0_9:
	mov	x0, x20
	mov	x1, #0
	bl	_usb_set_intfdata
	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	_cdc_ncm_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
