	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_skb_replace              ## -- Begin function ip_vs_skb_replace
	.p2align	4, 0x90
_ip_vs_skb_replace:                     ## @ip_vs_skb_replace
	.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
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movl	$9, %edi
	callq	_EnterFunction
	movl	%r15d, %ecx
	movq	%r14, %r15
	subq	(%r13), %r15
	movl	8(%r13), %edx
	subl	%r15d, %edx
	subl	%ebx, %edx
	movl	%ecx, %r12d
	subl	%ebx, %r12d
	jle	LBB0_1
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	%r13, %rdi
	callq	_skb_tailroom
	movq	%r13, %rdi
	cmpl	%eax, %r12d
	jle	LBB0_3
## %bb.4:
	callq	_skb_headroom
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_pskb_expand_head
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_1:
	movslq	%ecx, %rdi
	addq	%r14, %rdi
	movslq	%ebx, %rsi
	addq	%r14, %rsi
	movl	%ecx, %ebx
	callq	_memmove
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	addl	8(%r13), %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_trim
	jmp	LBB0_7
LBB0_3:
	movl	%r12d, %esi
	callq	_skb_put
	movslq	%ebx, %rdi
	addq	%r14, %rdi
	movslq	-72(%rbp), %rsi                 ## 4-byte Folded Reload
	addq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memmove
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_7
LBB0_6:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movslq	%r15d, %rax
	addq	(%r13), %rax
	movslq	%ebx, %rdi
	addq	%rax, %rdi
	movslq	-72(%rbp), %rsi                 ## 4-byte Folded Reload
	addq	%rax, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_memmove
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_skb_copy_to_linear_data_offset
LBB0_7:
	movl	8(%r13), %edi
	callq	_htons
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_ip_hdr
	movl	%ebx, (%rax)
	movl	$9, %edi
	callq	_LeaveFunction
	xorl	%eax, %eax
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_skb_replace              ; -- Begin function ip_vs_skb_replace
	.p2align	2
_ip_vs_skb_replace:                     ; @ip_vs_skb_replace
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x25, x2
	mov	x27, x1
	mov	x19, x0
	mov	w0, #9
	bl	_EnterFunction
	sub	w24, w20, w22
	ldr	x8, [x19]
	ldr	w9, [x19, #8]
	sub	x26, x25, x8
	add	w8, w26, w22
	sub	w23, w9, w8
	cmp	w24, #0
	b.le	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_skb_tailroom
	cmp	w24, w0
	b.le	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_skb_headroom
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	mov	x3, x27
	bl	_pskb_expand_head
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	add	x0, x25, w20, sxtw
	add	x1, x25, w22, sxtw
	mov	x2, x23
	bl	_memmove
	mov	x0, x25
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	ldr	w8, [x19, #8]
	add	w1, w8, w24
	mov	x0, x19
	bl	_skb_trim
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x24
	bl	_skb_put
	add	x0, x25, w20, sxtw
	add	x1, x25, w22, sxtw
	mov	x2, x23
	bl	_memmove
	mov	x0, x25
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x1, x24
	bl	_skb_put
	ldr	x8, [x19]
	add	x8, x8, w26, sxtw
	add	x0, x8, w20, sxtw
	add	x1, x8, w22, sxtw
	mov	x2, x23
	bl	_memmove
	mov	x0, x19
	mov	x1, x26
	mov	x2, x21
	mov	x3, x20
	bl	_skb_copy_to_linear_data_offset
LBB0_7:
	ldr	w0, [x19, #8]
	bl	_htons
	mov	x20, x0
	mov	x0, x19
	bl	_ip_hdr
	str	w20, [x0]
	mov	w0, #9
	bl	_LeaveFunction
	mov	w0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
