	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aead_givencrypt
_aead_givencrypt:                       ## @aead_givencrypt
	.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	%rdi, %r15
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_crypto_aead_reqtfm
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_crypto_aead_ctx
	movq	%rax, %r13
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_aead_edesc_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	_DESC_HDR_MODE0_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r13), %eax
	movl	%eax, (%rbx)
	movq	8(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %r13d
	movq	%r12, %rdi
	callq	_crypto_aead_ivsize
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_memcpy
	movl	(%r15), %edi
	callq	_cpu_to_be64
	movq	8(%r15), %rdx
	xorl	%eax, (%rdx)
	movl	(%r15), %ecx
	movq	_ipsec_esp_encrypt_done@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipsec_esp                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_HDR_MODE0_ENCRYPT,4,2     ## @DESC_HDR_MODE0_ENCRYPT
	.comm	_ipsec_esp_encrypt_done,4,2     ## @ipsec_esp_encrypt_done
	.no_dead_strip	_aead_givencrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aead_givencrypt
_aead_givencrypt:                       ; @aead_givencrypt
	.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	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_crypto_aead_reqtfm
	mov	x22, x0
	bl	_crypto_aead_ctx
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	bl	_aead_edesc_alloc
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	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
	b	_PTR_ERR
LBB0_2:
Lloh0:
	adrp	x8, _DESC_HDR_MODE0_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_HDR_MODE0_ENCRYPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w23, [x23]
	orr	w8, w8, w9
	str	w8, [x21]
	ldr	x24, [x20, #8]
	mov	x0, x22
	bl	_crypto_aead_ivsize
	mov	x2, x0
	mov	x0, x24
	mov	x1, x23
	bl	_memcpy
	ldr	w0, [x20]
	bl	_cpu_to_be64
	ldr	x2, [x20, #8]
	ldr	w8, [x2]
	eor	w8, w8, w0
	str	w8, [x2]
	ldr	w3, [x20]
Lloh3:
	adrp	x8, _ipsec_esp_encrypt_done@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ipsec_esp_encrypt_done@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x21
	mov	x1, 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
	b	_ipsec_esp
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_HDR_MODE0_ENCRYPT,4,2     ; @DESC_HDR_MODE0_ENCRYPT
	.comm	_ipsec_esp_encrypt_done,4,2     ; @ipsec_esp_encrypt_done
	.no_dead_strip	_aead_givencrypt
.subsections_via_symbols
