	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc
_alloc:                                 ## @alloc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_CRYPTO_ALG_TYPE_BLKCIPHER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_crypto_check_attr_type
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	_CRYPTO_ALG_TYPE_CIPHER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_crypto_get_attr_alg
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_PTR_ERR
LBB0_3:
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_crypto_alloc_instance
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	(%r15), %eax
	movl	%eax, 64(%r14)
	movl	84(%rbx), %eax
	movl	%eax, 60(%r14)
	movl	80(%rbx), %eax
	movl	%eax, 56(%r14)
	movl	(%rbx), %ecx
	cmpl	$8, %ecx
	movl	$7, %edx
	cmovgel	%ecx, %edx
	movl	%edx, 8(%r14)
	movq	_crypto_blkcipher_type@GOTPCREL(%rip), %rcx
	movq	%rcx, 48(%r14)
	movl	%eax, 36(%r14)
	movl	72(%rbx), %eax
	addl	%eax, %eax
	movl	%eax, 16(%r14)
	movl	76(%rbx), %eax
	addl	%eax, %eax
	movl	%eax, 20(%r14)
	movl	$4, 12(%r14)
	movq	_init_tfm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_exit_tfm@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_setkey@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_encrypt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_decrypt@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
LBB0_6:
	movq	%rbx, %rdi
	callq	_crypto_mod_put
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ## @CRYPTO_ALG_TYPE_BLKCIPHER
	.comm	_CRYPTO_ALG_TYPE_CIPHER,4,2     ## @CRYPTO_ALG_TYPE_CIPHER
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ## @CRYPTO_ALG_TYPE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xts"

	.comm	_crypto_blkcipher_type,4,2      ## @crypto_blkcipher_type
	.comm	_init_tfm,4,2                   ## @init_tfm
	.comm	_exit_tfm,4,2                   ## @exit_tfm
	.comm	_setkey,4,2                     ## @setkey
	.comm	_encrypt,4,2                    ## @encrypt
	.comm	_decrypt,4,2                    ## @decrypt
	.no_dead_strip	_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc
_alloc:                                 ; @alloc
	.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	x19, x0
Lloh0:
	adrp	x21, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CRYPTO_ALG_TYPE_BLKCIPHER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_crypto_check_attr_type
	cbnz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _CRYPTO_ALG_TYPE_CIPHER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRYPTO_ALG_TYPE_CIPHER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _CRYPTO_ALG_TYPE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRYPTO_ALG_TYPE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_crypto_get_attr_alg
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_PTR_ERR
LBB0_3:
	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_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_crypto_alloc_instance
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x21]
	str	w8, [x20, #64]
	ldr	d0, [x19, #80]
	str	d0, [x20, #56]
	ldr	w8, [x19]
	mov	w9, #7
	cmp	w8, #7
	csel	w8, w8, w9, gt
	str	w8, [x20, #8]
Lloh10:
	adrp	x8, _crypto_blkcipher_type@GOTPAGE
Lloh11:
	ldr	x8, [x8, _crypto_blkcipher_type@GOTPAGEOFF]
	str	x8, [x20, #48]
	str	s0, [x20, #36]
	ldr	d0, [x19, #72]
	shl.2s	v0, v0, #1
	str	d0, [x20, #16]
	mov	w8, #4
	str	w8, [x20, #12]
Lloh12:
	adrp	x8, _init_tfm@GOTPAGE
Lloh13:
	ldr	x8, [x8, _init_tfm@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _exit_tfm@GOTPAGE
Lloh16:
	ldr	x9, [x9, _exit_tfm@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
Lloh18:
	adrp	x8, _setkey@GOTPAGE
Lloh19:
	ldr	x8, [x8, _setkey@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh21:
	adrp	x8, _encrypt@GOTPAGE
Lloh22:
	ldr	x8, [x8, _encrypt@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _decrypt@GOTPAGE
Lloh25:
	ldr	x9, [x9, _decrypt@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
LBB0_6:
	mov	x0, x19
	bl	_crypto_mod_put
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALG_TYPE_BLKCIPHER,4,2  ; @CRYPTO_ALG_TYPE_BLKCIPHER
	.comm	_CRYPTO_ALG_TYPE_CIPHER,4,2     ; @CRYPTO_ALG_TYPE_CIPHER
	.comm	_CRYPTO_ALG_TYPE_MASK,4,2       ; @CRYPTO_ALG_TYPE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xts"

	.comm	_crypto_blkcipher_type,4,2      ; @crypto_blkcipher_type
	.comm	_init_tfm,4,2                   ; @init_tfm
	.comm	_exit_tfm,4,2                   ; @exit_tfm
	.comm	_setkey,4,2                     ; @setkey
	.comm	_encrypt,4,2                    ; @encrypt
	.comm	_decrypt,4,2                    ; @decrypt
	.no_dead_strip	_alloc
.subsections_via_symbols
