	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_get_driver_np              ## -- Begin function usb_get_driver_np
	.p2align	4, 0x90
_usb_get_driver_np:                     ## @usb_get_driver_np
	.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
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.2:
	movq	%rdx, %r14
	cmpl	$255, %ecx
	movl	$255, %eax
	cmovll	%ecx, %eax
	movl	%eax, %ecx
	callq	_libusb20_dev_get_iface_desc
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	movl	$58, %esi
	callq	_strchr
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movb	$0, (%rax)
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usb_get_driver_np              ; -- Begin function usb_get_driver_np
	.p2align	2
_usb_get_driver_np:                     ; @usb_get_driver_np
	.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	x8, x0
	mov	w0, #-1
	cbz	x8, LBB0_6
; %bb.1:
	cmp	w3, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x19, x2
	mov	w9, #255
	cmp	w3, #255
	csel	w3, w3, w9, lt
	mov	x0, x8
	bl	_libusb20_dev_get_iface_desc
	cbz	w0, LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:
	mov	x8, x0
	mov	w0, #0
	strb	wzr, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
