	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cbc_decrypt
_cbc_decrypt:                           ## @cbc_decrypt
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, -224(%rbp)                ## 4-byte Spill
	movl	%esi, -220(%rbp)                ## 4-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%r8, -240(%rbp)                 ## 8-byte Spill
	movl	(%r8), %r15d
	addq	$32, %rdi
	movq	32(%r12), %rax
	movslq	(%rax), %rbx
	movl	24(%r12), %esi
	movq	%rcx, %rdx
	movl	%r15d, %ecx
	callq	*8(%rax)
	movq	16(%r12), %rax
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovnel	%ebx, %ecx
	cmoveq	%rax, %rbx
	movl	%r15d, %eax
	subl	%ecx, %eax
	addq	%r14, %rbx
	movq	%r12, -216(%rbp)                ## 8-byte Spill
	movl	(%r12), %edx
	leal	256(%rdx), %esi
	negl	%ecx
	cmpl	%eax, %esi
	leal	-256(%r15,%rcx), %r12d
	cmovgel	%edx, %r12d
	movslq	%eax, %r13
	movq	%rbx, -208(%rbp)                ## 8-byte Spill
	movzbl	-1(%r13,%rbx), %ebx
	decq	%r13
	movl	%r13d, %esi
	subl	%r12d, %esi
	movl	%ebx, %edi
	callq	_LE
	movl	%eax, %r15d
	movl	%r13d, %esi
	subl	%ebx, %esi
	movl	%eax, %edi
	movl	%r12d, %edx
	callq	_MUX
	movzbl	%al, %ecx
	cmpl	%r12d, %r13d
	movl	%ecx, %r14d
	movl	%r12d, -180(%rbp)               ## 4-byte Spill
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	jle	LBB0_3
## %bb.1:
	movl	%ebx, -184(%rbp)                ## 4-byte Spill
	movslq	%r12d, %rbx
	movq	-208(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_LT
	movl	%eax, %r12d
	movzbl	(%r13,%rbx), %edi
	movl	-184(%rbp), %esi                ## 4-byte Reload
	callq	_EQ
	movl	%r14d, %ecx
	orl	%r12d, %eax
	andl	%eax, %r15d
	incq	%rbx
	cmpq	-192(%rbp), %rbx                ## 8-byte Folded Reload
	jl	LBB0_2
LBB0_3:
	movq	-216(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	movl	-180(%rbp), %ebx                ## 4-byte Reload
	subl	%edx, %ebx
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	-192(%rbp), %rax                ## 8-byte Reload
	cmpl	%eax, %ebx
	movl	%ebx, -180(%rbp)                ## 4-byte Spill
	jge	LBB0_4
## %bb.5:
	movslq	%ebx, %r12
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movl	%r14d, -228(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -184(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	-196(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %esi
	callq	_GE
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	-228(%rbp), %esi                ## 4-byte Reload
	callq	_LT
	andl	%eax, %ebx
	movq	-208(%rbp), %rax                ## 8-byte Reload
	movzbl	(%rax,%r12), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_MUX
	movslq	%r13d, %r13
	orb	%al, -112(%rbp,%r13)
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_EQ
	movl	%eax, %edi
	movl	%r13d, %esi
	movl	-184(%rbp), %edx                ## 4-byte Reload
	callq	_MUX
	movzbl	%al, %ebx
	incl	%r13d
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r14d
	cmpl	%r14d, %r13d
	movl	$0, %eax
	cmovel	%eax, %r13d
	incq	%r12
	cmpq	-192(%rbp), %r12                ## 8-byte Folded Reload
	jl	LBB0_6
	jmp	LBB0_7
LBB0_4:
	movl	(%r12), %r14d
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %edi
	shrl	$5, %edi
	leaq	-112(%rbp), %r13
	movq	%r13, %rsi
	movl	%r14d, %edx
	movl	$32, %ecx
	callq	_cond_rotate
	movl	%ebx, %edi
	shrl	$4, %edi
	andl	$-3, %edi
	movq	-216(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %edx
	movq	%r13, %rsi
	movl	$16, %ecx
	callq	_cond_rotate
	movl	%ebx, %edi
	shrl	$3, %edi
	andl	$-7, %edi
	movl	(%r12), %edx
	movq	%r13, %rsi
	movl	$8, %ecx
	callq	_cond_rotate
	movl	%ebx, %edi
	shrl	$2, %edi
	andl	$-15, %edi
	movl	(%r12), %edx
	movq	%r13, %rsi
	movl	$4, %ecx
	callq	_cond_rotate
	movl	%ebx, %edi
	shrl	%edi
	andl	$-31, %edi
	movl	(%r12), %edx
	movq	%r13, %rsi
	movl	$2, %ecx
	callq	_cond_rotate
	andl	$-63, %ebx
	movl	(%r12), %edx
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	$1, %ecx
	callq	_cond_rotate
	movq	-192(%rbp), %rax                ## 8-byte Reload
	subl	%r14d, %eax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	8(%r12), %esi
	leal	1(%rsi), %eax
	movl	%eax, 8(%r12)
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_br_enc64be
	movl	-220(%rbp), %eax                ## 4-byte Reload
	movb	%al, -168(%rbp)
	leaq	-167(%rbp), %rdi
	movl	-224(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc16be
	leaq	-165(%rbp), %rdi
	movl	-196(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %esi
	callq	_br_enc16be
	leaq	4(%r12), %rsi
	movl	(%r12), %edx
	leaq	-244(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_br_hmac_init
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$13, %edx
	callq	_br_hmac_update
	movq	%rbx, %rdi
	movq	-208(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	movq	-192(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	%r14, %r9
	callq	_br_hmac_outCT
	cmpl	$0, (%r12)
	movq	%rbx, %r14
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-176(%rbp,%rbx), %eax
	xorb	-112(%rbp,%rbx), %al
	movzbl	%al, %edi
	callq	_EQ0
	andl	%eax, %r15d
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movl	%r13d, %edi
	movl	$16384, %esi                    ## imm = 0x4000
	callq	_LE
	testl	%r15d, %eax
	je	LBB0_11
## %bb.12:
	movslq	%r13d, %rax
	movq	-240(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	jmp	LBB0_13
LBB0_11:
	xorl	%r14d, %r14d
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r14, %rax
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cbc_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cbc_decrypt
_cbc_decrypt:                           ; @cbc_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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	x19, x3
	stp	w1, w2, [sp, #24]               ; 8-byte Folded Spill
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w22, [x4]
	ldr	x8, [x0, #32]!
	ldrsw	x20, [x8]
	ldr	x8, [x8, #8]
	ldr	w1, [x21, #24]
	mov	x2, x3
	mov	x3, x22
	blr	x8
	ldr	x8, [x21, #16]
	cmp	x8, #0
	csel	x8, xzr, x20, eq
	csel	w9, wzr, w20, eq
	add	x20, x19, x8
	ldr	w8, [x21]
	add	w10, w8, #256
	sub	w9, w22, w9
	cmp	w10, w9
	sub	w10, w9, #256
	csel	w23, w10, w8, lt
	sxtw	x8, w9
	sub	x26, x8, #1
	ldrb	w19, [x20, x26]
	subs	w1, w26, w23
	mov	x0, x19
	bl	_LE
	mov	x22, x0
	sub	w1, w26, w19
	mov	x2, x23
	bl	_MUX
	mov	x28, x0
	cmp	w26, w23
	b.le	LBB0_3
; %bb.1:
	sxtw	x24, w23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x28
	bl	_LT
	mov	x25, x0
	ldrb	w0, [x20, x24]
	mov	x1, x19
	bl	_EQ
	orr	w8, w0, w25
	and	w22, w8, w22
	add	x24, x24, #1
	cmp	x24, x26
	b.lt	LBB0_2
LBB0_3:
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	ldr	w2, [x21]
	sub	w25, w28, w2
	sub	w19, w23, w2
	add	x0, sp, #112
	mov	w1, #0
	bl	_memset
	cmp	w19, w26
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	mov	w27, #0
	b.ge	LBB0_7
; %bb.4:
	mov	w24, #0
	sxtw	x19, w19
	mov	x20, x26
	mov	x26, x21
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_GE
	mov	x23, x0
	mov	x0, x19
	mov	x1, x28
	bl	_LT
	and	w0, w0, w23
	ldrb	w1, [x21, x19]
	mov	w2, #0
	bl	_MUX
	sxtw	x8, w24
	add	x10, sp, #112
	ldrb	w9, [x10, x8]
	orr	w9, w9, w0
	strb	w9, [x10, x8]
	mov	x0, x19
	mov	x1, x25
	bl	_EQ
	mov	x1, x24
	mov	x2, x27
	bl	_MUX
	mov	x27, x0
	add	w8, w24, #1
	ldr	w23, [x26]
	cmp	w8, w23
	csinc	w24, wzr, w24, eq
	add	x19, x19, #1
	cmp	x19, x20
	b.lt	LBB0_5
; %bb.6:
	mov	x21, x26
	mov	x26, x20
	b	LBB0_8
LBB0_7:
	ldr	w23, [x21]
LBB0_8:
	lsr	w0, w27, #5
	add	x24, sp, #112
	add	x1, sp, #112
	mov	x2, x23
	mov	w3, #32
	bl	_cond_rotate
	lsr	w8, w27, #4
	and	w0, w8, #0xfffffffd
	ldr	w2, [x21]
	add	x1, sp, #112
	mov	w3, #16
	bl	_cond_rotate
	lsr	w8, w27, #3
	and	w0, w8, #0xfffffff9
	ldr	w2, [x21]
	add	x1, sp, #112
	mov	w3, #8
	bl	_cond_rotate
	lsr	w8, w27, #2
	and	w0, w8, #0xfffffff1
	ldr	w2, [x21]
	add	x1, sp, #112
	mov	w3, #4
	bl	_cond_rotate
	lsr	w8, w27, #1
	and	w0, w8, #0xffffffe1
	ldr	w2, [x21]
	add	x1, sp, #112
	mov	w3, #2
	bl	_cond_rotate
	and	w0, w27, #0xffffffc1
	ldr	w2, [x21]
	add	x1, sp, #112
	mov	w3, #1
	bl	_cond_rotate
	sub	w19, w26, w23
	ldr	w1, [x21, #8]
	add	w8, w1, #1
	str	w8, [x21, #8]
	add	x20, sp, #48
	add	x0, sp, #48
	bl	_br_enc64be
	ldp	w8, w1, [sp, #24]               ; 8-byte Folded Reload
	strb	w8, [sp, #56]
	add	x0, x20, #9
	bl	_br_enc16be
	add	x0, x20, #11
	mov	x1, x25
	bl	_br_enc16be
	add	x1, x21, #4
	ldr	w2, [x21]
	add	x0, sp, #44
	bl	_br_hmac_init
	add	x0, sp, #44
	add	x1, sp, #48
	mov	w2, #13
	bl	_br_hmac_update
	add	x0, sp, #44
	add	x5, sp, #48
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x25
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x19
	bl	_br_hmac_outCT
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x19, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x24, x19]
	ldrb	w9, [x20, x19]
	eor	w0, w9, w8
	bl	_EQ0
	and	w22, w0, w22
	add	x19, x19, #1
	ldrsw	x8, [x21]
	cmp	x19, x8
	b.lt	LBB0_10
LBB0_11:
	mov	x0, x25
	mov	w1, #16384
	bl	_LE
	tst	w0, w22
	b.eq	LBB0_13
; %bb.12:
	sxtw	x8, w25
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x9]
	b	LBB0_14
LBB0_13:
	mov	x23, #0
LBB0_14:
	ldur	x8, [x29, #-96]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x23
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cbc_decrypt
.subsections_via_symbols
