	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_hash_cra_init
_img_hash_cra_init:                     ## @img_hash_cra_init
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_crypto_tfm_ctx
	movq	%rax, %r15
	movq	_CRYPTO_ALG_NEED_FALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_crypto_alloc_ahash
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	___crypto_ahash_cast
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_crypto_ahash_reqsize
	movq	_IMG_HASH_DMA_THRESHOLD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$4, %rsi
	movl	%ebx, %edi
	callq	_crypto_ahash_set_reqsize
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CRYPTO_ALG_NEED_FALLBACK,4,2   ## @CRYPTO_ALG_NEED_FALLBACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"img_hash: Could not load fallback driver.\n"

	.comm	_IMG_HASH_DMA_THRESHOLD,8,3     ## @IMG_HASH_DMA_THRESHOLD
	.no_dead_strip	_img_hash_cra_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_hash_cra_init
_img_hash_cra_init:                     ; @img_hash_cra_init
	.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	x21, x1
	mov	x20, x0
	bl	_crypto_tfm_ctx
	mov	x19, x0
Lloh0:
	adrp	x8, _CRYPTO_ALG_NEED_FALLBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_ALG_NEED_FALLBACK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_crypto_alloc_ahash
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	ldr	w0, [x19]
	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	_PTR_ERR
LBB0_2:
	mov	x0, x20
	bl	___crypto_ahash_cast
	mov	x20, x0
	ldr	w0, [x19]
	bl	_crypto_ahash_reqsize
Lloh5:
	adrp	x8, _IMG_HASH_DMA_THRESHOLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IMG_HASH_DMA_THRESHOLD@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x8, x0, x8
	add	x1, x8, #4
	mov	x0, x20
	bl	_crypto_ahash_set_reqsize
	mov	w0, #0
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CRYPTO_ALG_NEED_FALLBACK,4,2   ; @CRYPTO_ALG_NEED_FALLBACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"img_hash: Could not load fallback driver.\n"

	.comm	_IMG_HASH_DMA_THRESHOLD,8,3     ; @IMG_HASH_DMA_THRESHOLD
	.no_dead_strip	_img_hash_cra_init
.subsections_via_symbols
