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

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

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

	.no_dead_strip	_mmc_test_print_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_rate
_mmc_test_print_rate:                   ; @mmc_test_print_rate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x1
	mov	x20, x0
	asr	w19, w1, #9
	ldp	x0, x1, [x3]
	ldp	x8, x3, [x2]
	mov	x2, x8
	bl	_timespec64_sub
	stp	x0, x1, [sp, #16]
	add	x1, sp, #16
	mov	x0, x21
	bl	_mmc_test_rate
	mov	x22, x0
	mov	w24, #100
	add	x1, sp, #16
	mov	w0, #100
	bl	_mmc_test_rate
	mov	x23, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_mmc_hostname
	mov	x1, x0
	lsr	w3, w19, #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	w21, #0x200
	csel	x4, x9, x8, eq
	ldr	w5, [sp, #24]
	ldr	w6, [sp, #16]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	umull	x8, w22, w8
	lsr	x7, x8, #38
	lsr	w8, w22, #10
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x9, w23, w9
	lsr	x9, x9, #37
	msub	w10, w9, w24, w23
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
                                        ; kill: def $w7 killed $w7 killed $x7
	bl	_pr_info
	ldp	x3, x4, [sp, #16]
	mov	x0, x20
	mov	w1, #1
	mov	x2, x19
	mov	x5, x22
	mov	x6, x23
	bl	_mmc_test_save_transfer_result
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	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 sectors (%u%s KiB) took %llu.%09u seconds (%u kB/s, %u KiB/s, %u.%02u IOPS)\n"

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

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

	.no_dead_strip	_mmc_test_print_rate
.subsections_via_symbols
