	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libusb10_get_buffsize
_libusb10_get_buffsize:                 ## @libusb10_get_buffsize
	.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	%rsi, %rbx
	callq	_libusb20_dev_get_speed
	movl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_1
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_4
## %bb.3:
	movl	$1024, %ecx                     ## imm = 0x400
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_4:
	addl	$-130, %eax
	movl	$16384, %ecx                    ## imm = 0x4000
	cmpl	$2, %eax
	ja	LBB0_6
## %bb.5:
	cltq
	leaq	l_switch.table.libusb10_get_buffsize(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_6:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_libusb10_get_buffsize
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.libusb10_get_buffsize
l_switch.table.libusb10_get_buffsize:
	.long	65536                           ## 0x10000
	.long	256                             ## 0x100
	.long	4096                            ## 0x1000

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libusb10_get_buffsize
_libusb10_get_buffsize:                 ; @libusb10_get_buffsize
	.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, x1
	bl	_libusb20_dev_get_speed
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #1024
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	sub	w8, w0, #130
	cmp	w8, #2
	b.hi	LBB0_6
; %bb.5:
Lloh0:
	adrp	x9, l_switch.table.libusb10_get_buffsize@PAGE
Lloh1:
	add	x9, x9, l_switch.table.libusb10_get_buffsize@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	b	LBB0_7
LBB0_6:
	mov	w0, #16384
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_libusb10_get_buffsize
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.libusb10_get_buffsize
l_switch.table.libusb10_get_buffsize:
	.long	65536                           ; 0x10000
	.long	256                             ; 0x100
	.long	4096                            ; 0x1000

.subsections_via_symbols
