	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_aes_ccm_encrypt      ## -- Begin function ieee80211_aes_ccm_encrypt
	.p2align	4, 0x90
_ieee80211_aes_ccm_encrypt:             ## @ieee80211_aes_ccm_encrypt
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %r15
	movslq	(%r15), %rsi
	movq	%rcx, %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DIV_ROUND_UP
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	(%r15), %rcx
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_aes_ccm_prepare
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	testl	%r9d, %r9d
	jle	LBB0_43
## %bb.4:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rdx,2), %rax
	leaq	(%rdx,%rdx), %rcx
	leaq	(%r12,%rdx,8), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rax,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rcx,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_crypto_cipher_encrypt_one
	movq	%r15, %rcx
	movzbl	%ch, %eax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 56(%rdx)
	movzbl	%cl, %eax
	movl	%eax, 60(%rdx)
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_cipher_encrypt_one
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	leal	1(%rcx), %eax
	cmpl	%r9d, %ecx
	movl	%eax, %r15d
	je	LBB0_43
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_36 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	%ecx, %ecx
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	cmovnel	%ecx, %esi
	cmpl	%r9d, %r15d
	cmovnel	%eax, %esi
	testl	%esi, %esi
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	jle	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%esi, %r14d
	cmpl	$8, %esi
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	jb	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rbx,%r14,4), %rax
	cmpq	%r12, %rax
	jbe	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r12,%r14,4), %rax
	cmpq	%rax, %rbx
	jae	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rcx
	notq	%rcx
	addq	%r14, %rcx
	movq	%r14, %rdx
	andq	$3, %rdx
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%rax,4), %esi
	xorl	%esi, (%r12,%rax,4)
	incq	%rax
	decq	%rdx
	jne	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$3, %rcx
	jb	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%rax,4), %ecx
	xorl	%ecx, (%r12,%rax,4)
	movl	4(%rbx,%rax,4), %ecx
	xorl	%ecx, 4(%r12,%rax,4)
	movl	8(%rbx,%rax,4), %ecx
	xorl	%ecx, 8(%r12,%rax,4)
	movl	12(%rbx,%rax,4), %ecx
	xorl	%ecx, 12(%r12,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r14
	jne	LBB0_22
	jmp	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r14d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$3, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_41
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %rsi
	movabsq	$4611686018427387902, %rdx      ## imm = 0x3FFFFFFFFFFFFFFE
	andq	%rdx, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rbx,%rdx,4), %xmm0
	movups	16(%rbx,%rdx,4), %xmm1
	movups	(%r12,%rdx,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%r12,%rdx,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	32(%r12,%rdx,4), %xmm1
	movups	48(%r12,%rdx,4), %xmm3
	movups	%xmm2, (%r12,%rdx,4)
	movups	%xmm0, 16(%r12,%rdx,4)
	movups	32(%rbx,%rdx,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	48(%rbx,%rdx,4), %xmm1
	xorps	%xmm3, %xmm1
	movups	%xmm0, 32(%r12,%rdx,4)
	movups	%xmm1, 48(%r12,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rsi
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %cl
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movups	(%rbx,%rdx,4), %xmm0
	movups	16(%rbx,%rdx,4), %xmm1
	movups	(%r12,%rdx,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%r12,%rdx,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%r12,%rdx,4)
	movups	%xmm0, 16(%r12,%rdx,4)
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r14, %rax
	jne	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_crypto_cipher_encrypt_one
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movzbl	%ch, %eax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 56(%rdx)
	movzbl	%cl, %eax
	movl	%eax, 60(%rdx)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_cipher_encrypt_one
	cmpl	$8, -68(%rbp)                   ## 4-byte Folded Reload
	jae	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rax
	subq	%rbx, %rax
	cmpq	$32, %rax
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jb	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rax
	subq	%rcx, %rax
	cmpq	$32, %rax
	jb	LBB0_34
## %bb.27:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r14d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rdx
	movq	%rdx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_42
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r8, %rsi
	movabsq	$4611686018427387902, %rdx      ## imm = 0x3FFFFFFFFFFFFFFE
	andq	%rdx, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rbx,%rdx,4), %xmm0
	movups	16(%rbx,%rdx,4), %xmm1
	movups	(%rcx,%rdx,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%rcx,%rdx,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%r13,%rdx,4)
	movups	%xmm0, 16(%r13,%rdx,4)
	movups	32(%rbx,%rdx,4), %xmm0
	movups	48(%rbx,%rdx,4), %xmm1
	movups	32(%rcx,%rdx,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	48(%rcx,%rdx,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, 32(%r13,%rdx,4)
	movups	%xmm0, 48(%r13,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rsi
	jne	LBB0_29
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %r8b
	je	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=1
	movups	(%rbx,%rdx,4), %xmm0
	movups	16(%rbx,%rdx,4), %xmm1
	movups	(%rdi,%rdx,4), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%rdi,%rdx,4), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%r13,%rdx,4)
	movups	%xmm0, 16(%r13,%rdx,4)
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%rbx,%rax,4), %rbx
	leaq	(%r13,%rax,4), %r13
	cmpq	%r14, %rax
	je	LBB0_6
	jmp	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
LBB0_35:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r8
	notq	%r8
	addq	%r14, %r8
	movq	%r14, %rdx
	andq	$3, %rdx
	je	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%rax,4), %esi
	xorl	(%rbx), %esi
	addq	$4, %rbx
	movl	%esi, (%r13)
	addq	$4, %r13
	incq	%rax
	decq	%rdx
	jne	LBB0_36
LBB0_37:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$3, %r8
	jb	LBB0_6
## %bb.38:                              ##   in Loop: Header=BB0_7 Depth=1
	subq	%rax, %r14
	leaq	(%rcx,%rax,4), %rcx
	addq	$12, %rcx
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-12(%rcx,%rdx,4), %esi
	xorl	(%rbx,%rdx,4), %esi
	movl	%esi, (%r13,%rdx,4)
	movl	-8(%rcx,%rdx,4), %esi
	xorl	4(%rbx,%rdx,4), %esi
	movl	%esi, 4(%r13,%rdx,4)
	movl	-4(%rcx,%rdx,4), %esi
	xorl	8(%rbx,%rdx,4), %esi
	movl	%esi, 8(%r13,%rdx,4)
	movl	(%rcx,%rdx,4), %esi
	xorl	12(%rbx,%rdx,4), %esi
	movl	%esi, 12(%r13,%rdx,4)
	addq	$4, %rdx
	addq	$-16, %rax
	cmpq	%rdx, %r14
	jne	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_7 Depth=1
	subq	%rax, %rbx
	subq	%rax, %r13
	jmp	LBB0_6
LBB0_41:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edx, %edx
	testb	$1, %cl
	jne	LBB0_17
	jmp	LBB0_18
LBB0_42:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edx, %edx
	testb	$1, %r8b
	jne	LBB0_31
	jmp	LBB0_32
LBB0_43:
	movq	_CCMP_MIC_LEN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	jle	LBB0_46
## %bb.44:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r12,%rcx,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx,4), %esi
	xorl	(%r12,%rdx,4), %esi
	movl	%esi, (%rdi,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_45
LBB0_46:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.comm	_CCMP_MIC_LEN,4,2               ## @CCMP_MIC_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_aes_ccm_encrypt      ; -- Begin function ieee80211_aes_ccm_encrypt
	.p2align	2
_ieee80211_aes_ccm_encrypt:             ; @ieee80211_aes_ccm_encrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	mov	x26, x4
	mov	x28, x3
	mov	x27, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x19, _AES_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AES_BLOCK_SIZE@GOTPAGEOFF]
	ldrsw	x1, [x19]
	mov	x0, x3
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_DIV_ROUND_UP
	mov	x23, x0
	ldrsw	x19, [x19]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	bl	_aes_ccm_prepare
	cmp	w23, #1
	b.lt	LBB0_23
; %bb.1:
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	lsl	x8, x9, #1
	add	x24, x20, x9, lsl #3
	add	w9, w9, w9, lsl #1
	add	x25, x20, w9, sxtw #2
	udiv	x9, x28, x19
	msub	w28, w9, w19, w28
	add	x8, x20, x8, lsl #2
	add	x9, x20, #32
	stp	x9, x8, [sp, #32]               ; 16-byte Folded Spill
	add	x8, x8, #32
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w21, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	bl	_crypto_cipher_encrypt_one
	ubfx	w8, w21, #8, #8
	and	w9, w21, #0xff
	stp	w8, w9, [x25, #56]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_crypto_cipher_encrypt_one
	mov	x9, x26
	mov	x8, x27
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w21, #1
	mov	x27, x8
	mov	x26, x9
	cmp	w21, w23
	mov	x21, x10
	b.eq	LBB0_23
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	cmp	w28, #0
	ccmp	w21, w23, #0, ne
Lloh2:
	adrp	x8, _AES_BLOCK_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AES_BLOCK_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	csel	w19, w28, w8, eq
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #16
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x19, #2
	add	x9, x20, x8
	add	x8, x27, x8
	cmp	x8, x20
	ccmp	x27, x9, #2, hi
	b.lo	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x8, x19, #0xfffffff0
	add	x9, x27, #32
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	mov	x11, x8
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10]
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x19
	b.ne	LBB0_11
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x10, x8, #2
	add	x9, x20, x10
	add	x10, x27, x10
	sub	x8, x19, x8
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x10], #4
	ldr	w12, [x9]
	eor	w11, w12, w11
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_12
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x20
	bl	_crypto_cipher_encrypt_one
	ubfx	w8, w21, #8, #8
	and	w9, w21, #0xff
	stp	w8, w9, [x25, #56]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_crypto_cipher_encrypt_one
	cmp	w19, #16
	b.hs	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	sub	x8, x26, x27
	cmp	x8, #64
	b.lo	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sub	x8, x26, x8
	cmp	x8, #64
	b.lo	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	and	x10, x19, #0xfffffff0
	lsl	x9, x10, #2
	add	x8, x27, x9
	add	x9, x26, x9
	add	x11, x27, #32
	add	x12, x26, #32
	ldr	x13, [sp, #24]                  ; 8-byte Folded Reload
	mov	x14, x10
LBB0_18:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	ldp	q4, q5, [x13, #-32]
	ldp	q6, q7, [x13], #64
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x19
	b.eq	LBB0_3
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
	mov	x9, x26
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	add	x11, x11, x10, lsl #2
	sub	x10, x19, x10
LBB0_22:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x8], #4
	ldr	w13, [x11], #4
	eor	w12, w13, w12
	str	w12, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_22
	b	LBB0_3
LBB0_23:
Lloh5:
	adrp	x8, _CCMP_MIC_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CCMP_MIC_LEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	ldr	x14, [sp, #8]                   ; 8-byte Folded Reload
	b.lt	LBB0_26
; %bb.24:
	mov	x9, #0
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x10, x20, x10, lsl #2
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x20, x11]
	ldr	w13, [x10, x11]
	eor	w12, w13, w12
	str	w12, [x14, x11]
	add	x9, x9, #1
	ldrsw	x11, [x8]
	cmp	x9, x11
	b.lt	LBB0_25
LBB0_26:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.comm	_CCMP_MIC_LEN,4,2               ; @CCMP_MIC_LEN
.subsections_via_symbols
