	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mlx4_en_test_loopback_xmit
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	2                               ## 0x2
	.byte	3                               ## 0x3
	.byte	4                               ## 0x4
	.byte	5                               ## 0x5
	.byte	6                               ## 0x6
	.byte	7                               ## 0x7
	.byte	8                               ## 0x8
	.byte	9                               ## 0x9
	.byte	10                              ## 0xa
	.byte	11                              ## 0xb
	.byte	12                              ## 0xc
	.byte	13                              ## 0xd
	.byte	14                              ## 0xe
	.byte	15                              ## 0xf
LCPI0_1:
	.space	16,16
LCPI0_2:
	.space	16,32
LCPI0_3:
	.space	16,48
LCPI0_4:
	.space	16,64
LCPI0_5:
	.space	16,80
LCPI0_6:
	.space	16,96
LCPI0_7:
	.space	16,112
LCPI0_8:
	.space	16,128
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mlx4_en_test_loopback_xmit:            ## @mlx4_en_test_loopback_xmit
	.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, %r14
	movq	_MLX4_LOOPBACK_TEST_PAYLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	(%rdi), %rdi
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rbx
	addq	(%rbx), %rsi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r15
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_skb_put
	movq	%rax, %r13
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movl	8(%r13), %edi
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	4(%r13), %edi
	callq	_eth_zero_addr
	movq	_ETH_P_ARP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%r13)
	movq	%r15, %rdi
	callq	_skb_reset_mac_header
	testq	%r12, %r12
	je	LBB0_13
## %bb.2:
	cmpl	$32, %r12d
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r12d, %eax
	andl	$-32, %eax
	leaq	-32(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$5, %rdx
	incq	%rdx
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$96, %rsi
	jae	LBB0_6
## %bb.5:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rdx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [80,80,80,80,80,80,80,80,80,80,80,80,80,80,80,80]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [96,96,96,96,96,96,96,96,96,96,96,96,96,96,96,96]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [112,112,112,112,112,112,112,112,112,112,112,112,112,112,112,112]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddb	%xmm8, %xmm2
	movdqu	%xmm0, (%rbx,%rsi)
	movdqu	%xmm2, 16(%rbx,%rsi)
	movdqa	%xmm0, %xmm2
	paddb	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddb	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rbx,%rsi)
	movdqu	%xmm3, 48(%rbx,%rsi)
	movdqa	%xmm0, %xmm2
	paddb	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddb	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rbx,%rsi)
	movdqu	%xmm3, 80(%rbx,%rsi)
	movdqa	%xmm0, %xmm2
	paddb	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddb	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rbx,%rsi)
	movdqu	%xmm3, 112(%rbx,%rsi)
	subq	$-128, %rsi
	pxor	%xmm1, %xmm0
	addq	$-4, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	leaq	(%rsi,%rbx), %rdx
	addq	$16, %rdx
	shlq	$5, %rcx
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32]
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddb	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdx,%rsi)
	movdqu	%xmm3, (%rdx,%rsi)
	paddb	%xmm2, %xmm0
	addq	$32, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_10
LBB0_11:
	cmpq	%r12, %rax
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movb	%al, (%rbx,%rax)
	incq	%rax
	cmpq	%rax, %r12
	jne	LBB0_12
LBB0_13:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx4_en_xmit                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_LOOPBACK_TEST_PAYLOAD,4,2 ## @MLX4_LOOPBACK_TEST_PAYLOAD
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ETH_P_ARP,4,2                  ## @ETH_P_ARP
	.no_dead_strip	_mlx4_en_test_loopback_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mlx4_en_test_loopback_xmit
lCPI0_0:
	.byte	0                               ; 0x0
	.byte	1                               ; 0x1
	.byte	2                               ; 0x2
	.byte	3                               ; 0x3
	.byte	4                               ; 0x4
	.byte	5                               ; 0x5
	.byte	6                               ; 0x6
	.byte	7                               ; 0x7
	.byte	8                               ; 0x8
	.byte	9                               ; 0x9
	.byte	10                              ; 0xa
	.byte	11                              ; 0xb
	.byte	12                              ; 0xc
	.byte	13                              ; 0xd
	.byte	14                              ; 0xe
	.byte	15                              ; 0xf
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mlx4_en_test_loopback_xmit:            ; @mlx4_en_test_loopback_xmit
	.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
Lloh0:
	adrp	x8, _MLX4_LOOPBACK_TEST_PAYLOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_LOOPBACK_TEST_PAYLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x0, [x0]
Lloh3:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x22, _NET_IP_ALIGN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _NET_IP_ALIGN@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x8, x8, x20
	add	x1, x8, x9
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	x1, [x22]
	bl	_skb_reserve
	mov	x0, x21
	mov	w1, #12
	bl	_skb_put
	mov	x23, x0
	mov	x0, x21
	mov	x1, x20
	bl	_skb_put
	mov	x22, x0
	ldr	w0, [x23, #8]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x23, #4]
	bl	_eth_zero_addr
Lloh11:
	adrp	x8, _ETH_P_ARP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETH_P_ARP@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x23]
	mov	x0, x21
	bl	_skb_reset_mac_header
	cbz	w20, LBB0_9
; %bb.2:
	cmp	w20, #16
	b.hs	LBB0_5
; %bb.3:
	mov	x8, #0
	b	LBB0_8
LBB0_4:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	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_5:
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	and	x8, x20, #0xfffffff0
	movi.16b	v1, #16
	mov	x9, x8
	mov	x10, x22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	q0, [x10], #16
	add.16b	v0, v0, v1
	subs	x9, x9, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x8, x20
	b.eq	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	strb	w8, [x22, x8]
	add	x8, x8, #1
	cmp	x20, x8
	b.ne	LBB0_8
LBB0_9:
	ldr	x1, [x19]
	mov	x0, x21
	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	_mlx4_en_xmit
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdr	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_LOOPBACK_TEST_PAYLOAD,4,2 ; @MLX4_LOOPBACK_TEST_PAYLOAD
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ETH_P_ARP,4,2                  ; @ETH_P_ARP
	.no_dead_strip	_mlx4_en_test_loopback_xmit
.subsections_via_symbols
