	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qce_crypto_probe
_qce_crypto_probe:                      ## @qce_crypto_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, 48(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_platform_ioremap_resource
	movq	%rax, 56(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	56(%r14), %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask_and_coherent
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	48(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r14), %rdi
	jmp	LBB0_4
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_9:
	movq	48(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	8(%r14), %rdi
	jmp	LBB0_4
LBB0_11:
	movq	48(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	16(%r14), %rdi
	jmp	LBB0_4
LBB0_13:
	movq	(%r14), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_24
## %bb.14:
	movq	8(%r14), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.15:
	movq	16(%r14), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.16:
	movq	48(%r14), %rdi
	leaq	24(%r14), %r15
	movq	%r15, %rsi
	callq	_qce_dma_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.17:
	movq	%r14, %rdi
	callq	_qce_check_version
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.18:
	leaq	44(%r14), %rdi
	callq	_spin_lock_init
	leaq	40(%r14), %rdi
	movq	_qce_tasklet_req_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_tasklet_init
	movq	%r14, %rdi
	addq	$36, %rdi
	movq	_QCE_QUEUE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_crypto_init_queue
	movq	_qce_async_request_enqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_qce_async_request_done@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	%r14, %rdi
	callq	_qce_register_algs
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_qce_dma_release
LBB0_21:
	movq	16(%r14), %rdi
	callq	_clk_disable_unprepare
LBB0_22:
	movq	8(%r14), %rdi
	callq	_clk_disable_unprepare
LBB0_23:
	movq	(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_24
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"core"

L_.str.1:                               ## @.str.1
	.asciz	"iface"

L_.str.2:                               ## @.str.2
	.asciz	"bus"

	.comm	_qce_tasklet_req_done,4,2       ## @qce_tasklet_req_done
	.comm	_QCE_QUEUE_LENGTH,4,2           ## @QCE_QUEUE_LENGTH
	.comm	_qce_async_request_enqueue,4,2  ## @qce_async_request_enqueue
	.comm	_qce_async_request_done,4,2     ## @qce_async_request_done
	.no_dead_strip	_qce_crypto_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qce_crypto_probe
_qce_crypto_probe:                      ; @qce_crypto_probe
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #48]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x20
	mov	w1, #0
	bl	_devm_platform_ioremap_resource
	str	x0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [x19, #56]
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	_PTR_ERR
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	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
LBB0_6:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_dma_set_mask_and_coherent
	tbnz	w0, #31, LBB0_9
; %bb.7:
	ldr	x0, [x19, #48]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x0, [x19]
	b	LBB0_3
LBB0_9:
	mov	x20, x0
	b	LBB0_5
LBB0_10:
	ldr	x0, [x19, #48]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
	ldr	x0, [x19, #8]
	b	LBB0_3
LBB0_12:
	ldr	x0, [x19, #48]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x0, [x19, #16]
	b	LBB0_3
LBB0_14:
	ldr	x0, [x19]
	bl	_clk_prepare_enable
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.15:
	ldr	x0, [x19, #8]
	bl	_clk_prepare_enable
	mov	x20, x0
	cbnz	w0, LBB0_23
; %bb.16:
	ldr	x0, [x19, #16]
	bl	_clk_prepare_enable
	mov	x20, x0
	cbnz	w0, LBB0_22
; %bb.17:
	ldr	x0, [x19, #48]
	add	x21, x19, #24
	mov	x1, x21
	bl	_qce_dma_request
	mov	x20, x0
	cbnz	w0, LBB0_21
; %bb.18:
	mov	x0, x19
	bl	_qce_check_version
	mov	x20, x0
	cbnz	w0, LBB0_21
; %bb.19:
	add	x0, x19, #44
	bl	_spin_lock_init
	add	x0, x19, #40
Lloh12:
	adrp	x8, _qce_tasklet_req_done@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qce_tasklet_req_done@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_tasklet_init
	add	x0, x19, #36
Lloh15:
	adrp	x8, _QCE_QUEUE_LENGTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _QCE_QUEUE_LENGTH@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_crypto_init_queue
Lloh18:
	adrp	x8, _qce_async_request_enqueue@GOTPAGE
Lloh19:
	ldr	x8, [x8, _qce_async_request_enqueue@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _qce_async_request_done@GOTPAGE
Lloh22:
	ldr	x9, [x9, _qce_async_request_done@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
	mov	x0, x19
	bl	_qce_register_algs
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.20:
	mov	x0, x21
	bl	_qce_dma_release
LBB0_21:
	ldr	x0, [x19, #16]
	bl	_clk_disable_unprepare
LBB0_22:
	ldr	x0, [x19, #8]
	bl	_clk_disable_unprepare
LBB0_23:
	ldr	x0, [x19]
	bl	_clk_disable_unprepare
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"core"

l_.str.1:                               ; @.str.1
	.asciz	"iface"

l_.str.2:                               ; @.str.2
	.asciz	"bus"

	.comm	_qce_tasklet_req_done,4,2       ; @qce_tasklet_req_done
	.comm	_QCE_QUEUE_LENGTH,4,2           ; @QCE_QUEUE_LENGTH
	.comm	_qce_async_request_enqueue,4,2  ; @qce_async_request_enqueue
	.comm	_qce_async_request_done,4,2     ; @qce_async_request_done
	.no_dead_strip	_qce_crypto_probe
.subsections_via_symbols
