	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xenvif_tx_build_gops
_xenvif_tx_build_gops:                  ## @xenvif_tx_build_gops
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	addq	$48, %rdi
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	callq	_skb_queue_len
	movl	%r14d, -148(%rbp)               ## 4-byte Spill
	cmpl	%r14d, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jge	LBB0_53
## %bb.1:
	addq	$32, %rbx
	movq	%rbx, -216(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r13
	movq	_XEN_NETBK_LEGACY_SLOTS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$5, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -168(%rbp)                ## 8-byte Spill
	movq	_XEN_NETIF_EXTRA_TYPE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	decl	%r14d
	movq	%r14, %rax
	shlq	$5, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rcx
	movq	40(%rax), %rax
	movq	(%rax), %rdx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	_XEN_NETIF_TX_RING_SIZE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r8
	cmpq	%r8, %rax
	jg	LBB0_42
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_RING_HAS_UNCONSUMED_REQUESTS
	testl	%eax, %eax
	je	LBB0_52
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	32(%r13), %r15
	xorl	%eax, %eax
	callq	_rmb
	movq	%rbx, %rdi
	movq	%r13, %rbx
	movq	%r15, %r13
	movq	%r15, %rsi
	leaq	-128(%rbp), %rdx
	callq	_RING_COPY_REQUEST
	movq	-128(%rbp), %rsi
	movq	(%rbx), %rax
	cmpq	%rax, %rsi
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_tx_credit_exceeded
	testq	%rax, %rax
	jne	LBB0_51
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %rsi
	movq	(%rbx), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	subq	%rsi, %rax
	movq	%rax, (%rbx)
	decl	%r12d
	incq	%r13
	movq	%r13, 32(%rbx)
	shll	$5, %r14d
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movl	$0, -52(%rbp)
	movq	_XEN_NETTXF_extra_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -120(%rbp)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	-52(%rbp), %rdx
	movl	%r12d, %ecx
	callq	_xenvif_get_extras
	movl	%eax, %r12d
	movq	32(%rbx), %r14
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	leaq	-128(%rbp), %r13
	je	LBB0_10
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r14
	leaq	-128(%rbp), %r13
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XEN_NETIF_EXTRA_TYPE_MCAST_ADD@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	shlq	$5, %rax
	cmpq	$0, 24(%r15,%rax)
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	64(%rbx), %rdi
	movl	16(%r15,%rax), %esi
	callq	_xenvif_mcast_add
	movq	_XEN_NETIF_RSP_ERROR@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_XEN_NETIF_RSP_OKAY@GOTPCREL(%rip), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edx
	movl	(%rcx), %ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XEN_NETIF_EXTRA_TYPE_MCAST_DEL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	shlq	$5, %rax
	cmpq	$0, 24(%r15,%rax)
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	64(%rbx), %rdi
	movl	16(%r15,%rax), %esi
	callq	_xenvif_mcast_del
	movl	-52(%rbp), %edx
	movq	_XEN_NETIF_RSP_OKAY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_make_tx_response
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	callq	_push_tx_responses
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rsp
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	callq	_skb_queue_len
	cmpl	-148(%rbp), %eax                ## 4-byte Folded Reload
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	jl	LBB0_2
	jmp	LBB0_53
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_xenvif_count_requests
	movl	%eax, %ebx
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_51
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rax
	addq	%rax, %r14
	movq	-128(%rbp), %rax
	xorl	%edi, %edi
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_44
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %rax
	addq	-112(%rbp), %rax
	xorl	%edi, %edi
	movq	_XEN_PAGE_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_45
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	52(%rax), %edi
	callq	_pending_index
	movq	-128(%rbp), %rcx
	movq	_XEN_NETBACK_TX_COPY_LEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%rdx, %r12
	movq	_XEN_NETBK_LEGACY_SLOTS_MAX@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ebx
	jl	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %r12
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	8(%rsi), %rsi
	movq	(%rsi,%rax,8), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	cmpq	%rdx, %rcx
	cmovleq	%rcx, %r12
	movl	%r12d, %edi
	callq	_xenvif_alloc_skb
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_46
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	%ebx, (%rax)
	movq	%r12, -200(%rbp)                ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	cmpq	-128(%rbp), %rax
	jge	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_skb_shinfo
	incl	(%rax)
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %eax
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	jbe	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	(%rax), %r12d
	movl	(%rbx), %eax
	subl	%eax, %r12d
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	seta	%dil
	callq	_BUG_ON
	movl	(%rbx), %ebx
	movq	%r15, %rdi
	callq	_skb_shinfo
	movl	%ebx, (%rax)
	xorl	%edi, %edi
	callq	_xenvif_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_29
	jmp	LBB0_49
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	_XEN_NETIF_EXTRA_TYPE_GSO@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	shlq	$5, %rax
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 24(%rbx,%rax)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdx
	addq	%rax, %rdx
	movq	64(%r15), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_xenvif_set_skb_gso
	testq	%rax, %rax
	jne	LBB0_48
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XEN_NETIF_EXTRA_TYPE_HASH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	shlq	$5, %rax
	cmpq	$0, 24(%rbx,%rax)
	je	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx,%rax), %ecx
	addl	$-128, %ecx
	movq	_PKT_HASH_TYPE_NONE@GOTPCREL(%rip), %rdx
	cmpl	$3, %ecx
	ja	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rcx
	leaq	l_switch.table.xenvif_tx_build_gops(%rip), %rdx
	movq	(%rdx,%rcx,8), %rdx
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx), %edx
	movq	_PKT_HASH_TYPE_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx,%rax), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_skb_set_hash
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -184(%rbp)                ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_XENVIF_TX_CB
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%r12, %rdi
	movq	-200(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, %esi
	callq	___skb_put
	movl	-104(%rbp), %eax
	movq	24(%r15), %rcx
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%eax, 28(%rcx,%rdx)
	movq	64(%r15), %rax
	movl	(%rax), %eax
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%eax, 24(%rcx,%rdx)
	movl	-112(%rbp), %eax
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%eax, 20(%rcx,%rdx)
	movl	(%r12), %edi
	callq	_virt_to_gfn
	movq	24(%r15), %rcx
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%eax, 16(%rcx,%rdx)
	movq	_DOMID_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%eax, 12(%rcx,%rdx)
	movl	(%r12), %edi
	callq	_offset_in_page
	movq	_XEN_PAGE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	24(%r15), %rax
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%ecx, 8(%rax,%rdx)
	movl	(%rbx), %ecx
	shlq	$5, %rcx
	movl	%r14d, (%rax,%rcx)
	movq	_GNTCOPY_source_gref@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rbx), %edx
	shlq	$5, %rdx
	movl	%ecx, 4(%rax,%rdx)
	incl	(%rbx)
	movq	-128(%rbp), %rbx
	movq	%r12, %rdi
	callq	_skb_shinfo
	movq	8(%rax), %rdi
	cmpq	%rbx, -192(%rbp)                ## 8-byte Folded Reload
	jge	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_frag_set_pending_idx
	movl	-52(%rbp), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_xenvif_tx_create_map_op
	movq	%rbx, %rcx
	addq	$32, %rcx
	jmp	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_INVALID_PENDING_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_frag_set_pending_idx
	movq	56(%r15), %rax
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	leaq	(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	movq	%r13, %rsi
	movl	$32, %edx
	callq	_memcpy
	movl	-52(%rbp), %eax
	movq	56(%r15), %rcx
	movl	%eax, (%rcx,%rbx,8)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	incl	52(%r15)
	movq	%r15, %rdi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	movq	-184(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_xenvif_get_requests
	movq	%rax, %rbx
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	___skb_queue_tail
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r15)
	movq	16(%r15), %rdi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	subq	%rdi, %rbx
	sarq	$5, %rbx
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jge	LBB0_51
## %bb.40:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ebx
	movq	24(%r15), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_17
## %bb.41:
	movq	%rbx, %rsp
	jmp	LBB0_53
LBB0_42:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	64(%rbx), %rax
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	64(%rbx), %rdi
	callq	_xenvif_fatal_tx_err
	jmp	LBB0_52
LBB0_44:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	64(%rbx), %rax
	movl	4(%rax), %edi
	movq	-128(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
	jmp	LBB0_47
LBB0_45:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	64(%rbx), %rax
	movl	4(%rax), %edi
	movq	-128(%rbp), %rcx
	movq	-112(%rbp), %rdx
	movq	_XEN_PAGE_MASK@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	notq	%r8
	andq	%rdx, %r8
	addq	%rcx, %r8
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	64(%rbx), %rdi
	callq	_xenvif_fatal_tx_err
	jmp	LBB0_51
LBB0_46:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	64(%rbx), %rax
	movl	4(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_dbg
LBB0_47:
	movl	-52(%rbp), %edx
	leaq	-128(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_xenvif_tx_err
	jmp	LBB0_51
LBB0_48:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	$0, (%rax)
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_kfree_skb
	jmp	LBB0_51
LBB0_49:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	$0, (%rax)
	movq	%rbx, %rdi
	callq	_kfree_skb
	movl	-52(%rbp), %edx
	leaq	-128(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_xenvif_tx_err
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	movq	64(%r15), %rax
	movl	4(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_51:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_52:
	movq	%r13, %rsp
LBB0_53:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	subq	16(%rax), %rcx
	shrq	$5, %rcx
	movq	-208(%rbp), %rax                ## 8-byte Reload
	movl	%ecx, (%rax)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_55
## %bb.54:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_55:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XEN_NETBK_LEGACY_SLOTS_MAX,4,2 ## @XEN_NETBK_LEGACY_SLOTS_MAX
	.comm	_XEN_NETIF_EXTRA_TYPE_MAX,4,2   ## @XEN_NETIF_EXTRA_TYPE_MAX
	.comm	_XEN_NETIF_TX_RING_SIZE,8,3     ## @XEN_NETIF_TX_RING_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Impossible number of requests. req_prod %d, req_cons %d, size %ld\n"

	.comm	_XEN_NETTXF_extra_info,4,2      ## @XEN_NETTXF_extra_info
	.comm	_XEN_NETIF_EXTRA_TYPE_MCAST_ADD,4,2 ## @XEN_NETIF_EXTRA_TYPE_MCAST_ADD
	.comm	_XEN_NETIF_RSP_OKAY,4,2         ## @XEN_NETIF_RSP_OKAY
	.comm	_XEN_NETIF_RSP_ERROR,4,2        ## @XEN_NETIF_RSP_ERROR
	.comm	_XEN_NETIF_EXTRA_TYPE_MCAST_DEL,4,2 ## @XEN_NETIF_EXTRA_TYPE_MCAST_DEL
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
L_.str.1:                               ## @.str.1
	.asciz	"Bad packet size: %d\n"

	.comm	_XEN_PAGE_SIZE,8,3              ## @XEN_PAGE_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"txreq.offset: %u, size: %u, end: %lu\n"

	.comm	_XEN_PAGE_MASK,4,2              ## @XEN_PAGE_MASK
	.comm	_XEN_NETBACK_TX_COPY_LEN,4,2    ## @XEN_NETBACK_TX_COPY_LEN
L_.str.3:                               ## @.str.3
	.asciz	"Can't allocate a skb in start_xmit.\n"

	.comm	_MAX_SKB_FRAGS,4,2              ## @MAX_SKB_FRAGS
L_.str.4:                               ## @.str.4
	.asciz	"Can't allocate the frag_list skb.\n"

	.comm	_XEN_NETIF_EXTRA_TYPE_GSO,4,2   ## @XEN_NETIF_EXTRA_TYPE_GSO
	.comm	_XEN_NETIF_EXTRA_TYPE_HASH,4,2  ## @XEN_NETIF_EXTRA_TYPE_HASH
	.comm	_PKT_HASH_TYPE_NONE,4,2         ## @PKT_HASH_TYPE_NONE
	.comm	_PKT_HASH_TYPE_L3,4,2           ## @PKT_HASH_TYPE_L3
	.comm	_PKT_HASH_TYPE_L4,4,2           ## @PKT_HASH_TYPE_L4
	.comm	_DOMID_SELF,4,2                 ## @DOMID_SELF
	.comm	_GNTCOPY_source_gref,4,2        ## @GNTCOPY_source_gref
	.comm	_INVALID_PENDING_IDX,8,3        ## @INVALID_PENDING_IDX
	.no_dead_strip	_xenvif_tx_build_gops
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.xenvif_tx_build_gops
l_switch.table.xenvif_tx_build_gops:
	.quad	_PKT_HASH_TYPE_L4
	.quad	_PKT_HASH_TYPE_L3
	.quad	_PKT_HASH_TYPE_L4
	.quad	_PKT_HASH_TYPE_L3

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xenvif_tx_build_gops
_xenvif_tx_build_gops:                  ; @xenvif_tx_build_gops
	.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
	sub	sp, sp, #96
	stur	x3, [x29, #-144]                ; 8-byte Folded Spill
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #16]
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	add	x24, x0, #48
	mov	x0, x24
	bl	_skb_queue_len
	stur	w19, [x29, #-128]               ; 4-byte Folded Spill
	cmp	w0, w19
	b.ge	LBB0_39
; %bb.1:
	add	x25, x20, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, sp
Lloh3:
	adrp	x8, _XEN_NETBK_LEGACY_SLOTS_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XEN_NETBK_LEGACY_SLOTS_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #5
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x26, x9, x8
	mov	sp, x26
Lloh8:
	adrp	x8, _XEN_NETIF_EXTRA_TYPE_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XEN_NETIF_EXTRA_TYPE_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sub	w27, w8, #1
	lsl	x8, x27, #5
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x28, x9, x8
	mov	sp, x28
	ldp	x9, x8, [x20, #32]
	ldr	x8, [x8]
Lloh13:
	adrp	x10, _XEN_NETIF_TX_RING_SIZE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _XEN_NETIF_TX_RING_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	sub	x11, x8, x9
	cmp	x11, x10
	b.gt	LBB0_36
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_RING_HAS_UNCONSUMED_REQUESTS
	cbz	w0, LBB0_38
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x19, x0
	ldr	x21, [x20, #32]
	bl	_rmb
	sub	x2, x29, #120
	mov	x0, x25
	mov	x1, x21
	bl	_RING_COPY_REQUEST
	ldur	x1, [x29, #-120]
	ldr	x8, [x20]
	cmp	x1, x8
	b.le	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_tx_credit_exceeded
	cbnz	x0, LBB0_38
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x1, [x29, #-120]
	ldr	x8, [x20]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	x8, x8, x1
	str	x8, [x20]
	sub	w19, w19, #1
	add	x21, x21, #1
	str	x21, [x20, #32]
	lsl	w2, w27, #5
	mov	x0, x28
	mov	w1, #0
	bl	_memset
	stur	wzr, [x29, #-124]
	ldur	w8, [x29, #-112]
Lloh16:
	adrp	x9, _XEN_NETTXF_extra_info@GOTPAGE
Lloh17:
	ldr	x9, [x9, _XEN_NETTXF_extra_info@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x2, x29, #124
	mov	x0, x20
	mov	x1, x28
	mov	x3, x19
	bl	_xenvif_get_extras
	mov	x19, x0
	ldr	x21, [x20, #32]
	lsr	w0, w0, #31
	bl	_unlikely
	cbnz	x0, LBB0_38
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _XEN_NETIF_EXTRA_TYPE_MCAST_ADD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XEN_NETIF_EXTRA_TYPE_MCAST_ADD@GOTPAGEOFF]
Lloh21:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	add	x8, x28, x8, lsl #5
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #64]
	ldr	w1, [x8, #16]
	bl	_xenvif_mcast_add
	ldur	w2, [x29, #-124]
	cmp	w0, #0
Lloh22:
	adrp	x8, _XEN_NETIF_RSP_OKAY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XEN_NETIF_RSP_OKAY@GOTPAGEOFF]
Lloh24:
	adrp	x9, _XEN_NETIF_RSP_ERROR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _XEN_NETIF_RSP_ERROR@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh26:
	adrp	x8, _XEN_NETIF_EXTRA_TYPE_MCAST_DEL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _XEN_NETIF_EXTRA_TYPE_MCAST_DEL@GOTPAGEOFF]
Lloh28:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	add	x8, x28, x8, lsl #5
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #64]
	ldr	w1, [x8, #16]
	bl	_xenvif_mcast_del
	ldur	w2, [x29, #-124]
Lloh29:
	adrp	x8, _XEN_NETIF_RSP_OKAY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XEN_NETIF_RSP_OKAY@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w3, [x8]
	sub	x1, x29, #120
	mov	x0, x20
	bl	_make_tx_response
	mov	x0, x20
	bl	_push_tx_responses
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	sp, x23
	mov	x0, x24
	bl	_skb_queue_len
	ldur	w8, [x29, #-128]                ; 4-byte Folded Reload
	cmp	w0, w8
	b.lt	LBB0_2
	b	LBB0_39
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	w2, [x29, #-124]
	sub	x1, x29, #120
	mov	x0, x20
	mov	x3, x26
	mov	x4, x19
	bl	_xenvif_count_requests
	mov	x27, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbnz	x0, LBB0_38
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x21, w27, sxtw
	ldur	x8, [x29, #-120]
Lloh31:
	adrp	x9, _ETH_HLEN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ETH_HLEN@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_41
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-104]
	ldur	x9, [x29, #-120]
Lloh34:
	adrp	x10, _XEN_PAGE_SIZE@GOTPAGE
Lloh35:
	ldr	x10, [x10, _XEN_PAGE_SIZE@GOTPAGEOFF]
Lloh36:
	ldr	x10, [x10]
	add	x8, x9, x8
	cmp	x8, x10
	cset	w0, gt
	bl	_unlikely
	cbnz	x0, LBB0_42
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	stp	x22, x19, [x29, #-160]          ; 16-byte Folded Spill
	ldr	w0, [x20, #52]
	bl	_pending_index
	ldr	x8, [x20, #8]
	ldr	x22, [x8, x0, lsl #3]
	ldur	x8, [x29, #-120]
Lloh37:
	adrp	x9, _XEN_NETBACK_TX_COPY_LEN@GOTPAGE
Lloh38:
	ldr	x9, [x9, _XEN_NETBACK_TX_COPY_LEN@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
Lloh40:
	adrp	x10, _XEN_NETBK_LEGACY_SLOTS_MAX@GOTPAGE
Lloh41:
	ldr	x10, [x10, _XEN_NETBK_LEGACY_SLOTS_MAX@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	cmp	w27, w10
	ccmp	x8, x9, #4, lt
	csel	x21, x9, x8, gt
	mov	x0, x21
	bl	_xenvif_alloc_skb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_43
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	str	w27, [x0]
	and	x9, x21, #0xffffffff
	ldur	x8, [x29, #-120]
	stur	x9, [x29, #-168]                ; 8-byte Folded Spill
	cmp	x9, x8
	b.ge	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_skb_shinfo
	ldr	w8, [x0]
Lloh43:
	adrp	x10, _MAX_SKB_FRAGS@GOTPAGE
Lloh44:
	ldr	x10, [x10, _MAX_SKB_FRAGS@GOTPAGEOFF]
	ldr	w9, [x10]
	cmp	w8, w9
	b.ls	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x27, x10
	bl	_skb_shinfo
	ldr	w8, [x0]
	ldr	w9, [x27]
	sub	w8, w8, w9
	stur	w8, [x29, #-172]                ; 4-byte Folded Spill
	cmp	w8, w9
	cset	w0, hi
	bl	_BUG_ON
	ldr	w27, [x27]
	mov	x0, x19
	bl	_skb_shinfo
	str	w27, [x0]
	mov	w0, #0
	bl	_xenvif_alloc_skb
	mov	x27, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_24
	b	LBB0_45
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	stur	wzr, [x29, #-172]               ; 4-byte Folded Spill
	mov	x27, #0
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh45:
	adrp	x8, _XEN_NETIF_EXTRA_TYPE_GSO@GOTPAGE
Lloh46:
	ldr	x8, [x8, _XEN_NETIF_EXTRA_TYPE_GSO@GOTPAGEOFF]
Lloh47:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	add	x2, x28, x8, lsl #5
	ldr	x8, [x2, #24]
	cbz	x8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #64]
	mov	x1, x19
	bl	_xenvif_set_skb_gso
	cbnz	x0, LBB0_44
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh48:
	adrp	x8, _XEN_NETIF_EXTRA_TYPE_HASH@GOTPAGE
Lloh49:
	ldr	x8, [x8, _XEN_NETIF_EXTRA_TYPE_HASH@GOTPAGEOFF]
Lloh50:
	ldrsw	x8, [x8]
	sub	x8, x8, #1
	add	x9, x28, x8, lsl #5
	ldr	x9, [x9, #24]
	cbz	x9, LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	lsl	x9, x8, #5
	ldr	w9, [x28, x9]
	sub	w10, w9, #128
Lloh51:
	adrp	x9, _PKT_HASH_TYPE_NONE@GOTPAGE
Lloh52:
	ldr	x9, [x9, _PKT_HASH_TYPE_NONE@GOTPAGEOFF]
	cmp	w10, #3
	b.hi	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh53:
	adrp	x9, l_switch.table.xenvif_tx_build_gops@PAGE
Lloh54:
	add	x9, x9, l_switch.table.xenvif_tx_build_gops@PAGEOFF
	ldr	x9, [x9, w10, sxtw #3]
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x9]
Lloh55:
	adrp	x9, _PKT_HASH_TYPE_NONE@GOTPAGE
Lloh56:
	ldr	x9, [x9, _PKT_HASH_TYPE_NONE@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	cmp	w2, w9
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x28, x8, lsl #5
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_skb_set_hash
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x27
	mov	x0, x19
	bl	_XENVIF_TX_CB
	mov	x27, x22
	str	x22, [x0]
	mov	x0, x19
	mov	x1, x21
	bl	___skb_put
	ldur	w8, [x29, #-96]
	ldr	x9, [x20, #24]
	ldur	x22, [x29, #-160]               ; 8-byte Folded Reload
	ldr	w10, [x22]
	add	x10, x9, x10, lsl #5
	str	w8, [x10, #28]
	ldr	x8, [x20, #64]
	ldr	w8, [x8]
	ldr	w10, [x22]
	add	x10, x9, x10, lsl #5
	str	w8, [x10, #24]
	ldur	x8, [x29, #-104]
	ldr	w10, [x22]
	add	x9, x9, x10, lsl #5
	str	w8, [x9, #20]
	ldr	w0, [x19]
	bl	_virt_to_gfn
	ldr	x8, [x20, #24]
	ldr	w9, [x22]
	add	x9, x8, x9, lsl #5
	str	w0, [x9, #16]
Lloh58:
	adrp	x9, _DOMID_SELF@GOTPAGE
Lloh59:
	ldr	x9, [x9, _DOMID_SELF@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	ldr	w10, [x22]
	add	x8, x8, x10, lsl #5
	str	w9, [x8, #12]
	ldr	w0, [x19]
	bl	_offset_in_page
Lloh61:
	adrp	x8, _XEN_PAGE_MASK@GOTPAGE
Lloh62:
	ldr	x8, [x8, _XEN_PAGE_MASK@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	x9, [x20, #24]
	ldr	w10, [x22]
	add	x10, x9, x10, lsl #5
	str	w8, [x10, #8]
	ldr	w8, [x22]
	lsl	x8, x8, #5
	str	w21, [x9, x8]
Lloh64:
	adrp	x8, _GNTCOPY_source_gref@GOTPAGE
Lloh65:
	ldr	x8, [x8, _GNTCOPY_source_gref@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	ldr	w10, [x22]
	add	x9, x9, x10, lsl #5
	str	w8, [x9, #4]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	ldur	x21, [x29, #-120]
	mov	x0, x19
	bl	_skb_shinfo
	ldr	x0, [x0, #8]
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	cmp	x8, x21
	b.ge	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x27
	bl	_frag_set_pending_idx
	ldur	w3, [x29, #-124]
	sub	x2, x29, #120
	mov	x0, x20
	mov	x1, x27
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	mov	x4, x21
	bl	_xenvif_tx_create_map_op
	mov	x3, x21
	add	x3, x21, #32
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh67:
	adrp	x8, _INVALID_PENDING_IDX@GOTPAGE
Lloh68:
	ldr	x8, [x8, _INVALID_PENDING_IDX@GOTPAGEOFF]
Lloh69:
	ldr	x1, [x8]
	bl	_frag_set_pending_idx
	ldr	x8, [x20, #56]
	lsl	x21, x27, #3
	add	x8, x8, x21
	add	x0, x8, #4
	sub	x1, x29, #120
	mov	w2, #32
	bl	_memcpy
	ldur	w8, [x29, #-124]
	ldr	x9, [x20, #56]
	str	w8, [x9, x21]
	ldur	x3, [x29, #-136]                ; 8-byte Folded Reload
LBB0_34:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	w4, [x29, #-172]                ; 4-byte Folded Reload
	ldr	w8, [x20, #52]
	add	w8, w8, #1
	str	w8, [x20, #52]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	mov	x5, x28
	bl	_xenvif_get_requests
	mov	x21, x0
	mov	x0, x24
	mov	x1, x19
	bl	___skb_queue_tail
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	str	x8, [x20, #32]
	ldr	x0, [x20, #16]
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
	sub	x19, x21, x0
	bl	_ARRAY_SIZE
	mov	w8, w0
	cmp	x8, x19, asr #5
	b.le	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w19, [x22]
	ldr	x0, [x20, #24]
	bl	_ARRAY_SIZE
	cmp	w19, w0
	b.lo	LBB0_14
	b	LBB0_38
LBB0_36:
	ldr	x11, [x20, #64]
	ldr	w0, [x11, #4]
	sub	sp, sp, #32
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh70:
	adrp	x1, l_.str@PAGE
Lloh71:
	add	x1, x1, l_.str@PAGEOFF
LBB0_37:
	bl	_netdev_err
	add	sp, sp, #32
	ldr	x0, [x20, #64]
	bl	_xenvif_fatal_tx_err
LBB0_38:
	mov	sp, x23
LBB0_39:
	ldr	x8, [x20, #16]
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	sub	x8, x9, x8
	lsr	x8, x8, #5
	ldur	x9, [x29, #-144]                ; 8-byte Folded Reload
	str	w8, [x9]
	ldur	x8, [x29, #-88]
Lloh72:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh73:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_47
; %bb.40:
	sub	sp, x29, #80
	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
LBB0_41:
	ldr	x8, [x20, #64]
	ldr	w0, [x8, #4]
	ldur	x8, [x29, #-120]
	str	x8, [sp, #-16]!
Lloh75:
	adrp	x1, l_.str.1@PAGE
Lloh76:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
	add	sp, sp, #16
	ldur	w2, [x29, #-124]
	sub	x1, x29, #120
	mov	x0, x20
	mov	x3, x19
	bl	_xenvif_tx_err
	b	LBB0_38
LBB0_42:
	ldr	x8, [x20, #64]
	ldr	w0, [x8, #4]
	ldur	x8, [x29, #-104]
	ldur	x9, [x29, #-120]
Lloh77:
	adrp	x10, _XEN_PAGE_MASK@GOTPAGE
Lloh78:
	ldr	x10, [x10, _XEN_PAGE_MASK@GOTPAGEOFF]
Lloh79:
	ldr	w10, [x10]
	mvn	w10, w10
	sxtw	x10, w10
	and	x10, x8, x10
	add	x10, x10, x9
	stp	x8, x9, [sp, #-32]!
	str	x10, [sp, #16]
Lloh80:
	adrp	x1, l_.str.2@PAGE
Lloh81:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_37
LBB0_43:
	ldr	x8, [x20, #64]
	ldr	w0, [x8, #4]
Lloh82:
	adrp	x1, l_.str.3@PAGE
Lloh83:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_dbg
	ldur	w2, [x29, #-124]
	sub	x1, x29, #120
	mov	x0, x20
	ldur	x3, [x29, #-152]                ; 8-byte Folded Reload
	bl	_xenvif_tx_err
	b	LBB0_38
LBB0_44:
	mov	x0, x19
	bl	_skb_shinfo
	str	wzr, [x0]
	mov	x0, x19
	bl	_kfree_skb
	mov	x0, x27
	bl	_kfree_skb
	b	LBB0_38
LBB0_45:
	mov	x0, x19
	bl	_skb_shinfo
	str	wzr, [x0]
	mov	x0, x19
	bl	_kfree_skb
	ldur	w2, [x29, #-124]
	sub	x1, x29, #120
	mov	x0, x20
	ldur	x3, [x29, #-152]                ; 8-byte Folded Reload
	bl	_xenvif_tx_err
	bl	_net_ratelimit
	cbz	x0, LBB0_38
; %bb.46:
	ldr	x8, [x20, #64]
	ldr	w0, [x8, #4]
Lloh84:
	adrp	x1, l_.str.4@PAGE
Lloh85:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_netdev_err
	b	LBB0_38
LBB0_47:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_XEN_NETBK_LEGACY_SLOTS_MAX,4,2 ; @XEN_NETBK_LEGACY_SLOTS_MAX
	.comm	_XEN_NETIF_EXTRA_TYPE_MAX,4,2   ; @XEN_NETIF_EXTRA_TYPE_MAX
	.comm	_XEN_NETIF_TX_RING_SIZE,8,3     ; @XEN_NETIF_TX_RING_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Impossible number of requests. req_prod %d, req_cons %d, size %ld\n"

	.comm	_XEN_NETTXF_extra_info,4,2      ; @XEN_NETTXF_extra_info
	.comm	_XEN_NETIF_EXTRA_TYPE_MCAST_ADD,4,2 ; @XEN_NETIF_EXTRA_TYPE_MCAST_ADD
	.comm	_XEN_NETIF_RSP_OKAY,4,2         ; @XEN_NETIF_RSP_OKAY
	.comm	_XEN_NETIF_RSP_ERROR,4,2        ; @XEN_NETIF_RSP_ERROR
	.comm	_XEN_NETIF_EXTRA_TYPE_MCAST_DEL,4,2 ; @XEN_NETIF_EXTRA_TYPE_MCAST_DEL
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
l_.str.1:                               ; @.str.1
	.asciz	"Bad packet size: %d\n"

	.comm	_XEN_PAGE_SIZE,8,3              ; @XEN_PAGE_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"txreq.offset: %u, size: %u, end: %lu\n"

	.comm	_XEN_PAGE_MASK,4,2              ; @XEN_PAGE_MASK
	.comm	_XEN_NETBACK_TX_COPY_LEN,4,2    ; @XEN_NETBACK_TX_COPY_LEN
l_.str.3:                               ; @.str.3
	.asciz	"Can't allocate a skb in start_xmit.\n"

	.comm	_MAX_SKB_FRAGS,4,2              ; @MAX_SKB_FRAGS
l_.str.4:                               ; @.str.4
	.asciz	"Can't allocate the frag_list skb.\n"

	.comm	_XEN_NETIF_EXTRA_TYPE_GSO,4,2   ; @XEN_NETIF_EXTRA_TYPE_GSO
	.comm	_XEN_NETIF_EXTRA_TYPE_HASH,4,2  ; @XEN_NETIF_EXTRA_TYPE_HASH
	.comm	_PKT_HASH_TYPE_NONE,4,2         ; @PKT_HASH_TYPE_NONE
	.comm	_PKT_HASH_TYPE_L3,4,2           ; @PKT_HASH_TYPE_L3
	.comm	_PKT_HASH_TYPE_L4,4,2           ; @PKT_HASH_TYPE_L4
	.comm	_DOMID_SELF,4,2                 ; @DOMID_SELF
	.comm	_GNTCOPY_source_gref,4,2        ; @GNTCOPY_source_gref
	.comm	_INVALID_PENDING_IDX,8,3        ; @INVALID_PENDING_IDX
	.no_dead_strip	_xenvif_tx_build_gops
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.xenvif_tx_build_gops
l_switch.table.xenvif_tx_build_gops:
	.quad	_PKT_HASH_TYPE_L4
	.quad	_PKT_HASH_TYPE_L3
	.quad	_PKT_HASH_TYPE_L4
	.quad	_PKT_HASH_TYPE_L3

.subsections_via_symbols
