	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbvision_measure_bandwidth
_usbvision_measure_bandwidth:           ## @usbvision_measure_bandwidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$1, %eax
	jg	LBB0_2
## %bb.1:
	incl	%eax
	movl	%eax, (%rdi)
	jmp	LBB0_6
LBB0_2:
	movl	4(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.3:
	movl	8(%rdi), %esi
	testl	%esi, %esi
	jle	LBB0_5
## %bb.4:
	movl	16(%rdi), %eax
	addl	20(%rdi), %esi
	cltd
	idivl	%esi
	imull	$100, %eax, %eax
	cltd
	idivl	%ecx
	movl	%eax, 12(%rdi)
LBB0_5:
	movl	$0, (%rdi)
	movq	$0, 16(%rdi)
	movl	$0, 8(%rdi)
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_usbvision_measure_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbvision_measure_bandwidth
_usbvision_measure_bandwidth:           ; @usbvision_measure_bandwidth
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	add	w8, w8, #1
	str	w8, [x0]
	mov	w0, #0
	ret
LBB0_2:
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	ldr	w9, [x0, #8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.4:
	ldp	w10, w11, [x0, #16]
	add	w9, w11, w9
	sdiv	w9, w10, w9
	mov	w10, #100
	mul	w9, w9, w10
	sdiv	w8, w9, w8
	str	w8, [x0, #12]
LBB0_5:
	str	wzr, [x0]
	str	wzr, [x0, #8]
	str	xzr, [x0, #16]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_usbvision_measure_bandwidth
.subsections_via_symbols
