	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_larval_wait
_crypto_larval_wait:                    ## @crypto_larval_wait
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	addq	$16, %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	imull	$60, (%rax), %esi
	callq	_wait_for_completion_interruptible_timeout
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	je	LBB0_3
## %bb.4:
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_crypto_is_test_larval
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_CRYPTO_ALG_TESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	callq	_crypto_mod_get
	testl	%eax, %eax
	jne	LBB0_11
LBB0_9:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_1:
	movq	_EINTR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_11:
	movq	%r14, %rdi
	callq	_crypto_mod_put
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_CRYPTO_ALG_TESTED,4,2          ## @CRYPTO_ALG_TESTED
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_crypto_larval_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_larval_wait
_crypto_larval_wait:                    ; @crypto_larval_wait
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #16
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #60
	mul	w1, w8, w9
	bl	_wait_for_completion_interruptible_timeout
	tbnz	x0, #63, LBB0_7
; %bb.1:
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_crypto_is_test_larval
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _CRYPTO_ALG_TESTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CRYPTO_ALG_TESTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_crypto_mod_get
	cbnz	w0, LBB0_11
LBB0_6:
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh8:
	adrp	x8, _EINTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh10:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _ENOENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
LBB0_11:
	mov	x0, x19
	bl	_crypto_mod_put
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_CRYPTO_ALG_TESTED,4,2          ; @CRYPTO_ALG_TESTED
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_crypto_larval_wait
.subsections_via_symbols
