	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_begin_loopback
_efx_begin_loopback:                    ## @efx_begin_loopback
	.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, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r15
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.1:
	leaq	4(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movq	%rbx, (%rax,%r12,8)
	movq	%rbx, %rdi
	callq	_skb_get
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_put
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_memcpy
	movq	_INADDR_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	%r14d, %edi
	callq	_htonl
	movl	%eax, (%r13)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	%r15, %r13
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	callq	_netif_tx_lock_bh
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_efx_enqueue_skb
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %edi
	callq	_netif_tx_unlock_bh
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	addl	$4, %r14d
	cmpq	%rax, %r12
	movq	%r13, %r15
	jl	LBB0_2
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_6:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incl	%r12d
	movl	(%r13), %r13d
	movq	%r14, %rdi
	callq	_LOOPBACK_MODE
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%rax
	pushq	%r13
	callq	_netif_err
	addq	$16, %rsp
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	_EPIPE@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INADDR_LOOPBACK,4,2            ## @INADDR_LOOPBACK
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TX queue %d could not transmit packet %d of %d in %s loopback test\n"

	.comm	_EPIPE,4,2                      ## @EPIPE
	.no_dead_strip	_efx_begin_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_begin_loopback
_efx_begin_loopback:                    ; @efx_begin_loopback
	.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
	ldr	x19, [x0, #8]
	ldr	x25, [x19, #8]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x20, x0
	mov	w26, #0
	mov	x24, #0
	add	x21, x25, #4
Lloh0:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x28, _NETDEV_TX_OK@GOTPAGE
Lloh3:
	ldr	x28, [x28, _NETDEV_TX_OK@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	mov	w0, #4
	bl	_alloc_skb
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	ldr	x8, [x25, #8]
	str	x0, [x8, x24, lsl #3]
	bl	_skb_get
	mov	x0, x22
	mov	w1, #4
	bl	_skb_put
	mov	x23, x0
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh4:
	adrp	x8, _INADDR_LOOPBACK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INADDR_LOOPBACK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w0, w8, w26
	bl	_htonl
	str	w0, [x23]
	bl	_smp_wmb
	ldr	w0, [x19]
	bl	_netif_tx_lock_bh
	mov	x0, x20
	mov	x1, x22
	bl	_efx_enqueue_skb
	mov	x23, x0
	ldr	w0, [x19]
	bl	_netif_tx_unlock_bh
	ldr	w8, [x28]
	cmp	w23, w8
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x25]
	add	w26, w26, #4
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _drv@GOTPAGE
Lloh10:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	ldr	w23, [x19]
	ldr	w20, [x20]
	add	w24, w24, #1
	ldr	w25, [x25]
	mov	x0, x19
	bl	_LOOPBACK_MODE
	mov	x7, x0
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x4, x20
	mov	x5, x24
	mov	x6, x25
	bl	_netif_err
	mov	x0, x22
	bl	_kfree_skb
Lloh14:
	adrp	x8, _EPIPE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INADDR_LOOPBACK,4,2            ; @INADDR_LOOPBACK
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TX queue %d could not transmit packet %d of %d in %s loopback test\n"

	.comm	_EPIPE,4,2                      ; @EPIPE
	.no_dead_strip	_efx_begin_loopback
.subsections_via_symbols
