	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_run_loopback_test
_ixgbe_run_loopback_test:               ## @ixgbe_run_loopback_test
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r15d
	movq	_IXGBE_FLAG_DCB_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r15d, %eax
	movl	%eax, (%rdi)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1024, %edi                     ## imm = 0x400
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	leaq	8(%r14), %r15
	leaq	4(%r14), %r12
	movq	%rax, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_ixgbe_create_lbtest_frame
	movq	%rbx, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_skb_put
	movl	(%r12), %ecx
	movl	(%r15), %eax
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
	xorl	%r13d, %r13d
	cmpl	$-63, %eax
	jl	LBB0_13
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leal	63(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$6, %ecx
	leal	(%rcx,%rcx), %eax
	incl	%eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%ecx, %ecx
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	$64, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%rax, %r14
	callq	_skb_get
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_ixgbe_xmit_frame_ring
	xorl	%ecx, %ecx
	cmpl	(%r14), %eax
	movq	%r14, %rax
	sete	%cl
	addl	%ecx, %r12d
	decl	%r13d
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$64, %r12d
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$200, %edi
	callq	_msleep
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_ixgbe_clean_test_rings
	cmpl	$64, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	1(%rcx), %eax
	cmpl	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%eax, %ecx
	movq	%r14, %rax
	jne	LBB0_4
## %bb.9:
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_1:
	movl	$11, %r13d
	jmp	LBB0_14
LBB0_7:
	movl	$12, %r13d
	jmp	LBB0_12
LBB0_11:
	movl	$13, %r13d
LBB0_12:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_13:
	movq	%rbx, %rdi
	callq	_kfree_skb
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
LBB0_14:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ## @IXGBE_FLAG_DCB_ENABLED
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_ixgbe_run_loopback_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_run_loopback_test
_ixgbe_run_loopback_test:               ; @ixgbe_run_loopback_test
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	mov	x21, x0
	ldr	w23, [x21], #8
Lloh0:
	adrp	x8, _IXGBE_FLAG_DCB_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_FLAG_DCB_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w8, w23, w8
	mov	x22, x0
	str	w8, [x22], #4
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #1024
	bl	_alloc_skb
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	w1, #1024
	bl	_ixgbe_create_lbtest_frame
	mov	x0, x20
	mov	w1, #1024
	bl	_skb_put
	ldr	w8, [x22]
	ldr	w9, [x21]
	cmp	w8, w9
	csel	w8, w8, w9, gt
	cmn	w8, #63
	b.lt	LBB0_8
; %bb.2:
	mov	w24, #0
	add	w9, w8, #63
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #6
	mov	w25, #1
	bfi	w25, w8, #1, #31
Lloh6:
	adrp	x26, _NETDEV_TX_OK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	w27, #0
	mov	w28, #64
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_skb_get
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_ixgbe_xmit_frame_ring
	ldr	w8, [x26]
	cmp	w0, w8
	cinc	w27, w27, eq
	subs	w28, w28, #1
	b.ne	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w27, #64
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #200
	bl	_msleep
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1024
	bl	_ixgbe_clean_test_rings
	cmp	w0, #64
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w24, #1
	cmp	w24, w25
	mov	x24, x8
	b.ne	LBB0_3
LBB0_8:
	mov	w21, #0
	b	LBB0_12
LBB0_9:
	mov	w21, #11
	b	LBB0_13
LBB0_10:
	mov	w21, #12
	b	LBB0_12
LBB0_11:
	mov	w21, #13
LBB0_12:
	mov	x0, x20
	bl	_kfree_skb
	str	w23, [x19]
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG_DCB_ENABLED,4,2     ; @IXGBE_FLAG_DCB_ENABLED
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_ixgbe_run_loopback_test
.subsections_via_symbols
