	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_hash_cycles
_test_hash_cycles:                      ## @test_hash_cycles
	.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	%ecx, %r13d
	movq	%rdi, %r14
	cmpl	%edx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	%r13d, %edx
	movq	%r8, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_test_hash_cycles_digest        ## TAILCALL
LBB0_2:
	movl	%edx, %ebx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_local_bh_disable
	xorl	%eax, %eax
	callq	_local_irq_disable
	movq	%r14, %rdi
	callq	_crypto_hash_init
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	jmp	LBB0_12
LBB0_4:
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.5:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_crypto_hash_update
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	%r13d, %r12d
	cmpl	%ebx, %r12d
	jl	LBB0_6
LBB0_8:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_hash_final
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_crypto_hash_init
	testl	%eax, %eax
	je	LBB0_18
LBB0_10:
	movl	%eax, %r15d
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	xorl	%eax, %eax
	callq	_local_irq_enable
	xorl	%eax, %eax
	callq	_local_bh_enable
	testl	%r15d, %r15d
	jne	LBB0_17
## %bb.13:
	movq	%r12, %rsi
	shrq	$3, %rsi
	shll	$3, %ebx
	movslq	%ebx, %rcx
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_15
## %bb.14:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_16
LBB0_15:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $eax killed $eax def $rax
LBB0_16:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rdx
	callq	_printk
	xorl	%r15d, %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%ebx, %r12d
	testl	%ebx, %ebx
	jle	LBB0_22
## %bb.19:
	xorl	%ebx, %ebx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_crypto_hash_update
	testl	%eax, %eax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	addl	%r13d, %ebx
	cmpl	%r12d, %ebx
	jl	LBB0_20
LBB0_22:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_hash_final
	testl	%eax, %eax
	je	LBB0_24
LBB0_23:
	movl	%eax, %r15d
	movl	%r12d, %ebx
	jmp	LBB0_11
LBB0_24:
	movq	%r14, %rdi
	callq	_crypto_hash_init
	testl	%eax, %eax
	movl	%r12d, %ebx
	jne	LBB0_10
## %bb.25:
	testl	%ebx, %ebx
	jle	LBB0_29
## %bb.26:
	xorl	%ebx, %ebx
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_crypto_hash_update
	testl	%eax, %eax
	jne	LBB0_23
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	addl	%r13d, %ebx
	cmpl	%r12d, %ebx
	jl	LBB0_27
LBB0_29:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_hash_final
	testl	%eax, %eax
	jne	LBB0_23
## %bb.30:
	movq	%r14, %rdi
	callq	_crypto_hash_init
	testl	%eax, %eax
	movl	%r12d, %ebx
	jne	LBB0_10
## %bb.31:
	testl	%ebx, %ebx
	jle	LBB0_35
## %bb.32:
	xorl	%ebx, %ebx
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_crypto_hash_update
	testl	%eax, %eax
	jne	LBB0_23
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	addl	%r13d, %ebx
	cmpl	%r12d, %ebx
	jl	LBB0_33
LBB0_35:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_hash_final
	testl	%eax, %eax
	jne	LBB0_23
## %bb.36:
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movl	%r12d, %ebx
	xorl	%r12d, %r12d
LBB0_37:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_40 Depth 2
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_cycles
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_crypto_hash_init
	testl	%eax, %eax
	jne	LBB0_44
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=1
	xorl	%r12d, %r12d
LBB0_40:                                ##   Parent Loop BB0_37 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_crypto_hash_update
	testl	%eax, %eax
	jne	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	movl	%r12d, %eax
	addl	%r13d, %eax
	movl	%eax, %r12d
	cmpl	%ebx, %eax
	jl	LBB0_40
LBB0_42:                                ##   in Loop: Header=BB0_37 Depth=1
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_hash_final
	testl	%eax, %eax
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_37 Depth=1
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_get_cycles
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	subq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	addq	%rax, %r12
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	cmpl	$8, %eax
	jne	LBB0_37
	jmp	LBB0_12
