	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_usb_disable_int             ## -- Begin function zd_usb_disable_int
	.p2align	4, 0x90
_zd_usb_disable_int:                    ## @zd_usb_disable_int
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_zd_usb_to_usbdev
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	24(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	movq	$0, 24(%rbx)
	movq	8(%rbx), %r12
	movl	16(%rbx), %r15d
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r13, %rdi
	callq	_usb_kill_urb
	movq	%rbx, %rdi
	callq	_zd_usb_dev
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	movq	%r13, %rdx
	callq	_dev_dbg_f
	movq	%r13, %rdi
	callq	_usb_free_urb
	testq	%r12, %r12
	je	LBB0_2
## %bb.4:
	movq	_USB_MAX_EP_INT_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usb_free_coherent              ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"urb %p killed\n"

	.comm	_USB_MAX_EP_INT_BUFFER,4,2      ## @USB_MAX_EP_INT_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zd_usb_disable_int             ; -- Begin function zd_usb_disable_int
	.p2align	2
_zd_usb_disable_int:                    ; @zd_usb_disable_int
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x0
	bl	_zd_usb_to_usbdev
	mov	x19, x0
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	x22, [x23, #24]
	cbz	x22, LBB0_3
; %bb.1:
	str	xzr, [x23, #24]
	ldr	x20, [x23, #8]
	ldr	w21, [x23, #16]
	str	xzr, [x23, #8]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x22
	bl	_usb_kill_urb
	mov	x0, x23
	bl	_zd_usb_dev
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_dbg_f
	mov	x0, x22
	bl	_usb_free_urb
	cbz	x20, LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _USB_MAX_EP_INT_BUFFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USB_MAX_EP_INT_BUFFER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_usb_free_coherent
LBB0_3:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"urb %p killed\n"

	.comm	_USB_MAX_EP_INT_BUFFER,4,2      ; @USB_MAX_EP_INT_BUFFER
.subsections_via_symbols
