	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_sham_remove
_omap_sham_remove:                      ## @omap_sham_remove
	.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, %rbx
	callq	_platform_get_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_sham@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	24(%r13), %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	16(%r13), %rax
	movl	(%rax), %r15d
	testl	%r15d, %r15d
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	leaq	-1(%r15), %r12
	movq	8(%rax), %rax
	movl	%r12d, %ebx
	shlq	$4, %rbx
	movl	(%rax,%rbx), %r14d
	testl	%r14d, %r14d
	jle	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leal	-1(%r14), %edi
	shlq	$2, %rdi
	addq	8(%rax,%rbx), %rdi
	callq	_crypto_unregister_ahash
	cmpl	$1, %r14d
	je	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r13), %rax
	movq	8(%rax), %rax
	leal	-2(%r14), %edi
	shlq	$2, %rdi
	addq	8(%rax,%rbx), %rdi
	callq	_crypto_unregister_ahash
	decq	%r14
	cmpq	$1, %r14
	jg	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$2, %r15
	jl	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r13), %rax
	movq	%r12, %r15
	jmp	LBB0_8
LBB0_3:
	movq	%r13, %rdi
	addq	$8, %rdi
	callq	_tasklet_kill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_pm_runtime_disable
	xorl	%r14d, %r14d
	cmpl	$0, 4(%r13)
	jne	LBB0_5
## %bb.4:
	movl	(%r13), %edi
	callq	_dma_release_channel
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_sham,4,2                       ## @sham
	.no_dead_strip	_omap_sham_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_sham_remove
_omap_sham_remove:                      ; @omap_sham_remove
	.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	x20, x0
	bl	_platform_get_drvdata
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _sham@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sham@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock
	add	x0, x19, #24
	bl	_list_del
	mov	x0, x21
	bl	_spin_unlock
	ldr	x8, [x19, #16]
	ldr	w21, [x8]
	cmp	w21, #1
	b.lt	LBB0_7
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	sub	x22, x21, #1
	ldr	x8, [x8, #8]
	and	x23, x22, #0xffffffff
	lsl	x9, x23, #4
	ldr	w24, [x8, x9]
	cmp	w24, #1
	b.lt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w9, w24, #1
	add	x8, x8, x23, lsl #4
	ldr	x8, [x8, #8]
	add	x0, x8, w9, uxtw #2
	bl	_crypto_unregister_ahash
	cmp	w24, #1
	b.eq	LBB0_5
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	sub	w9, w24, #2
	add	x8, x8, x23, lsl #4
	ldr	x8, [x8, #8]
	add	x0, x8, w9, uxtw #2
	bl	_crypto_unregister_ahash
	sub	x24, x24, #1
	cmp	x24, #1
	b.gt	LBB0_4
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, #2
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	mov	x21, x22
	b	LBB0_2
LBB0_7:
	add	x0, x19, #8
	bl	_tasklet_kill
	mov	x0, x20
	bl	_pm_runtime_disable
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_9
; %bb.8:
	ldr	w0, [x19]
	bl	_dma_release_channel
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_sham,4,2                       ; @sham
	.no_dead_strip	_omap_sham_remove
.subsections_via_symbols
