	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hifn_remove
_hifn_remove:                           ## @hifn_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_pci_get_drvdata
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	leaq	24(%rax), %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	callq	_hifn_unregister_rng
	movq	%rbx, %rdi
	callq	_hifn_unregister_alg
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hifn_reset_dma
	movq	%rbx, %rdi
	callq	_hifn_stop_device
	movl	20(%rbx), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_tasklet_kill
	movq	%rbx, %rdi
	callq	_hifn_flush
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_pci_free_consistent
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_iounmap
	movq	(%rbx), %rax
LBB0_3:
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_iounmap
	movq	(%rbx), %rax
LBB0_5:
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_iounmap
LBB0_7:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_8:
	movq	%r14, %rdi
	callq	_pci_release_regions
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pci_disable_device             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hifn_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hifn_remove
_hifn_remove:                           ; @hifn_remove
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_pci_get_drvdata
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	add	x0, x0, #24
	bl	_cancel_delayed_work_sync
	mov	x0, x20
	bl	_hifn_unregister_rng
	mov	x0, x20
	bl	_hifn_unregister_alg
	mov	x0, x20
	mov	w1, #1
	bl	_hifn_reset_dma
	mov	x0, x20
	bl	_hifn_stop_device
	ldr	w0, [x20, #20]
	mov	x1, x20
	bl	_free_irq
	add	x0, x20, #16
	bl	_tasklet_kill
	mov	x0, x20
	bl	_hifn_flush
	ldp	w3, w2, [x20, #8]
	mov	x0, x19
	mov	w1, #4
	bl	_pci_free_consistent
	ldr	x8, [x20]
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_iounmap
	ldr	x8, [x20]
LBB0_3:
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_iounmap
	ldr	x8, [x20]
LBB0_5:
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_iounmap
LBB0_7:
	mov	x0, x20
	bl	_kfree
LBB0_8:
	mov	x0, x19
	bl	_pci_release_regions
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_disable_device
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hifn_remove
.subsections_via_symbols
