	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_stop
_xgbe_stop:                             ## @xgbe_stop
	.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, %r13
	movq	24(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_DBGPR
	movq	_XGBE_STOPPED@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	4(%r13), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r14, %rdi
	callq	_netif_tx_stop_all_queues
	movq	%r13, %rdi
	callq	_xgbe_stop_timers
	movl	16(%r13), %edi
	callq	_flush_workqueue
	movq	%r13, %rdi
	callq	_xgbe_reset_vxlan_accel
	movq	%r13, %rdi
	callq	*56(%r13)
	movq	%r13, %rdi
	callq	*48(%r13)
	movq	%r13, %rdi
	callq	*32(%r13)
	movq	%r13, %rdi
	callq	_xgbe_free_irqs
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_xgbe_napi_disable
	movq	%r13, %rdi
	callq	*40(%r13)
	movl	(%r13), %eax
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movl	%eax, %ecx
	cmpq	%rcx, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpl	$0, 4(%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rcx), %esi
	movq	%r14, %rdi
	callq	_netdev_get_tx_queue
	movq	%rax, %rdi
	callq	_netdev_tx_reset_queue
	movl	(%r13), %eax
	jmp	LBB0_5
LBB0_6:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_set_bit
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBGPR                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-->xgbe_stop\n"

	.comm	_XGBE_STOPPED,4,2               ## @XGBE_STOPPED
L_.str.1:                               ## @.str.1
	.asciz	"<--xgbe_stop\n"

	.no_dead_strip	_xgbe_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_stop
_xgbe_stop:                             ; @xgbe_stop
	.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	x19, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBGPR
Lloh2:
	adrp	x22, _XGBE_STOPPED@GOTPAGE
Lloh3:
	ldr	x22, [x22, _XGBE_STOPPED@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x21, x19, #4
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x0, x20
	bl	_netif_tx_stop_all_queues
	mov	x0, x19
	bl	_xgbe_stop_timers
	ldr	w0, [x19, #16]
	bl	_flush_workqueue
	mov	x0, x19
	bl	_xgbe_reset_vxlan_accel
	ldr	x8, [x19, #56]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #48]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #32]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	bl	_xgbe_free_irqs
	mov	x0, x19
	mov	w1, #1
	bl	_xgbe_napi_disable
	ldr	x8, [x19, #40]
	mov	x0, x19
	blr	x8
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.3:
	mov	x23, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	cmp	x23, w8, uxtw
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	x9, [x9, x23, lsl #3]
	ldr	w10, [x9, #4]
	cbz	w10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x9]
	mov	x0, x20
	bl	_netdev_get_tx_queue
	bl	_netdev_tx_reset_queue
	ldr	w8, [x19]
	b	LBB0_4
LBB0_7:
	ldr	w0, [x22]
	mov	x1, x21
	bl	_set_bit
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	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
	b	_DBGPR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-->xgbe_stop\n"

	.comm	_XGBE_STOPPED,4,2               ; @XGBE_STOPPED
l_.str.1:                               ; @.str.1
	.asciz	"<--xgbe_stop\n"

	.no_dead_strip	_xgbe_stop
.subsections_via_symbols
