	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_cipher_cycles
_test_cipher_cycles:                    ## @test_cipher_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_local_bh_disable
	xorl	%eax, %eax
	callq	_local_irq_disable
	testl	%r15d, %r15d
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	je	LBB0_5
## %bb.1:
	callq	_crypto_blkcipher_encrypt
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_crypto_blkcipher_encrypt
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_crypto_blkcipher_encrypt
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_crypto_blkcipher_encrypt
	jmp	LBB0_14
LBB0_5:
	callq	_crypto_blkcipher_decrypt
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_crypto_blkcipher_decrypt
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_crypto_blkcipher_decrypt
	testl	%eax, %eax
	je	LBB0_13
LBB0_8:
	movl	%eax, %ebx
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	xorl	%eax, %eax
	callq	_local_irq_enable
	xorl	%eax, %eax
	callq	_local_bh_enable
	testl	%ebx, %ebx
	jne	LBB0_12
## %bb.11:
	addq	$4, %r15
	shrq	$3, %r15
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_printk
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_crypto_blkcipher_decrypt
LBB0_14:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.16:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	$8, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_cycles
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_crypto_blkcipher_encrypt
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_crypto_blkcipher_decrypt
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_get_cycles
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	subq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	addq	%rax, %r15
	xorl	%ebx, %ebx
	decl	%r14d
	jne	LBB0_17
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1 operation in %lu cycles (%d bytes)\n"

	.no_dead_strip	_test_cipher_cycles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_cipher_cycles
_test_cipher_cycles:                    ; @test_cipher_cycles
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_local_bh_disable
	bl	_local_irq_disable
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	cbz	w21, LBB0_5
; %bb.1:
	bl	_crypto_blkcipher_encrypt
	cbnz	w0, LBB0_8
; %bb.2:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_blkcipher_encrypt
	cbnz	w0, LBB0_8
; %bb.3:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_blkcipher_encrypt
	cbnz	w0, LBB0_8
; %bb.4:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_blkcipher_encrypt
	b	LBB0_13
LBB0_5:
	bl	_crypto_blkcipher_decrypt
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_blkcipher_decrypt
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_blkcipher_decrypt
	cbz	w0, LBB0_12
LBB0_8:
	mov	x23, x0
	mov	x25, #0
LBB0_9:
	bl	_local_irq_enable
	bl	_local_bh_enable
	cbnz	w23, LBB0_11
; %bb.10:
	add	x8, x25, #4
	lsr	x1, x8, #3
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_printk
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_crypto_blkcipher_decrypt
LBB0_13:
	mov	x25, #0
	mov	x23, x0
	cbnz	w0, LBB0_9
; %bb.14:
	mov	w26, #8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	bl	_get_cycles
	mov	x24, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	cbz	w21, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_crypto_blkcipher_encrypt
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	bl	_crypto_blkcipher_decrypt
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x0
	bl	_get_cycles
	cbnz	w23, LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	sub	x8, x25, x24
	add	x25, x8, x0
	subs	w26, w26, #1
	b.ne	LBB0_15
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1 operation in %lu cycles (%d bytes)\n"

	.no_dead_strip	_test_cipher_cycles
.subsections_via_symbols
