	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gcm_cipher_update              ## -- Begin function gcm_cipher_update
	.p2align	4, 0x90
_gcm_cipher_update:                     ## @gcm_cipher_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rcx, %rax
	movq	%rdx, %rcx
	cmpq	$0, 40(%rdi)
	movq	32(%rdi), %r8
	movq	%rax, %rdx
	je	LBB0_4
## %bb.1:
	testq	%r8, %r8
	je	LBB0_3
## %bb.2:
	callq	_CRYPTO_gcm128_encrypt_ctr32
	jmp	LBB0_7
LBB0_4:
	testq	%r8, %r8
	je	LBB0_6
## %bb.5:
	callq	_CRYPTO_gcm128_decrypt_ctr32
	jmp	LBB0_7
LBB0_3:
	callq	_CRYPTO_gcm128_encrypt
	jmp	LBB0_7
LBB0_6:
	callq	_CRYPTO_gcm128_decrypt
LBB0_7:
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.9:
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %eax
	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	_gcm_cipher_update              ; -- Begin function gcm_cipher_update
	.p2align	2
_gcm_cipher_update:                     ; @gcm_cipher_update
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x2
	ldp	x4, x9, [x0, #32]
	mov	x2, x3
	mov	x3, x8
	cbz	x9, LBB0_4
; %bb.1:
	cbz	x4, LBB0_6
; %bb.2:
	bl	_CRYPTO_gcm128_encrypt_ctr32
	cbz	x0, LBB0_7
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	cbz	x4, LBB0_8
; %bb.5:
	bl	_CRYPTO_gcm128_decrypt_ctr32
	cbnz	x0, LBB0_3
	b	LBB0_7
LBB0_6:
	bl	_CRYPTO_gcm128_encrypt
	cbnz	x0, LBB0_3
LBB0_7:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	_CRYPTO_gcm128_decrypt
	cbnz	x0, LBB0_3
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
