	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_cryp_probe
_stm32_cryp_probe:                      ## @stm32_cryp_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_of_device_get_match_data
	movl	%eax, 32(%r15)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r12, 16(%r14)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	24(%r14), %rdi
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_29
## %bb.9:
	movq	_stm32_cryp_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_stm32_cryp_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%eax, %r9d
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_29
LBB0_11:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	(%r14), %rdi
	jmp	LBB0_7
LBB0_13:
	movq	(%r14), %rdi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_29
LBB0_15:
	movq	_CRYP_AUTOSUSPEND_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r12, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%r12, %rdi
	callq	_pm_runtime_get_noresume
	movq	%r12, %rdi
	callq	_pm_runtime_set_active
	movq	%r12, %rdi
	callq	_pm_runtime_enable
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_reset_control_assert
	movl	$2, %edi
	callq	_udelay
	movq	%rbx, %rdi
	callq	_reset_control_deassert
LBB0_17:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_cryp_list@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock
	addq	$8, %r15
	leaq	4(%rbx), %rsi
	movq	%r15, %rdi
	callq	_list_add
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_crypto_engine_alloc_init
	movl	%eax, 12(%r14)
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:
	movl	%eax, %edi
	callq	_crypto_engine_start
	testl	%eax, %eax
	je	LBB0_22
## %bb.20:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_21
LBB0_18:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_22:
	movq	_crypto_algs@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_crypto_register_algs
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
LBB0_21:
	movq	%r12, %rdi
	callq	_dev_err
LBB0_27:
	movl	12(%r14), %edi
	callq	_crypto_engine_exit
