	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cryptd_create_blkcipher
_cryptd_create_blkcipher:               ## @cryptd_create_blkcipher
	.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
	movq	%rdx, %r13
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	_CRYPTO_ALG_TYPE_BLKCIPHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	callq	_crypto_get_attr_alg
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_cryptd_alloc_instance
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	%r15, %rdi
	callq	_crypto_instance_ctx
	movq	%rax, %rbx
	movq	%r13, 8(%rax)
	movq	_CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_crypto_init_spawn
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPCREL(%rip), %rax
	movl	(%r13), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_crypto_ablkcipher_type@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r15)
	movups	56(%r14), %xmm0
	movups	%xmm0, 20(%r15)
	movl	$4, 4(%r15)
	movq	_cryptd_blkcipher_init_tfm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_cryptd_blkcipher_exit_tfm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_cryptd_blkcipher_setkey@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_cryptd_blkcipher_encrypt_enqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	_cryptd_blkcipher_decrypt_enqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_crypto_register_instance
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_crypto_drop_spawn
LBB0_6:
	movq	%r15, %rdi
	callq	_kfree
LBB0_7:
	movq	%r14, %rdi
	callq	_crypto_mod_put
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ## @CRYPTO_ALG_TYPE_BLKCIPHER
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ## @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_ASYNC,4,2           ## @CRYPTO_ALG_ASYNC
	.comm	_CRYPTO_ALG_TYPE_ABLKCIPHER,4,2 ## @CRYPTO_ALG_TYPE_ABLKCIPHER
	.comm	_crypto_ablkcipher_type,4,2     ## @crypto_ablkcipher_type
	.comm	_cryptd_blkcipher_init_tfm,4,2  ## @cryptd_blkcipher_init_tfm
	.comm	_cryptd_blkcipher_exit_tfm,4,2  ## @cryptd_blkcipher_exit_tfm
	.comm	_cryptd_blkcipher_setkey,4,2    ## @cryptd_blkcipher_setkey
	.comm	_cryptd_blkcipher_encrypt_enqueue,4,2 ## @cryptd_blkcipher_encrypt_enqueue
	.comm	_cryptd_blkcipher_decrypt_enqueue,4,2 ## @cryptd_blkcipher_decrypt_enqueue
	.no_dead_strip	_cryptd_create_blkcipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cryptd_create_blkcipher
_cryptd_create_blkcipher:               ; @cryptd_create_blkcipher
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x2
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x25, _CRYPTO_ALG_TYPE_MASK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _CRYPTO_ALG_TYPE_MASK@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x8
	bl	_crypto_get_attr_alg
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_cryptd_alloc_instance
	mov	x21, x0
	bl	_PTR_ERR
	mov	x24, x0
	mov	x0, x21
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.3:
	mov	x0, x21
	bl	_crypto_instance_ctx
	mov	x22, x0
	str	x23, [x0, #8]
	ldr	w8, [x25]
Lloh5:
	adrp	x23, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh6:
	ldr	x23, [x23, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w3, w9, w8
	mov	x1, x19
	mov	x2, x21
	bl	_crypto_init_spawn
	mov	x24, x0
	cbnz	w0, LBB0_6
; %bb.4:
Lloh7:
	adrp	x8, _CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CRYPTO_ALG_TYPE_ABLKCIPHER@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [x21]
Lloh10:
	adrp	x8, _crypto_ablkcipher_type@GOTPAGE
Lloh11:
	ldr	x8, [x8, _crypto_ablkcipher_type@GOTPAGEOFF]
	str	x8, [x21, #48]
	ldur	q0, [x19, #56]
	stur	q0, [x21, #20]
	mov	w8, #4
Lloh12:
	adrp	x9, _cryptd_blkcipher_init_tfm@GOTPAGE
Lloh13:
	ldr	x9, [x9, _cryptd_blkcipher_init_tfm@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _cryptd_blkcipher_exit_tfm@GOTPAGE
Lloh16:
	ldr	x10, [x10, _cryptd_blkcipher_exit_tfm@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _cryptd_blkcipher_setkey@GOTPAGE
Lloh19:
	ldr	x11, [x11, _cryptd_blkcipher_setkey@GOTPAGEOFF]
	stp	w10, w9, [x21, #36]
Lloh20:
	ldr	w9, [x11]
Lloh21:
	adrp	x10, _cryptd_blkcipher_encrypt_enqueue@GOTPAGE
Lloh22:
	ldr	x10, [x10, _cryptd_blkcipher_encrypt_enqueue@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	stp	w10, w9, [x21, #12]
Lloh24:
	adrp	x9, _cryptd_blkcipher_decrypt_enqueue@GOTPAGE
Lloh25:
	ldr	x9, [x9, _cryptd_blkcipher_decrypt_enqueue@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w8, w9, [x21, #4]
	mov	x0, x20
	mov	x1, x21
	bl	_crypto_register_instance
	mov	x24, x0
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_crypto_drop_spawn
LBB0_6:
	mov	x0, x21
	bl	_kfree
LBB0_7:
	mov	x0, x19
	bl	_crypto_mod_put
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ; @CRYPTO_ALG_TYPE_BLKCIPHER
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ; @CRYPTO_ALG_TYPE_MASK
	.comm	_CRYPTO_ALG_ASYNC,4,2           ; @CRYPTO_ALG_ASYNC
	.comm	_CRYPTO_ALG_TYPE_ABLKCIPHER,4,2 ; @CRYPTO_ALG_TYPE_ABLKCIPHER
	.comm	_crypto_ablkcipher_type,4,2     ; @crypto_ablkcipher_type
	.comm	_cryptd_blkcipher_init_tfm,4,2  ; @cryptd_blkcipher_init_tfm
	.comm	_cryptd_blkcipher_exit_tfm,4,2  ; @cryptd_blkcipher_exit_tfm
	.comm	_cryptd_blkcipher_setkey,4,2    ; @cryptd_blkcipher_setkey
	.comm	_cryptd_blkcipher_encrypt_enqueue,4,2 ; @cryptd_blkcipher_encrypt_enqueue
	.comm	_cryptd_blkcipher_decrypt_enqueue,4,2 ; @cryptd_blkcipher_decrypt_enqueue
	.no_dead_strip	_cryptd_create_blkcipher
.subsections_via_symbols
