	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_disconnect_data         ## -- Begin function xenvif_disconnect_data
	.p2align	4, 0x90
_xenvif_disconnect_data:                ## @xenvif_disconnect_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), %ebx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_xenvif_carrier_off
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	shlq	$3, %rbx
	leaq	(%rbx,%rbx,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r12,%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_xenvif_unmap_frontend_data_rings
	addq	$40, %rbx
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
	leaq	(%r12,%rbx), %r15
	leaq	(%r12,%rbx), %rdi
	addq	$32, %rdi
	callq	_netif_napi_del
	movq	24(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_kthread_stop
	movq	24(%r15), %rdi
	callq	_put_task_struct
	movq	$0, 24(%r15)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r12,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_kthread_stop
	movq	$0, 16(%r12,%rbx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12,%rbx), %r13
	testq	%r13, %r13
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12,%rbx), %r14
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_unbind_from_irqhandler
	cmpq	%r14, %r13
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12,%rbx), %rdi
	movq	%r15, %rsi
	callq	_unbind_from_irqhandler
	jmp	LBB0_9
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xenvif_mcast_addr_list_free    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xenvif_disconnect_data         ; -- Begin function xenvif_disconnect_data
	.p2align	2
_xenvif_disconnect_data:                ; @xenvif_disconnect_data
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	w20, [x0]
	bl	_xenvif_carrier_off
	cbz	w20, LBB0_11
; %bb.1:
	mov	x22, #0
	add	x8, x20, x20, lsl #2
	lsl	x23, x8, #3
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x24, x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_xenvif_unmap_frontend_data_rings
	add	x22, x22, #40
	cmp	x23, x22
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #8]
	add	x20, x24, x22
	add	x0, x20, #32
	bl	_netif_napi_del
	ldr	x0, [x20, #24]
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_kthread_stop
	ldr	x0, [x20, #24]
	bl	_put_task_struct
	str	xzr, [x20, #24]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_kthread_stop
	str	xzr, [x20, #16]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x24, x22]
	cbz	x21, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x24, x22
	ldr	x26, [x25, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_unbind_from_irqhandler
	cmp	x21, x26
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25, #8]
	mov	x1, x20
	bl	_unbind_from_irqhandler
	b	LBB0_2
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_xenvif_mcast_addr_list_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