LBB0_44:
	movl	%eax, %r15d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%6lu cycles/operation, %4lu cycles/byte\n"

	.no_dead_strip	_test_hash_cycles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_hash_cycles
_test_hash_cycles:                      ; @test_hash_cycles
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x21, x3
	mov	x22, x1
	mov	x23, x0
	cmp	w3, w2
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_test_hash_cycles_digest
LBB0_2:
	mov	x19, x2
	bl	_local_bh_disable
	bl	_local_irq_disable
	mov	x0, x23
	bl	_crypto_hash_init
	cbnz	w0, LBB0_26
; %bb.3:
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.4:
	mov	w25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_hash_update
	cbnz	w0, LBB0_26
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w25, w25, w21
	cmp	w25, w19
	b.lt	LBB0_5
LBB0_7:
	mov	x0, x23
	mov	x1, x20
	bl	_crypto_hash_final
	cbnz	w0, LBB0_26
; %bb.8:
	mov	x0, x23
	bl	_crypto_hash_init
	cbnz	w0, LBB0_26
; %bb.9:
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.10:
	mov	w25, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_hash_update
	cbnz	w0, LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w25, w25, w21
	cmp	w25, w19
	b.lt	LBB0_11
LBB0_13:
	mov	x0, x23
	mov	x1, x20
	bl	_crypto_hash_final
	cbnz	w0, LBB0_26
; %bb.14:
	mov	x0, x23
	bl	_crypto_hash_init
	cbnz	w0, LBB0_26
; %bb.15:
	cmp	w19, #1
	b.lt	LBB0_19
; %bb.16:
	mov	w25, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_hash_update
	cbnz	w0, LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	w25, w25, w21
	cmp	w25, w19
	b.lt	LBB0_17
LBB0_19:
	mov	x0, x23
	mov	x1, x20
	bl	_crypto_hash_final
	cbnz	w0, LBB0_26
; %bb.20:
	mov	x0, x23
	bl	_crypto_hash_init
	cbnz	w0, LBB0_26
; %bb.21:
	cmp	w19, #1
	b.lt	LBB0_25
; %bb.22:
	mov	w25, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_hash_update
	cbnz	w0, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	add	w25, w25, w21
	cmp	w25, w19
	b.lt	LBB0_23
LBB0_25:
	mov	x0, x23
	mov	x1, x20
	bl	_crypto_hash_final
	cbz	w0, LBB0_30
LBB0_26:
	mov	x24, x0
	mov	x25, #0
LBB0_27:
	bl	_local_irq_enable
	bl	_local_bh_enable
	cbnz	w24, LBB0_29
; %bb.28:
	lsr	x1, x25, #3
	lsl	w8, w19, #3
	sxtw	x8, w8
	udiv	x2, x25, x8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_29:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_30:
	mov	x25, #0
	mov	w26, #0
LBB0_31:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_34 Depth 2
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	bl	_get_cycles
	mov	x25, x0
	mov	x0, x23
	bl	_crypto_hash_init
	cbnz	w0, LBB0_38
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	cmp	w19, #1
	b.lt	LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	w27, #0
LBB0_34:                                ;   Parent Loop BB0_31 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_hash_update
	cbnz	w0, LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=2
	add	w27, w27, w21
	cmp	w27, w19
	b.lt	LBB0_34
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_crypto_hash_final
	mov	x24, x0
	cbnz	w0, LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_31 Depth=1
	bl	_get_cycles
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sub	x8, x8, x25
	add	x25, x8, x0
	add	w26, w26, #1
	cmp	w26, #8
	b.ne	LBB0_31
	b	LBB0_27
LBB0_38:
	mov	x24, x0
LBB0_39:
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_27
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%6lu cycles/operation, %4lu cycles/byte\n"

	.no_dead_strip	_test_hash_cycles
.subsections_via_symbols
