	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_grab_aead               ## -- Begin function crypto_grab_aead
	.p2align	4, 0x90
_crypto_grab_aead:                      ## @crypto_grab_aead
	.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	%rdi, %r14
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CRYPTO_ALG_GENIV@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	orl	%eax, %ebx
	notl	%ebx
	andl	%ebx, %edx
	movq	_CRYPTO_ALG_TYPE_AEAD@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	andl	%ecx, %ebx
	orl	%eax, %ebx
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%ebx, %edx
	callq	_crypto_lookup_aead
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	(%r14), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %ecx
	callq	_crypto_init_spawn
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_crypto_mod_put
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ## @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_GENIV,4,2           ## @CRYPTO_ALG_GENIV
	.comm	_CRYPTO_ALG_TYPE_AEAD,4,2       ## @CRYPTO_ALG_TYPE_AEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_grab_aead               ; -- Begin function crypto_grab_aead
	.p2align	2
_crypto_grab_aead:                      ; @crypto_grab_aead
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _CRYPTO_ALG_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRYPTO_ALG_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _CRYPTO_ALG_GENIV@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CRYPTO_ALG_GENIV@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w10, w10, w9
	bic	w11, w2, w10
Lloh6:
	adrp	x12, _CRYPTO_ALG_TYPE_AEAD@GOTPAGE
Lloh7:
	ldr	x12, [x12, _CRYPTO_ALG_TYPE_AEAD@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	orr	w1, w11, w12
	bic	w10, w3, w10
	orr	w20, w10, w9
	mov	x0, x8
	mov	x2, x20
	bl	_crypto_lookup_aead
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_crypto_init_spawn
	mov	x19, x0
	mov	x0, x21
	bl	_crypto_mod_put
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ; @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_GENIV,4,2           ; @CRYPTO_ALG_GENIV
	.comm	_CRYPTO_ALG_TYPE_AEAD,4,2       ; @CRYPTO_ALG_TYPE_AEAD
.subsections_via_symbols