LBB0_28:
	movq	_cryp_list@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_spin_lock
	movq	%r15, %rdi
	callq	_list_del
	movq	%r13, %rdi
	callq	_spin_unlock
	movq	%r12, %rdi
	callq	_pm_runtime_disable
	movq	%r12, %rdi
	callq	_pm_runtime_put_noidle
	movq	%r12, %rdi
	callq	_pm_runtime_disable
	movq	%r12, %rdi
	callq	_pm_runtime_put_noidle
	movq	(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_29
LBB0_24:
	movq	_aead_algs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_crypto_register_aeads
	testl	%eax, %eax
	je	LBB0_25
## %bb.26:
	movl	%eax, %ebx
	movl	(%r13), %r13d
	movl	%r13d, %edi
	callq	_ARRAY_SIZE
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_crypto_unregister_algs
	jmp	LBB0_27
LBB0_25:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	movq	%r12, %rdi
	callq	_pm_runtime_put_sync
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_stm32_cryp_irq,4,2             ## @stm32_cryp_irq
	.comm	_stm32_cryp_irq_thread,4,2      ## @stm32_cryp_irq_thread
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot grab IRQ\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not get clock\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to enable clock\n"

	.comm	_CRYP_AUTOSUSPEND_DELAY,4,2     ## @CRYP_AUTOSUSPEND_DELAY
	.comm	_cryp_list,8,2                  ## @cryp_list
L_.str.3:                               ## @.str.3
	.asciz	"Could not init crypto engine\n"

L_.str.4:                               ## @.str.4
	.asciz	"Could not start crypto engine\n"

	.comm	_crypto_algs,4,2                ## @crypto_algs
L_.str.5:                               ## @.str.5
	.asciz	"Could not register algs\n"

	.comm	_aead_algs,4,2                  ## @aead_algs
L_.str.6:                               ## @.str.6
	.asciz	"Initialized\n"

	.no_dead_strip	_stm32_cryp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_cryp_probe
_stm32_cryp_probe:                      ; @stm32_cryp_probe
	.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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_of_device_get_match_data
	str	w0, [x20, #32]
	cbz	w0, LBB0_6
; %bb.2:
	str	x19, [x20, #16]
	mov	x0, x19
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x0, [x20, #24]
LBB0_4:
	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_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	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, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	tbnz	w0, #31, LBB0_8
; %bb.10:
Lloh7:
	adrp	x8, _stm32_cryp_irq@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stm32_cryp_irq@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
Lloh10:
	adrp	x8, _stm32_cryp_irq_thread@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stm32_cryp_irq_thread@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
Lloh13:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x8]
	mov	x0, x19
	bl	_dev_name
	mov	x5, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_12
; %bb.11:
	mov	x21, x0
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_12:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20]
	b	LBB0_4
LBB0_14:
	ldr	x0, [x20]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_16
; %bb.15:
	mov	x21, x0
	ldr	x0, [x20, #16]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_8
LBB0_16:
Lloh22:
	adrp	x8, _CRYP_AUTOSUSPEND_DELAY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CRYP_AUTOSUSPEND_DELAY@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	mov	x0, x19
	bl	_pm_runtime_get_noresume
	mov	x0, x19
	bl	_pm_runtime_set_active
	mov	x0, x19
	bl	_pm_runtime_enable
	mov	x0, x19
	mov	x1, #0
	bl	_devm_reset_control_get
	mov	x21, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_18
; %bb.17:
	mov	x0, x21
	bl	_reset_control_assert
	mov	w0, #2
	bl	_udelay
	mov	x0, x21
	bl	_reset_control_deassert
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh25:
	adrp	x21, _cryp_list@GOTPAGE
Lloh26:
	ldr	x21, [x21, _cryp_list@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock
	add	x22, x20, #8
	add	x1, x21, #4
	mov	x0, x22
	bl	_list_add
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	mov	w1, #1
	bl	_crypto_engine_alloc_init
	str	w0, [x20, #12]
	cbz	w0, LBB0_21
; %bb.19:
	bl	_crypto_engine_start
	cbz	w0, LBB0_22
; %bb.20:
	mov	x21, x0
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_24
LBB0_21:
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_26
LBB0_22:
Lloh34:
	adrp	x23, _crypto_algs@GOTPAGE
Lloh35:
	ldr	x23, [x23, _crypto_algs@GOTPAGEOFF]
	ldr	w21, [x23]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x21
	bl	_crypto_register_algs
	cbz	w0, LBB0_27
; %bb.23:
	mov	x21, x0
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_24:
	mov	x0, x19
	bl	_dev_err
LBB0_25:
	ldr	w0, [x20, #12]
	bl	_crypto_engine_exit
LBB0_26:
Lloh38:
	adrp	x23, _cryp_list@GOTPAGE
Lloh39:
	ldr	x23, [x23, _cryp_list@GOTPAGEOFF]
	mov	x0, x23
	bl	_spin_lock
	mov	x0, x22
	bl	_list_del
	mov	x0, x23
	bl	_spin_unlock
	mov	x0, x19
	bl	_pm_runtime_disable
	mov	x0, x19
	bl	_pm_runtime_put_noidle
	mov	x0, x19
	bl	_pm_runtime_disable
	mov	x0, x19
	bl	_pm_runtime_put_noidle
	ldr	x0, [x20]
	bl	_clk_disable_unprepare
	b	LBB0_8
LBB0_27:
Lloh40:
	adrp	x8, _aead_algs@GOTPAGE
Lloh41:
	ldr	x8, [x8, _aead_algs@GOTPAGEOFF]
Lloh42:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x21
	bl	_crypto_register_aeads
	mov	x21, x0
	cbz	w0, LBB0_29
; %bb.28:
	ldr	w23, [x23]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x23
	bl	_crypto_unregister_algs
	b	LBB0_25
LBB0_29:
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	x0, x19
	bl	_pm_runtime_put_sync
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_stm32_cryp_irq,4,2             ; @stm32_cryp_irq
	.comm	_stm32_cryp_irq_thread,4,2      ; @stm32_cryp_irq_thread
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot grab IRQ\n"

l_.str.1:                               ; @.str.1
	.asciz	"Could not get clock\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to enable clock\n"

	.comm	_CRYP_AUTOSUSPEND_DELAY,4,2     ; @CRYP_AUTOSUSPEND_DELAY
	.comm	_cryp_list,8,2                  ; @cryp_list
l_.str.3:                               ; @.str.3
	.asciz	"Could not init crypto engine\n"

l_.str.4:                               ; @.str.4
	.asciz	"Could not start crypto engine\n"

	.comm	_crypto_algs,4,2                ; @crypto_algs
l_.str.5:                               ; @.str.5
	.asciz	"Could not register algs\n"

	.comm	_aead_algs,4,2                  ; @aead_algs
l_.str.6:                               ; @.str.6
	.asciz	"Initialized\n"

	.no_dead_strip	_stm32_cryp_probe
.subsections_via_symbols
