	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_generic_block_final     ## -- Begin function cipher_generic_block_final
	.p2align	4, 0x90
_cipher_generic_block_final:            ## @cipher_generic_block_final
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	cmpq	$0, 40(%rdi)
	je	LBB0_13
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	16(%rbx), %rsi
	movq	%r12, %rdx
	callq	_padblock
LBB0_3:
	cmpq	%r13, %r12
	jbe	LBB0_10
LBB0_4:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_OUTPUT_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	16(%rbx), %rax
	cmpq	%r12, %rax
	jne	LBB0_14
## %bb.16:
	movq	8(%rbx), %rdx
	movq	32(%rbx), %rax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%r12, %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_11
## %bb.17:
	leaq	16(%rbx), %rcx
	cmpq	$0, 24(%rbx)
	je	LBB0_20
## %bb.18:
	movq	8(%rbx), %rdi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_unpadblock
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_19
LBB0_20:
	movq	(%rcx), %rdx
	cmpq	%r13, %rdx
	ja	LBB0_4
## %bb.21:
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_memcpy
	movq	16(%rbx), %rax
	movq	%rax, (%r14)
	movq	$0, 16(%rbx)
	jmp	LBB0_22
LBB0_5:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	cmpq	%r12, %rax
	je	LBB0_3
	jmp	LBB0_8
LBB0_10:
	movq	8(%rbx), %rdx
	movq	32(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	$0, 16(%rbx)
	movq	%r12, (%r14)
	jmp	LBB0_22
LBB0_14:
	testq	%rax, %rax
	jne	LBB0_8
## %bb.15:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
LBB0_8:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_WRONG_FINAL_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_CIPHER_OPERATION_FAILED@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_6:
	movq	$0, (%r14)
LBB0_22:
	movl	$1, %eax
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_WRONG_FINAL_BLOCK_LENGTH,4,2 ## @PROV_R_WRONG_FINAL_BLOCK_LENGTH
	.comm	_PROV_R_OUTPUT_BUFFER_TOO_SMALL,4,2 ## @PROV_R_OUTPUT_BUFFER_TOO_SMALL
	.comm	_PROV_R_CIPHER_OPERATION_FAILED,4,2 ## @PROV_R_CIPHER_OPERATION_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_generic_block_final     ; -- Begin function cipher_generic_block_final
	.p2align	2
_cipher_generic_block_final:            ; @cipher_generic_block_final
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x22, [x0]
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_11
; %bb.2:
	ldr	x0, [x20, #8]
	add	x1, x20, #16
	mov	x2, x22
	bl	_padblock
LBB0_3:
	cmp	x22, x23
	b.ls	LBB0_13
LBB0_4:
Lloh0:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PROV_R_OUTPUT_BUFFER_TOO_SMALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROV_R_OUTPUT_BUFFER_TOO_SMALL@GOTPAGEOFF]
	b	LBB0_19
LBB0_5:
	mov	x24, x20
	ldr	x8, [x24, #16]!
	cmp	x8, x22
	b.ne	LBB0_15
; %bb.6:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	x1, [x20, #8]
	mov	x0, x20
	mov	x2, x1
	mov	x3, x22
	blr	x8
	cbz	w0, LBB0_18
; %bb.7:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x0, [x20, #8]
	mov	x1, x24
	mov	x2, x22
	bl	_unpadblock
	cbz	w0, LBB0_22
LBB0_9:
	ldr	x2, [x24]
	cmp	x2, x23
	b.hi	LBB0_4
; %bb.10:
	ldr	x1, [x20, #8]
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x20, #16]
	str	x8, [x19]
	str	xzr, [x20, #16]
	b	LBB0_21
LBB0_11:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_20
; %bb.12:
	cmp	x8, x22
	b.eq	LBB0_3
	b	LBB0_17
LBB0_13:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	x2, [x20, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	blr	x8
	cbz	w0, LBB0_18
; %bb.14:
	str	xzr, [x20, #16]
	str	x22, [x19]
	b	LBB0_21
LBB0_15:
	cbnz	x8, LBB0_17
; %bb.16:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_20
LBB0_17:
Lloh5:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _PROV_R_WRONG_FINAL_BLOCK_LENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PROV_R_WRONG_FINAL_BLOCK_LENGTH@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh10:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _PROV_R_CIPHER_OPERATION_FAILED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROV_R_CIPHER_OPERATION_FAILED@GOTPAGEOFF]
LBB0_19:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
	b	LBB0_22
LBB0_20:
	str	xzr, [x19]
LBB0_21:
	mov	w0, #1
LBB0_22:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_WRONG_FINAL_BLOCK_LENGTH,4,2 ; @PROV_R_WRONG_FINAL_BLOCK_LENGTH
	.comm	_PROV_R_OUTPUT_BUFFER_TOO_SMALL,4,2 ; @PROV_R_OUTPUT_BUFFER_TOO_SMALL
	.comm	_PROV_R_CIPHER_OPERATION_FAILED,4,2 ; @PROV_R_CIPHER_OPERATION_FAILED
.subsections_via_symbols
