	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_hash_probe
_img_hash_probe:                        ## @img_hash_probe
	.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	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	72(%rax), %rdi
	callq	_spin_lock_init
	movq	%r15, 64(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	leaq	28(%rbx), %r12
	movq	%r12, %rdi
	callq	_INIT_LIST_HEAD
	leaq	4(%rbx), %r14
	movq	_img_hash_done_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_tasklet_init
	movq	_img_hash_dma_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_tasklet_init
	movq	%rbx, %rdi
	addq	$56, %rdi
	movq	_IMG_HASH_QUEUE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_crypto_init_queue
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	48(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_23
LBB0_4:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_platform_get_resource
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	40(%rbx), %rdi
LBB0_6:
	callq	_PTR_ERR
	movl	%eax, %r13d
LBB0_22:
	movq	%r14, %rdi
	callq	_tasklet_kill
	movq	%rbx, %rdi
	callq	_tasklet_kill
LBB0_23:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r13), %eax
	movl	%eax, 32(%rbx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_22
## %bb.8:
	movq	_img_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_dev_name
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_dev_dbg
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	8(%rbx), %rdi
	jmp	LBB0_6
LBB0_12:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	16(%rbx), %rdi
	jmp	LBB0_6
LBB0_14:
	movq	8(%rbx), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.15:
	movq	16(%rbx), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.16:
	movq	%rbx, %rdi
	callq	_img_hash_dma_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.17:
	movl	24(%rbx), %edi
	callq	_dma_chan_name
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_dbg
	movq	_img_hash@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	leaq	4(%r13), %rsi
	movq	%r12, %rdi
	callq	_list_add_tail
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	%rbx, %rdi
	callq	_img_register_algs
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movl	%eax, %r13d
	movq	_img_hash@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	24(%rbx), %edi
	callq	_dma_release_channel
LBB0_20:
	movq	16(%rbx), %rdi
	callq	_clk_disable_unprepare
LBB0_21:
	movq	8(%rbx), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_22
LBB0_18:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_img_hash_done_task,4,2         ## @img_hash_done_task
	.comm	_img_hash_dma_task,4,2          ## @img_hash_dma_task
	.comm	_IMG_HASH_QUEUE_LENGTH,4,2      ## @IMG_HASH_QUEUE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't ioremap, returned %d\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"can't ioremap write port\n"

	.comm	_img_irq_handler,4,2            ## @img_irq_handler
L_.str.2:                               ## @.str.2
	.asciz	"unable to request irq\n"

L_.str.3:                               ## @.str.3
	.asciz	"using IRQ channel %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"hash"

L_.str.5:                               ## @.str.5
	.asciz	"clock initialization failed.\n"

L_.str.6:                               ## @.str.6
	.asciz	"sys"

L_.str.7:                               ## @.str.7
	.asciz	"using %s for DMA transfers\n"

	.comm	_img_hash,8,2                   ## @img_hash
L_.str.8:                               ## @.str.8
	.asciz	"Img MD5/SHA1/SHA224/SHA256 Hardware accelerator initialized\n"

	.no_dead_strip	_img_hash_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_hash_probe
_img_hash_probe:                        ; @img_hash_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, x0, #72
	bl	_spin_lock_init
	str	x21, [x19, #64]
	mov	x0, x21
	mov	x1, x19
	bl	_platform_set_drvdata
	add	x22, x19, #28
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	add	x20, x19, #4
Lloh3:
	adrp	x8, _img_hash_done_task@GOTPAGE
Lloh4:
	ldr	x8, [x8, _img_hash_done_task@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_tasklet_init
Lloh6:
	adrp	x8, _img_hash_dma_task@GOTPAGE
Lloh7:
	ldr	x8, [x8, _img_hash_dma_task@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x19
	bl	_tasklet_init
	add	x0, x19, #56
Lloh9:
	adrp	x8, _IMG_HASH_QUEUE_LENGTH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IMG_HASH_QUEUE_LENGTH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_crypto_init_queue
	mov	x0, x21
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x19, #48]
	bl	_PTR_ERR
	mov	x23, x0
	str	x23, [sp]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_7
LBB0_3:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_8
LBB0_4:
Lloh17:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_platform_get_resource
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_devm_ioremap_resource
	str	x0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.5:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19, #40]
LBB0_6:
	bl	_PTR_ERR
	mov	x23, x0
LBB0_7:
	mov	x0, x20
	bl	_tasklet_kill
	mov	x0, x19
	bl	_tasklet_kill
LBB0_8:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
LBB0_9:
	ldr	w8, [x23]
	str	w8, [x19, #32]
	mov	x0, x21
	mov	w1, #0
	bl	_platform_get_irq
	mov	x23, x0
	tbnz	w0, #31, LBB0_7
; %bb.10:
Lloh22:
	adrp	x8, _img_irq_handler@GOTPAGE
Lloh23:
	ldr	x8, [x8, _img_irq_handler@GOTPAGEOFF]
Lloh24:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_dev_name
	mov	x4, x0
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	cbz	w0, LBB0_12
; %bb.11:
	mov	x24, x0
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x23, x24
	b	LBB0_7
LBB0_12:
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x23
	bl	_dev_dbg
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19, #8]
	b	LBB0_6
LBB0_14:
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.15:
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	x0, [x19, #16]
	b	LBB0_6
LBB0_16:
	ldr	x0, [x19, #8]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.17:
	ldr	x0, [x19, #16]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_22
; %bb.18:
	mov	x0, x19
	bl	_img_hash_dma_init
	mov	x23, x0
	cbnz	w0, LBB0_21
; %bb.19:
	ldr	w0, [x19, #24]
	bl	_dma_chan_name
	mov	x2, x0
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
Lloh39:
	adrp	x23, _img_hash@GOTPAGE
Lloh40:
	ldr	x23, [x23, _img_hash@GOTPAGEOFF]
	mov	x0, x23
	bl	_spin_lock
	add	x1, x23, #4
	mov	x0, x22
	bl	_list_add_tail
	mov	x0, x23
	bl	_spin_unlock
	mov	x0, x19
	bl	_img_register_algs
	mov	x23, x0
	cbz	w0, LBB0_23
; %bb.20:
Lloh41:
	adrp	x21, _img_hash@GOTPAGE
Lloh42:
	ldr	x21, [x21, _img_hash@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock
	mov	x0, x22
	bl	_list_del
	mov	x0, x21
	bl	_spin_unlock
	ldr	w0, [x19, #24]
	bl	_dma_release_channel
LBB0_21:
	ldr	x0, [x19, #16]
	bl	_clk_disable_unprepare
LBB0_22:
	ldr	x0, [x19, #8]
	bl	_clk_disable_unprepare
	b	LBB0_7
LBB0_23:
Lloh43:
	adrp	x1, l_.str.8@PAGE
Lloh44:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_img_hash_done_task,4,2         ; @img_hash_done_task
	.comm	_img_hash_dma_task,4,2          ; @img_hash_dma_task
	.comm	_IMG_HASH_QUEUE_LENGTH,4,2      ; @IMG_HASH_QUEUE_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't ioremap, returned %d\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"can't ioremap write port\n"

	.comm	_img_irq_handler,4,2            ; @img_irq_handler
l_.str.2:                               ; @.str.2
	.asciz	"unable to request irq\n"

l_.str.3:                               ; @.str.3
	.asciz	"using IRQ channel %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"hash"

l_.str.5:                               ; @.str.5
	.asciz	"clock initialization failed.\n"

l_.str.6:                               ; @.str.6
	.asciz	"sys"

l_.str.7:                               ; @.str.7
	.asciz	"using %s for DMA transfers\n"

	.comm	_img_hash,8,2                   ; @img_hash
l_.str.8:                               ; @.str.8
	.asciz	"Img MD5/SHA1/SHA224/SHA256 Hardware accelerator initialized\n"

	.no_dead_strip	_img_hash_probe
.subsections_via_symbols
