	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwc_isoc_cleanup               ## -- Begin function pwc_isoc_cleanup
	.p2align	4, 0x90
_pwc_isoc_cleanup:                      ## @pwc_isoc_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_PWC_DEBUG_OPEN
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_pwc_iso_stop
	movq	%rbx, %rdi
	callq	_pwc_iso_free
	movq	8(%rbx), %rax
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_PWC_DEBUG_OPEN
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_usb_set_interface
LBB0_4:
	movq	$0, (%rbx)
	leaq	L_.str.2(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PWC_DEBUG_OPEN                 ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	">> pwc_isoc_cleanup()\n"

	.comm	_EPIPE,8,3                      ## @EPIPE
L_.str.1:                               ## @.str.1
	.asciz	"Setting alternate interface 0.\n"

L_.str.2:                               ## @.str.2
	.asciz	"<< pwc_isoc_cleanup()\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pwc_isoc_cleanup               ; -- Begin function pwc_isoc_cleanup
	.p2align	2
_pwc_isoc_cleanup:                      ; @pwc_isoc_cleanup
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PWC_DEBUG_OPEN
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_pwc_iso_stop
	mov	x0, x19
	bl	_pwc_iso_free
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _EPIPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EPIPE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_PWC_DEBUG_OPEN
	ldr	w0, [x19, #16]
	mov	w1, #0
	mov	w2, #0
	bl	_usb_set_interface
LBB0_4:
	str	xzr, [x19]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PWC_DEBUG_OPEN
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	">> pwc_isoc_cleanup()\n"

	.comm	_EPIPE,8,3                      ; @EPIPE
l_.str.1:                               ; @.str.1
	.asciz	"Setting alternate interface 0.\n"

l_.str.2:                               ; @.str.2
	.asciz	"<< pwc_isoc_cleanup()\n"

.subsections_via_symbols
