	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_test_print_avg_rate
_mmc_test_print_avg_rate:               ## @mmc_test_print_avg_rate
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	sarl	$9, %r12d
	movl	%edx, %ebx
	movl	%edx, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	imull	%esi, %ebx
	movq	(%r8), %rdi
	movq	8(%r8), %rsi
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	callq	_timespec64_sub
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	leaq	-64(%rbp), %r13
	movl	%ebx, %edi
	movq	%r13, %rsi
	callq	_mmc_test_rate
	movl	%eax, %ebx
	imull	$100, %r14d, %edi
	movq	%r13, %rsi
	callq	_mmc_test_rate
	movl	%eax, %r13d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r14), %rax
	movl	(%rax), %edi
	callq	_mmc_hostname
	movl	%eax, %esi
	movl	%r12d, %r9d
	shrl	%r9d
	testl	$512, %r15d                     ## imm = 0x200
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rcx, %r15
	movl	-64(%rbp), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	imulq	$274877907, %rcx, %rbx          ## imm = 0x10624DD3
	shrq	$38, %rbx
	movl	%eax, %r10d
	shrl	$10, %r10d
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, %ecx
	imulq	$1374389535, %rcx, %r11         ## imm = 0x51EB851F
	shrq	$37, %r11
	imull	$100, %r11d, %ecx
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	subl	%ecx, %r13d
	movl	(%r14), %eax
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	pushq	%rax
	pushq	%r13
	pushq	%r11
	pushq	%r10
	pushq	%rbx
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	callq	_pr_info
	addq	$64, %rsp
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	subq	$8, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_mmc_test_save_transfer_result
	addq	$72, %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	"%s: Transfer of %u x %u sectors (%u x %u%s KiB) took %llu.%09u seconds (%u kB/s, %u KiB/s, %u.%02u IOPS, sg_len %d)\n"

L_.str.1:                               ## @.str.1
	.asciz	".5"

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_mmc_test_print_avg_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_test_print_avg_rate
_mmc_test_print_avg_rate:               ; @mmc_test_print_avg_rate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	asr	w20, w1, #9
	mul	w22, w2, w1
	ldp	x0, x1, [x4]
	ldp	x2, x3, [x3]
	bl	_timespec64_sub
	stp	x0, x1, [sp, #32]
	add	x1, sp, #32
	mov	x0, x22
	bl	_mmc_test_rate
	mov	x22, x0
	mov	w25, #100
	mul	w0, w19, w25
	add	x1, sp, #32
	bl	_mmc_test_rate
	mov	x24, x0
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_mmc_hostname
	mov	x1, x0
	lsr	w5, w20, #1
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	tst	w23, #0x200
	csel	x6, x9, x8, eq
	ldr	w7, [sp, #40]
	ldr	x8, [sp, #32]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x9, w22, w9
	lsr	x9, x9, #38
	lsr	w10, w22, #10
	mov	w11, #34079
	movk	w11, #20971, lsl #16
	umull	x11, w24, w11
	lsr	x11, x11, #37
	msub	w12, w11, w25, w24
	ldr	w13, [x21]
	stp	w12, w13, [sp, #16]
	stp	w10, w11, [sp, #8]
	stp	w8, w9, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	mov	x4, x19
	bl	_pr_info
	ldp	x3, x4, [sp, #32]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	x5, x22
	mov	x6, x24
	bl	_mmc_test_save_transfer_result
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Transfer of %u x %u sectors (%u x %u%s KiB) took %llu.%09u seconds (%u kB/s, %u KiB/s, %u.%02u IOPS, sg_len %d)\n"

l_.str.1:                               ; @.str.1
	.asciz	".5"

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_mmc_test_print_avg_rate
.subsections_via_symbols
