	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccm_tls_cipher
_ccm_tls_cipher:                        ## @ccm_tls_cipher
	.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, %r14
	cmpq	%rcx, %rsi
	jne	LBB0_1
## %bb.2:
	movq	%r8, %rbx
	movq	%rdi, %r15
	movq	_EVP_CCM_TLS_EXPLICIT_IV_LEN@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	(%rdi), %rax
	addq	%rdx, %rax
	cmpq	%r8, %rax
	ja	LBB0_1
## %bb.3:
	movq	%rsi, %r12
	cmpq	$0, 32(%r15)
	je	LBB0_5
## %bb.4:
	movq	8(%r15), %rsi
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%r13), %rdx
LBB0_5:
	movq	_EVP_CCM_TLS_FIXED_IV_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	16(%r15), %rdi
	movq	%r12, %rsi
	callq	_memcpy
	movq	(%r13), %rax
	addq	(%r15), %rax
	subq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ccm_set_iv
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	8(%r15), %rsi
	movq	24(%r15), %rax
	movl	40(%r15), %edx
	movq	%r15, %rdi
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:
	movq	24(%r15), %rax
	addq	(%r13), %r12
	cmpq	$0, 32(%r15)
	je	LBB0_10
## %bb.8:
	leaq	(%r12,%rbx), %r8
	movq	(%r15), %r9
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_1
## %bb.9:
	addq	(%r13), %rbx
	addq	(%r15), %rbx
	jmp	LBB0_11
LBB0_10:
	leaq	(%r12,%rbx), %r8
	movq	(%r15), %r9
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_1:
	xorl	%eax, %eax
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, (%r14)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CCM_TLS_EXPLICIT_IV_LEN,8,3 ## @EVP_CCM_TLS_EXPLICIT_IV_LEN
	.comm	_EVP_CCM_TLS_FIXED_IV_LEN,4,2   ## @EVP_CCM_TLS_FIXED_IV_LEN
	.no_dead_strip	_ccm_tls_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccm_tls_cipher
_ccm_tls_cipher:                        ; @ccm_tls_cipher
	.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	x19, x2
	cmp	x1, x3
	b.ne	LBB0_2
; %bb.1:
	mov	x21, x4
	mov	x20, x0
Lloh0:
	adrp	x23, _EVP_CCM_TLS_EXPLICIT_IV_LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EVP_CCM_TLS_EXPLICIT_IV_LEN@GOTPAGEOFF]
	ldr	x2, [x23]
	ldr	x8, [x0]
	add	x8, x8, x2
	cmp	x8, x4
	b.ls	LBB0_5
LBB0_2:
	mov	w0, #0
LBB0_3:
	mov	x21, #0
LBB0_4:
	str	x21, [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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x22, x1
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	x1, [x20, #8]
	mov	x0, x22
	bl	_memcpy
	ldr	x2, [x23]
LBB0_7:
	ldr	x8, [x20, #16]
Lloh2:
	adrp	x9, _EVP_CCM_TLS_FIXED_IV_LEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EVP_CCM_TLS_FIXED_IV_LEN@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x0, x8, x9
	mov	x1, x22
	bl	_memcpy
	ldr	x8, [x23]
	ldr	x9, [x20]
	add	x8, x8, x9
	sub	x21, x21, x8
	mov	x0, x20
	mov	x1, x21
	bl	_ccm_set_iv
	cbz	w0, LBB0_3
; %bb.8:
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #16]
	ldr	x1, [x20, #8]
	ldr	w2, [x20, #40]
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_3
; %bb.9:
	ldr	x8, [x23]
	add	x1, x22, x8
	ldp	x8, x9, [x20, #24]
	cbz	x9, LBB0_12
; %bb.10:
	ldr	x8, [x8, #8]
	add	x4, x1, x21
	ldr	x5, [x20]
	mov	x0, x20
	mov	x2, x1
	mov	x3, x21
	blr	x8
	cbz	w0, LBB0_3
; %bb.11:
	ldr	x8, [x23]
	ldr	x9, [x20]
	add	x8, x8, x21
	add	x21, x8, x9
	b	LBB0_13
LBB0_12:
	ldr	x8, [x8]
	add	x4, x1, x21
	ldr	x5, [x20]
	mov	x0, x20
	mov	x2, x1
	mov	x3, x21
	blr	x8
	cbz	w0, LBB0_3
LBB0_13:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CCM_TLS_EXPLICIT_IV_LEN,8,3 ; @EVP_CCM_TLS_EXPLICIT_IV_LEN
	.comm	_EVP_CCM_TLS_FIXED_IV_LEN,4,2   ; @EVP_CCM_TLS_FIXED_IV_LEN
	.no_dead_strip	_ccm_tls_cipher
.subsections_via_symbols
