	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_gcm128_finish           ## -- Begin function CRYPTO_gcm128_finish
	.p2align	4, 0x90
_CRYPTO_gcm128_finish:                  ## @CRYPTO_gcm128_finish
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	56(%rdi), %rax
	movl	(%rax), %r13d
	movl	4(%rax), %r14d
	shll	$3, %r13d
	shll	$3, %r14d
	cmpl	$0, 16(%rdi)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 72(%r12)
	je	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_GCM_MUL
	movq	56(%r12), %rax
LBB0_3:
	movq	64(%r12), %rbx
	movl	%r13d, (%rax)
	movl	%r14d, 4(%rax)
	movq	%rbx, %rdi
	callq	_GETU32
	leaq	16(%rbx), %rdi
	callq	_GETU32
	leaq	32(%rbx), %rdi
	callq	_GETU32
	addq	$48, %rbx
	movq	%rbx, %rdi
	callq	_GETU32
	movq	24(%r12), %rax
	xorl	%r13d, (%rax)
	xorl	%r14d, 4(%rax)
	movq	%r12, %rdi
	callq	_GCM_MUL
	movq	24(%r12), %rax
	movq	40(%r12), %rcx
	movl	(%rcx), %edx
	xorl	%edx, (%rax)
	movl	4(%rcx), %ecx
	xorl	%ecx, 4(%rax)
	testq	%r15, %r15
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_5
## %bb.4:
	cmpq	$16, %rdx
	ja	LBB0_5
## %bb.6:
	movl	32(%r12), %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CRYPTO_memcmp                  ## TAILCALL
LBB0_5:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_gcm128_finish           ; -- Begin function CRYPTO_gcm128_finish
	.p2align	2
_CRYPTO_gcm128_finish:                  ; @CRYPTO_gcm128_finish
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #56]
	ldr	d0, [x8]
	shl.2s	v8, v0, #3
	ldr	w9, [x0, #16]
	cbnz	w9, LBB0_2
; %bb.1:
	ldr	x9, [x21, #72]
	cbz	x9, LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_GCM_MUL
	ldr	x8, [x21, #56]
LBB0_3:
	ldr	x22, [x21, #64]
	str	d8, [x8]
	mov	x0, x22
	bl	_GETU32
	add	x0, x22, #16
	bl	_GETU32
	add	x0, x22, #32
	bl	_GETU32
	add	x0, x22, #48
	bl	_GETU32
	ldr	x8, [x21, #24]
	ldr	d0, [x8]
	eor.8b	v0, v0, v8
	str	d0, [x8]
	mov	x0, x21
	bl	_GCM_MUL
	ldr	x8, [x21, #40]
	ldr	w9, [x8]
	ldr	x10, [x21, #24]
	ldp	w11, w12, [x10]
	eor	w9, w11, w9
	str	w9, [x10]
	ldr	w8, [x8, #4]
	eor	w8, w12, w8
	str	w8, [x10, #4]
	cbz	x20, LBB0_6
; %bb.4:
	cmp	x19, #16
	b.hi	LBB0_6
; %bb.5:
	ldr	w0, [x21, #32]
	mov	x1, x20
	mov	x2, x19
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_CRYPTO_memcmp
LBB0_6:
	mov	w0, #-1
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
