	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypto_remove_spawn
_crypto_remove_spawn:                   ## @crypto_remove_spawn
	.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
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	24(%rbx), %r12
	movq	%rbx, %rdi
	callq	_crypto_is_dead
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_CRYPTO_ALG_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_hlist_unhashed
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_crypto_tmpl_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	_CRYPTO_MSG_ALG_UNREGISTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_crypto_notify
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_list_move
	movq	%r15, %rdi
	callq	_hlist_del
	movq	_crypto_destroy_instance@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG_ON                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALG_DEAD,4,2            ## @CRYPTO_ALG_DEAD
	.comm	_CRYPTO_MSG_ALG_UNREGISTER,4,2  ## @CRYPTO_MSG_ALG_UNREGISTER
	.comm	_crypto_destroy_instance,4,2    ## @crypto_destroy_instance
	.no_dead_strip	_crypto_remove_spawn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypto_remove_spawn
_crypto_remove_spawn:                   ; @crypto_remove_spawn
	.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	x20, x1
	ldr	x19, [x0]
	ldr	x22, [x19, #24]
	mov	x0, x19
	bl	_crypto_is_dead
	cbnz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _CRYPTO_ALG_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_ALG_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	add	x21, x19, #16
	mov	x0, x21
	bl	_hlist_unhashed
	cmp	x0, #0
	ccmp	x22, #0, #4, eq
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_crypto_tmpl_get
	cbz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _CRYPTO_MSG_ALG_UNREGISTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTO_MSG_ALG_UNREGISTER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_crypto_notify
	add	x0, x19, #8
	mov	x1, x20
	bl	_list_move
	mov	x0, x21
	bl	_hlist_del
Lloh6:
	adrp	x8, _crypto_destroy_instance@GOTPAGE
Lloh7:
	ldr	x8, [x8, _crypto_destroy_instance@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	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	_BUG_ON
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALG_DEAD,4,2            ; @CRYPTO_ALG_DEAD
	.comm	_CRYPTO_MSG_ALG_UNREGISTER,4,2  ; @CRYPTO_MSG_ALG_UNREGISTER
	.comm	_crypto_destroy_instance,4,2    ; @crypto_destroy_instance
	.no_dead_strip	_crypto_remove_spawn
.subsections_via_symbols
