	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_cbc
_test_cbc:                              ## @test_cbc
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-184(%rbp), %r14
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_cf_aes_init
	movq	_cf_aes@GOTPCREL(%rip), %r13
	leaq	l_.str(%rip), %rbx
	leaq	-180(%rbp), %r12
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_cf_cbc_init
	leaq	L_.str.2(%rip), %rsi
	leaq	-112(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_cf_cbc_encrypt
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_TEST_CHECK
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_cf_cbc_init
	leaq	-176(%rbp), %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	_cf_cbc_decrypt
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$16, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_TEST_CHECK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.asciz	"\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"+~\025\026(\256\322\246\253\367\025\210\t\317O<"

L_.str.2:                               ## @.str.2
	.asciz	"k\301\276\342.@\237\226\351=~\021s\223\027*"

L_.str.3:                               ## @.str.3
	.asciz	"vI\253\254\201\031\262F\316\351\216\233\022\351\031}"

	.comm	_cf_aes,4,2                     ## @cf_aes
	.no_dead_strip	_test_cbc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_cbc
_test_cbc:                              ; @test_cbc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #4
	mov	w2, #16
	bl	_cf_aes_init
Lloh5:
	adrp	x19, _cf_aes@GOTPAGE
Lloh6:
	ldr	x19, [x19, _cf_aes@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str@PAGE
Lloh8:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, sp
	add	x2, sp, #4
	mov	x1, x19
	mov	x3, x20
	bl	_cf_cbc_init
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, sp
	add	x2, sp, #72
	mov	x1, x21
	mov	w3, #1
	bl	_cf_cbc_encrypt
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #72
	mov	w2, #16
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_TEST_CHECK
	mov	x0, sp
	add	x2, sp, #4
	mov	x1, x19
	mov	x3, x20
	bl	_cf_cbc_init
	mov	x0, sp
	add	x1, sp, #72
	add	x2, sp, #8
	mov	w3, #1
	bl	_cf_cbc_decrypt
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #16
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_TEST_CHECK
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.asciz	"\000\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"+~\025\026(\256\322\246\253\367\025\210\t\317O<"

l_.str.2:                               ; @.str.2
	.asciz	"k\301\276\342.@\237\226\351=~\021s\223\027*"

l_.str.3:                               ; @.str.3
	.asciz	"vI\253\254\201\031\262F\316\351\216\233\022\351\031}"

	.comm	_cf_aes,4,2                     ; @cf_aes
	.no_dead_strip	_test_cbc
.subsections_via_symbols
