	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_lookup_aead
_crypto_lookup_aead:                    ## @crypto_lookup_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	%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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_crypto_alg_mod_lookup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rbx), %rax
	cmpq	_crypto_aead_type@GOTPCREL(%rip), %rax
	je	LBB0_9
## %bb.2:
	cmpl	$0, 4(%rbx)
	je	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_crypto_mod_put
	movq	_CRYPTO_ALG_TESTED@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	%edx, %esi
	orl	%r15d, %esi
	notl	%edx
	andl	%r14d, %edx
	movq	%r12, %rdi
	callq	_crypto_alg_mod_lookup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	movq	8(%rbx), %rax
	cmpq	_crypto_aead_type@GOTPCREL(%rip), %rax
	je	LBB0_5
## %bb.7:
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx)
	sete	%dil
	callq	_BUG_ON
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_crypto_nivaead_default
	movl	%eax, %edi
	jmp	LBB0_8
LBB0_5:
	xorl	%r14d, %r15d
	xorl	(%rbx), %r15d
	notl	%r15d
	testl	%r15d, (%r13)
	je	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_crypto_mod_put
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_crypto_aead_type,4,2           ## @crypto_aead_type
	.comm	_CRYPTO_ALG_TESTED,4,2          ## @CRYPTO_ALG_TESTED
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_crypto_lookup_aead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_lookup_aead
_crypto_lookup_aead:                    ; @crypto_lookup_aead
	.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, x2
	mov	x21, x1
	mov	x22, x0
	bl	_crypto_alg_mod_lookup
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, 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_2:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x23, _crypto_aead_type@GOTPAGE
Lloh1:
	ldr	x23, [x23, _crypto_aead_type@GOTPAGEOFF]
	cmp	x8, x23
	b.eq	LBB0_1
; %bb.3:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_crypto_mod_put
Lloh2:
	adrp	x24, _CRYPTO_ALG_TESTED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CRYPTO_ALG_TESTED@GOTPAGEOFF]
	ldr	w8, [x24]
	orr	w1, w8, w21
	bic	w2, w20, w8
	mov	x0, x22
	bl	_crypto_alg_mod_lookup
	mov	x19, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_1
; %bb.5:
	ldr	x8, [x19, #8]
	cmp	x8, x23
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_crypto_nivaead_default
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19]
	eor	w9, w21, w20
	eor	w8, w9, w8
	ldr	w9, [x24]
	bics	wzr, w9, w8
	b.eq	LBB0_1
; %bb.8:
	mov	x0, x19
	bl	_crypto_mod_put
Lloh4:
	adrp	x8, _ENOENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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	_ERR_PTR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_crypto_aead_type,4,2           ; @crypto_aead_type
	.comm	_CRYPTO_ALG_TESTED,4,2          ; @CRYPTO_ALG_TESTED
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_crypto_lookup_aead
.subsections_via_symbols
