	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccm_tls_init
_ccm_tls_init:                          ## @ccm_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -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, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	callq	_memcpy
	movq	%rbx, 8(%r15)
	movq	(%r15), %rax
	movl	-8(%rax,%rbx,4), %ecx
	shll	$8, %ecx
	orl	-4(%rax,%rbx,4), %ecx
	movslq	%ecx, %rcx
	movq	_EVP_CCM_TLS_EXPLICIT_IV_LEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rcx, %rdx
	ja	LBB0_5
## %bb.2:
	subq	%rdx, %rcx
	cmpl	$0, 24(%r15)
	movq	16(%r15), %rdx
	jne	LBB0_4
## %bb.3:
	subq	%rdx, %rcx
	jb	LBB0_5
LBB0_4:
	movzbl	%ch, %esi
	movl	%esi, -8(%rax,%rbx,4)
	movzbl	%cl, %ecx
	movl	%ecx, -4(%rax,%rbx,4)
	movl	%edx, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	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_CCM_TLS_EXPLICIT_IV_LEN,8,3 ## @EVP_CCM_TLS_EXPLICIT_IV_LEN
	.no_dead_strip	_ccm_tls_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccm_tls_init
_ccm_tls_init:                          ; @ccm_tls_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
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	x20, x2
	mov	x19, x0
	ldr	x0, [x0]
	bl	_memcpy
	str	x20, [x19, #8]
	ldr	x8, [x19]
	sub	x9, x20, #2
	ldr	w11, [x8, x9, lsl #2]
	sub	x10, x20, #1
	ldr	w12, [x8, x10, lsl #2]
	orr	w11, w12, w11, lsl #8
	sxtw	x11, w11
Lloh3:
	adrp	x12, _EVP_CCM_TLS_EXPLICIT_IV_LEN@GOTPAGE
Lloh4:
	ldr	x12, [x12, _EVP_CCM_TLS_EXPLICIT_IV_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x12, x11
	b.ls	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	sub	x11, x11, x12
	ldr	w12, [x19, #24]
	ldr	x0, [x19, #16]
	cbnz	w12, LBB0_5
; %bb.4:
	subs	x11, x11, x0
	b.lo	LBB0_2
LBB0_5:
	ubfx	w12, w11, #8, #8
	str	w12, [x8, x9, lsl #2]
	and	w9, w11, #0xff
	str	w9, [x8, x10, lsl #2]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_AEAD_TLS1_AAD_LEN,8,3      ; @EVP_AEAD_TLS1_AAD_LEN
	.comm	_EVP_CCM_TLS_EXPLICIT_IV_LEN,8,3 ; @EVP_CCM_TLS_EXPLICIT_IV_LEN
	.no_dead_strip	_ccm_tls_init
.subsections_via_symbols
