	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gcm_tls_init
_gcm_tls_init:                          ## @gcm_tls_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EVP_AEAD_TLS1_AAD_LEN@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	%rdx, (%rax)
	jne	LBB0_5
## %bb.1:
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	%r15, %rdi
	callq	_memcpy
	movq	%r12, 8(%rbx)
	movq	$0, 24(%rbx)
	movzwl	-2(%r12,%r15), %eax
	rolw	$8, %ax
	movzwl	%ax, %eax
	movq	_EVP_GCM_TLS_EXPLICIT_IV_LEN@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	jb	LBB0_5
## %bb.2:
	cmpl	$0, 16(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_EVP_GCM_TLS_TAG_LEN@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	jb	LBB0_5
LBB0_4:
	rolw	$8, %ax
	movw	%ax, -2(%r15,%r12)
	movq	_EVP_GCM_TLS_TAG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_AEAD_TLS1_AAD_LEN,8,3      ## @EVP_AEAD_TLS1_AAD_LEN
	.comm	_EVP_GCM_TLS_EXPLICIT_IV_LEN,8,3 ## @EVP_GCM_TLS_EXPLICIT_IV_LEN
	.comm	_EVP_GCM_TLS_TAG_LEN,8,3        ## @EVP_GCM_TLS_TAG_LEN
	.no_dead_strip	_gcm_tls_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gcm_tls_init
_gcm_tls_init:                          ; @gcm_tls_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _EVP_AEAD_TLS1_AAD_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_AEAD_TLS1_AAD_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x21, x0
	ldr	x20, [x0]
	mov	x0, x20
	bl	_memcpy
	str	x19, [x21, #8]
	str	xzr, [x21, #24]
	sub	x8, x19, #2
	ldrh	w9, [x20, x8]
	rev16	w9, w9
Lloh3:
	adrp	x10, _EVP_GCM_TLS_EXPLICIT_IV_LEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EVP_GCM_TLS_EXPLICIT_IV_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	subs	x9, x9, x10
	b.hs	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	ldr	w11, [x21, #16]
Lloh6:
	adrp	x10, _EVP_GCM_TLS_TAG_LEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EVP_GCM_TLS_TAG_LEN@GOTPAGEOFF]
	cbnz	w11, LBB0_5
; %bb.4:
	ldr	x11, [x10]
	subs	x9, x9, x11
	b.lo	LBB0_2
LBB0_5:
	sub	x11, x19, #1
	lsr	x12, x9, #8
	strb	w12, [x20, x8]
	strb	w9, [x20, x11]
	ldr	w0, [x10]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_AEAD_TLS1_AAD_LEN,8,3      ; @EVP_AEAD_TLS1_AAD_LEN
	.comm	_EVP_GCM_TLS_EXPLICIT_IV_LEN,8,3 ; @EVP_GCM_TLS_EXPLICIT_IV_LEN
	.comm	_EVP_GCM_TLS_TAG_LEN,8,3        ; @EVP_GCM_TLS_TAG_LEN
	.no_dead_strip	_gcm_tls_init
.subsections_via_symbols
