	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_larval_lookup           ## -- Begin function crypto_larval_lookup
	.p2align	4, 0x90
_crypto_larval_lookup:                  ## @crypto_larval_lookup
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_CRYPTO_ALG_LARVAL@GOTPCREL(%rip), %rax
	movq	_CRYPTO_ALG_DEAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	notl	%ebx
	andl	%edx, %ebx
	andl	%ebx, %r15d
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_crypto_alg_lookup
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_request_module
	movq	_CRYPTO_ALG_NEED_FALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	xorl	%r15d, %ecx
	andl	%ebx, %eax
	testl	%ecx, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_request_module
LBB0_4:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_crypto_alg_lookup
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	%r12, %rdi
	callq	_crypto_is_larval
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_larval_wait             ## TAILCALL
LBB0_9:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_8:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_larval_add              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_CRYPTO_ALG_LARVAL,4,2          ## @CRYPTO_ALG_LARVAL
	.comm	_CRYPTO_ALG_DEAD,4,2            ## @CRYPTO_ALG_DEAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_CRYPTO_ALG_NEED_FALLBACK,4,2   ## @CRYPTO_ALG_NEED_FALLBACK
L_.str.1:                               ## @.str.1
	.asciz	"%s-all"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_larval_lookup           ; -- Begin function crypto_larval_lookup
	.p2align	2
_crypto_larval_lookup:                  ; @crypto_larval_lookup
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _CRYPTO_ALG_LARVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_ALG_LARVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CRYPTO_ALG_DEAD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CRYPTO_ALG_DEAD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w2, w8
	and	w21, w20, w1
	mov	x1, x21
	mov	x2, x20
	bl	_crypto_alg_lookup
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_request_module
Lloh8:
	adrp	x8, _CRYPTO_ALG_NEED_FALLBACK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRYPTO_ALG_NEED_FALLBACK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	eor	w9, w8, w21
	and	w8, w8, w20
	tst	w8, w9
	b.ne	LBB0_4
; %bb.3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_request_module
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_crypto_alg_lookup
	mov	x22, x0
	cbz	x0, LBB0_9
LBB0_5:
	mov	x0, x22
	bl	_crypto_is_larval
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x22
	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	_crypto_larval_wait
LBB0_7:
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
LBB0_8:
	mov	x0, x22
	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
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	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	_crypto_larval_add
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_CRYPTO_ALG_LARVAL,4,2          ; @CRYPTO_ALG_LARVAL
	.comm	_CRYPTO_ALG_DEAD,4,2            ; @CRYPTO_ALG_DEAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_CRYPTO_ALG_NEED_FALLBACK,4,2   ; @CRYPTO_ALG_NEED_FALLBACK
l_.str.1:                               ; @.str.1
	.asciz	"%s-all"

.subsections_via_symbols
