	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_tfm
_init_tfm:                              ## @init_tfm
	.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	%rdi, %r15
	movq	8(%rdi), %rdi
	callq	_crypto_instance_ctx
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_crypto_spawn_cipher
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_crypto_cipher_blocksize
	movq	_XTS_BLOCK_SIZE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_2
## %bb.4:
	movq	%rbx, 8(%r14)
	movq	%r12, %rdi
	callq	_crypto_spawn_cipher
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%r14), %rdi
	callq	_crypto_free_cipher
	jmp	LBB0_6
LBB0_2:
	movq	_CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_crypto_free_cipher
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	callq	_crypto_cipher_blocksize
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.9:
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movq	%rbx, %rdi
	callq	_crypto_free_cipher
	movq	8(%r14), %rdi
	callq	_crypto_free_cipher
	movq	_CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_XTS_BLOCK_SIZE,8,3             ## @XTS_BLOCK_SIZE
	.comm	_CRYPTO_TFM_RES_BAD_BLOCK_LEN,4,2 ## @CRYPTO_TFM_RES_BAD_BLOCK_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_init_tfm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_tfm
_init_tfm:                              ; @init_tfm
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_crypto_instance_ctx
	mov	x21, x0
	mov	x0, x19
	bl	_crypto_tfm_ctx
	mov	x20, x0
	mov	x0, x21
	bl	_crypto_spawn_cipher
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x22
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
	mov	x0, x22
	bl	_crypto_cipher_blocksize
Lloh0:
	adrp	x23, _XTS_BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _XTS_BLOCK_SIZE@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	str	x22, [x20, #8]
	mov	x0, x21
	bl	_crypto_spawn_cipher
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x0, [x20, #8]
	bl	_crypto_free_cipher
	mov	x0, x21
	b	LBB0_2
LBB0_6:
Lloh2:
	adrp	x8, _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x22
	bl	_crypto_free_cipher
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x21
	bl	_crypto_cipher_blocksize
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #0
	str	x21, [x20]
	b	LBB0_8
LBB0_11:
	mov	x0, x21
	bl	_crypto_free_cipher
	ldr	x0, [x20, #8]
	bl	_crypto_free_cipher
Lloh8:
	adrp	x8, _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRYPTO_TFM_RES_BAD_BLOCK_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_XTS_BLOCK_SIZE,8,3             ; @XTS_BLOCK_SIZE
	.comm	_CRYPTO_TFM_RES_BAD_BLOCK_LEN,4,2 ; @CRYPTO_TFM_RES_BAD_BLOCK_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_init_tfm
.subsections_via_symbols
