	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_ofld_wr
_write_ofld_wr:                         ## @write_ofld_wr
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SKB_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	incl	%eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	leaq	(,%rbx,8), %r13
	addq	8(%r15), %r13
	movq	%r12, %rdi
	callq	_immediate
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movl	16(%r12), %edx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.2:
	movq	%r13, %rdi
	movq	%r12, %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_imm                      ## TAILCALL
LBB0_3:
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rax
	movq	(%r13), %rbx
	addq	$4, %rbx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %r14
	movq	%r12, %rdi
	callq	_skb_transport_offset
                                        ## kill: def $eax killed $eax def $rax
	leal	-8(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r12, %rdi
	callq	_skb_transport_offset
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmpl	$1, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %r14d
	shlq	$2, %r14
	addq	(%r13), %r14
LBB0_5:
	movq	%r12, %rdi
	callq	_skb_transport_header
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_skb_tail_pointer
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_skb_transport_header
	subq	%rax, %r15
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	callq	_write_sgl
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_need_skb_unmap
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_setup_deferred_unmapping
	movq	_deferred_unmap_destructor@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_7:
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movl	4(%rcx), %r10d
	subq	$8, %rsp
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	%r10
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%r15
	pushq	%rbx
	callq	_write_wr_hdr_sgl
	addq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ## @MAX_SKB_FRAGS
	.comm	_deferred_unmap_destructor,4,2  ## @deferred_unmap_destructor
	.no_dead_strip	_write_ofld_wr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_ofld_wr
_write_ofld_wr:                         ; @write_ofld_wr
	.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, #48
	mov	x26, x6
	mov	x27, x5
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_SKB_FRAGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SKB_FRAGS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	w8, w8, #1
	lsl	x9, x8, #2
	add	x8, x9, #15
	and	x8, x8, #0x7fffffff0
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x8
	mov	sp, x25
	ldr	x8, [x2, #8]
	add	x24, x8, w3, uxtw #3
	mov	x0, x1
	bl	_immediate
	cbz	x0, LBB0_3
; %bb.1:
	mov	w8, w22
	ldr	x9, [x21]
	str	xzr, [x9, x8, lsl #3]
	ldr	w2, [x20, #16]
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.2:
	mov	x0, x24
	mov	x1, x20
	mov	x3, x19
	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
	b	_write_imm
LBB0_3:
	stur	x26, [x29, #-104]               ; 8-byte Folded Spill
	stur	x23, [x29, #-120]               ; 8-byte Folded Spill
	ldr	x23, [x20, #8]
	ldr	x8, [x24]
	add	x28, x8, #4
	add	x26, x23, #8
	mov	x0, x20
	bl	_skb_transport_offset
	sub	w2, w0, #8
	mov	x0, x28
	mov	x1, x26
	bl	_memcpy
	mov	x0, x20
	bl	_skb_transport_offset
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w9, w8, #3
	mov	x28, x25
	stur	w27, [x29, #-92]                ; 4-byte Folded Spill
	cmp	w27, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x24]
	add	x28, x8, w9, uxtw #2
LBB0_5:
	stur	w9, [x29, #-108]                ; 4-byte Folded Spill
	mov	x0, x20
	bl	_skb_transport_header
	mov	x26, x0
	mov	x0, x20
	bl	_skb_tail_pointer
	mov	x27, x0
	mov	x0, x20
	bl	_skb_transport_header
	sub	x3, x27, x0
	mov	x0, x20
	mov	x1, x28
	mov	x2, x26
	ldur	x4, [x29, #-104]                ; 8-byte Folded Reload
	bl	_write_sgl
	mov	x27, x0
	bl	_need_skb_unmap
	cbz	x0, LBB0_7
; %bb.6:
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x28
	mov	x3, x27
	bl	_setup_deferred_unmapping
Lloh11:
	adrp	x8, _deferred_unmap_destructor@GOTPAGE
Lloh12:
	ldr	x8, [x8, _deferred_unmap_destructor@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_7:
	ldp	w9, w8, [x23]
	sub	sp, sp, #16
	stp	w8, w9, [sp, #4]
	str	w19, [sp]
	ldur	w0, [x29, #-92]                 ; 4-byte Folded Reload
	mov	x1, x20
	mov	x2, x24
	mov	x3, x22
	mov	x4, x21
	mov	x5, x25
	ldur	w6, [x29, #-108]                ; 4-byte Folded Reload
	mov	x7, x27
	bl	_write_wr_hdr_sgl
	add	sp, sp, #16
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	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_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SKB_FRAGS,4,2              ; @MAX_SKB_FRAGS
	.comm	_deferred_unmap_destructor,4,2  ; @deferred_unmap_destructor
	.no_dead_strip	_write_ofld_wr
.subsections_via_symbols
