	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_nic_uninit_vector_data
_hns3_nic_uninit_vector_data:           ## @hns3_nic_uninit_vector_data
	.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
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	movq	%rdi, %r12
	movq	16(%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%rbx), %rdi
	addq	$16, %rdi
	callq	_hns3_clear_ring_group
	leaq	(%r14,%rbx), %rdi
	addq	$12, %rdi
	callq	_hns3_clear_ring_group
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	callq	_netif_napi_del
	movl	(%r12), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$24, %rbx
	cmpq	%rcx, %r15
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r14
	cmpl	$0, 16(%r14,%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 12(%r14,%rbx)
	je	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%rbx), %r13
	movq	%r13, %rdi
	leaq	-64(%rbp), %r12
	movq	%r12, %rsi
	callq	_hns3_get_vector_ring_chain
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	20(%r14,%rbx), %esi
	movq	%r12, %rdx
	callq	*(%rax)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_hns3_free_vector_ring_chain
	movq	(%r14,%rbx), %rax
	movq	_HNS3_VECTOR_INITED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	20(%r14,%rbx), %edi
	xorl	%esi, %esi
	callq	_irq_set_affinity_hint
	movl	20(%r14,%rbx), %edi
	movq	%r13, %rsi
	callq	_free_irq
	movq	_HNS3_VECTOR_NOT_INITED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14,%rbx)
	jmp	LBB0_6
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNS3_VECTOR_INITED,8,3         ## @HNS3_VECTOR_INITED
	.comm	_HNS3_VECTOR_NOT_INITED,8,3     ## @HNS3_VECTOR_NOT_INITED
	.no_dead_strip	_hns3_nic_uninit_vector_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_nic_uninit_vector_data
_hns3_nic_uninit_vector_data:           ; @hns3_nic_uninit_vector_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	mov	x24, #0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x25, _HNS3_VECTOR_INITED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _HNS3_VECTOR_INITED@GOTPAGEOFF]
Lloh2:
	adrp	x26, _HNS3_VECTOR_NOT_INITED@GOTPAGE
Lloh3:
	ldr	x26, [x26, _HNS3_VECTOR_NOT_INITED@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_hns3_clear_ring_group
	add	x8, x27, x23
	add	x0, x8, #12
	bl	_hns3_clear_ring_group
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	add	x0, x8, #8
	bl	_netif_napi_del
	ldr	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	add	x23, x23, #24
	cmp	x24, w8, sxtw
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #8]
	add	x22, x27, x23
	mov	x21, x22
	ldr	w9, [x21, #16]!
	cbnz	w9, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22, #12]
	cbz	w9, LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #8
	mov	x0, x22
	bl	_hns3_get_vector_ring_chain
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x22, #20]
	add	x2, sp, #8
	mov	x0, x20
	blr	x8
	add	x1, sp, #8
	mov	x0, x22
	bl	_hns3_free_vector_ring_chain
	ldr	x8, [x22]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22, #20]
	mov	x1, #0
	bl	_irq_set_affinity_hint
	ldr	w0, [x22, #20]
	mov	x1, x22
	bl	_free_irq
	ldr	x8, [x26]
	str	x8, [x27, x23]
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HNS3_VECTOR_INITED,8,3         ; @HNS3_VECTOR_INITED
	.comm	_HNS3_VECTOR_NOT_INITED,8,3     ; @HNS3_VECTOR_NOT_INITED
	.no_dead_strip	_hns3_nic_uninit_vector_data
.subsections_via_symbols
