	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ccm_cipher_internal
_ccm_cipher_internal:                   ## @ccm_cipher_internal
	.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
	cmpl	$0, 48(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_UNINITIALISED_SIZET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	56(%rbx), %r10
	xorl	%r13d, %r13d
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	testq	%r12, %r12
	jne	LBB0_8
## %bb.4:
	xorl	%r15d, %r15d
LBB0_5:
	movl	$1, %r13d
	movq	%r15, %rcx
	jmp	LBB0_28
LBB0_6:
	xorl	%r13d, %r13d
	jmp	LBB0_29
LBB0_7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	movq	%r15, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ccm_tls_cipher                 ## TAILCALL
LBB0_8:
	cmpq	$0, 24(%rbx)
	je	LBB0_27
## %bb.9:
	testq	%r14, %r14
	je	LBB0_16
## %bb.10:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%rbx)
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r10, %r13
	callq	_ccm_set_iv
	testl	%eax, %eax
	movq	%r13, %r10
	je	LBB0_23
LBB0_12:
	cmpq	$0, 40(%rbx)
	je	LBB0_20
## %bb.13:
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*8(%r10)
	movl	$0, %ecx
	testl	%eax, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_28
## %bb.14:
	movl	$1, 8(%rbx)
	jmp	LBB0_5
LBB0_16:
	testq	%r12, %r12
	je	LBB0_24
## %bb.17:
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:
	cmpq	$0, 16(%rbx)
	je	LBB0_26
LBB0_19:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%rdx, %rbx
	movq	%r15, %rdx
	callq	*16(%r10)
	jmp	LBB0_25
LBB0_20:
	cmpl	$0, 8(%rbx)
	je	LBB0_23
## %bb.21:
	movl	32(%rbx), %r9d
	movl	36(%rbx), %r8d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	*(%r10)
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	$0, 8(%rbx)
	addq	$16, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_23:
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_24:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%rdx, %rbx
	callq	_ccm_set_iv
LBB0_25:
	movq	%rbx, %rdx
	testl	%eax, %eax
	jne	LBB0_5
LBB0_26:
	xorl	%r13d, %r13d
LBB0_27:
	xorl	%ecx, %ecx
LBB0_28:
	movq	%rcx, (%rdx)
LBB0_29:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNINITIALISED_SIZET,8,3        ## @UNINITIALISED_SIZET
	.no_dead_strip	_ccm_cipher_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ccm_cipher_internal
_ccm_cipher_internal:                   ; @ccm_cipher_internal
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _UNINITIALISED_SIZET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNINITIALISED_SIZET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	ldr	x24, [x21, #56]
	cbz	x23, LBB0_8
; %bb.3:
	cbnz	x22, LBB0_8
; %bb.4:
	mov	x20, #0
LBB0_5:
	mov	w0, #1
	b	LBB0_24
LBB0_6:
	mov	w0, #0
	b	LBB0_25
LBB0_7:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	mov	x4, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ccm_tls_cipher
LBB0_8:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_22
; %bb.9:
	cbz	x23, LBB0_15
; %bb.10:
	mov	x25, x21
	ldr	x8, [x25, #16]!
	cbnz	x8, LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x20
	bl	_ccm_set_iv
	cbz	w0, LBB0_23
LBB0_12:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_19
; %bb.13:
	ldr	x8, [x24, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	mov	x4, #0
	mov	w5, #0
	blr	x8
	cbz	w0, LBB0_23
; %bb.14:
	mov	w8, #1
	str	w8, [x21, #8]
	b	LBB0_5
LBB0_15:
	cbz	x22, LBB0_26
; %bb.16:
	cbz	x20, LBB0_18
; %bb.17:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_22
LBB0_18:
	ldr	x8, [x24, #16]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	blr	x8
	cbnz	w0, LBB0_5
	b	LBB0_23
LBB0_19:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_22
; %bb.20:
	ldr	x8, [x24]
	ldp	w5, w4, [x21, #32]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x20
	blr	x8
	cbz	w0, LBB0_23
; %bb.21:
	str	wzr, [x21, #8]
	stp	xzr, xzr, [x25]
	b	LBB0_5
LBB0_22:
	mov	w0, #0
LBB0_23:
	mov	x20, #0
LBB0_24:
	str	x20, [x19]
LBB0_25:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_26:
	mov	x0, x21
	mov	x1, x20
	bl	_ccm_set_iv
	cbnz	w0, LBB0_5
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNINITIALISED_SIZET,8,3        ; @UNINITIALISED_SIZET
	.no_dead_strip	_ccm_cipher_internal
.subsections_via_symbols
