	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function geode_cbc_decrypt
_geode_cbc_decrypt:                     ## @geode_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_crypto_blkcipher_ctx
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_AES_KEYSIZE_128@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fallback_blk_dec               ## TAILCALL
LBB0_1:
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	callq	_blkcipher_walk_init
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_blkcipher_walk_virt
	movl	-44(%rbp), %ecx
	movl	%ecx, 28(%r15)
	movl	-56(%rbp), %ebx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movq	_AES_DIR_DECRYPT@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %eax
	movl	%eax, 24(%r15)
	movl	-52(%rbp), %eax
	movl	%eax, 20(%r15)
	movq	_AES_MODE_CBC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movl	%ebx, %eax
	xorl	%edx, %edx
	movq	_AES_MIN_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	%ebx, %eax
	subl	%edx, %eax
	movl	%eax, 8(%r15)
	movl	(%r13), %eax
	movl	%eax, 12(%r15)
	movq	%r15, %rdi
	callq	_geode_aes_crypt
	subl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_blkcipher_walk_done
	movl	-56(%rbp), %ebx
	testl	%ebx, %ebx
	jne	LBB0_3
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_KEYSIZE_128,8,3            ## @AES_KEYSIZE_128
	.comm	_AES_MODE_CBC,4,2               ## @AES_MODE_CBC
	.comm	_AES_MIN_BLOCK_SIZE,4,2         ## @AES_MIN_BLOCK_SIZE
	.comm	_AES_DIR_DECRYPT,4,2            ## @AES_DIR_DECRYPT
	.no_dead_strip	_geode_cbc_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function geode_cbc_decrypt
_geode_cbc_decrypt:                     ; @geode_cbc_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_crypto_blkcipher_ctx
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AES_KEYSIZE_128@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AES_KEYSIZE_128@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	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
	add	sp, sp, #80
	b	_fallback_blk_dec
LBB0_2:
	mov	x0, sp
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_blkcipher_walk_init
	mov	x1, sp
	mov	x0, x19
	bl	_blkcipher_walk_virt
	ldr	w8, [sp, #12]
	ldr	w24, [sp]
	str	w8, [x20, #28]
	cbz	w24, LBB0_5
; %bb.3:
Lloh3:
	adrp	x21, _AES_MODE_CBC@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AES_MODE_CBC@GOTPAGEOFF]
Lloh5:
	adrp	x22, _AES_MIN_BLOCK_SIZE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _AES_MIN_BLOCK_SIZE@GOTPAGEOFF]
Lloh7:
	adrp	x23, _AES_DIR_DECRYPT@GOTPAGE
Lloh8:
	ldr	x23, [x23, _AES_DIR_DECRYPT@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	d0, [sp, #4]
	stur	d0, [x20, #20]
	ldr	w11, [x21]
	ldr	w8, [x22]
	udiv	w9, w24, w8
	ldr	w10, [x23]
	mul	w8, w9, w8
	str	w8, [x20, #8]
	stp	w10, w11, [x20, #12]
	mov	x0, x20
	bl	_geode_aes_crypt
	sub	w2, w24, w0
	mov	x1, sp
	mov	x0, x19
	bl	_blkcipher_walk_done
	ldr	w24, [sp]
	cbnz	w24, LBB0_4
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_KEYSIZE_128,8,3            ; @AES_KEYSIZE_128
	.comm	_AES_MODE_CBC,4,2               ; @AES_MODE_CBC
	.comm	_AES_MIN_BLOCK_SIZE,4,2         ; @AES_MIN_BLOCK_SIZE
	.comm	_AES_DIR_DECRYPT,4,2            ; @AES_DIR_DECRYPT
	.no_dead_strip	_geode_cbc_decrypt
.subsections_via_symbols
