	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_queue_wq_skb_encap
_enic_queue_wq_skb_encap:               ## @enic_queue_wq_skb_encap
	.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
	movl	%r9d, %r15d
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_skb_headlen
	movl	%eax, %r14d
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %esi
	movl	(%r12), %edi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %edx
	callq	_pci_map_single
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_enic_dma_map_check
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	cmpl	%r14d, -44(%rbp)                ## 4-byte Folded Reload
	sete	%al
	movq	_WQ_ENET_OFFLOAD_MODE_CSUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%r15, %r11
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	$7, %r8d
	xorl	%r9d, %r9d
	movq	%r11, %r13
	pushq	%r11
	pushq	%rax
	pushq	$1
	pushq	%rax
	pushq	%r10
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_enic_queue_wq_desc_ex
	addq	$64, %rsp
	cmpl	%r14d, -44(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_4
LBB0_3:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	subl	%r14d, %ecx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r13d, %r8d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enic_queue_wq_skb_cont         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WQ_ENET_OFFLOAD_MODE_CSUM,4,2  ## @WQ_ENET_OFFLOAD_MODE_CSUM
	.no_dead_strip	_enic_queue_wq_skb_encap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_queue_wq_skb_encap
_enic_queue_wq_skb_encap:               ; @enic_queue_wq_skb_encap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x5
	mov	x23, x4
	mov	x25, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_skb_headlen
	mov	x24, x0
	ldr	w0, [x22]
	ldp	w27, w1, [x20]
Lloh0:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x2, x24
	bl	_pci_map_single
	mov	x26, x0
	mov	x0, x22
	mov	x1, x26
	bl	_enic_dma_map_check
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	cmp	w27, w24
	cset	w8, eq
Lloh6:
	adrp	x9, _WQ_ENET_OFFLOAD_MODE_CSUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WQ_ENET_OFFLOAD_MODE_CSUM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w19, [sp, #12]
	mov	w10, #1
	stp	w8, w10, [sp, #4]
	str	w9, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x26
	mov	x3, x24
	mov	w4, #7
	mov	w5, #0
	mov	x6, x25
	mov	x7, x23
	bl	_enic_queue_wq_desc_ex
	mov	w0, #0
	cmp	w27, w24
	b.ne	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	sub	w3, w27, w24
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_enic_queue_wq_skb_cont
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WQ_ENET_OFFLOAD_MODE_CSUM,4,2  ; @WQ_ENET_OFFLOAD_MODE_CSUM
	.no_dead_strip	_enic_queue_wq_skb_encap
.subsections_via_symbols
