	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_iso_interface
_disable_iso_interface:                 ## @disable_iso_interface
	.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	16(%rdi), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movl	8(%rax), %esi
	xorl	%edx, %edx
	callq	_usb_set_interface
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	(%rbx), %rbx
	movl	%r14d, %edi
	callq	_usb_error_string
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DISCONNECTED,4,2               ## @DISCONNECTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interface reset failed; error %d: %s\n"

	.no_dead_strip	_disable_iso_interface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_iso_interface
_disable_iso_interface:                 ; @disable_iso_interface
	.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
	ldr	x8, [x0, #16]
	ldr	x8, [x8, w1, uxtw #3]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	x0, [x0]
	ldr	w1, [x8, #8]
	mov	w2, #0
	bl	_usb_set_interface
	tbz	w0, #31, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh0:
	adrp	x8, _DISCONNECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISCONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x19, [x19]
	mov	x0, x20
	bl	_usb_error_string
	mov	x3, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_warn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DISCONNECTED,4,2               ; @DISCONNECTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interface reset failed; error %d: %s\n"

	.no_dead_strip	_disable_iso_interface
.subsections_via_symbols
