	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mangle_contents
_mangle_contents:                       ## @mangle_contents
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_skb_is_nonlinear
	movl	%eax, %edi
	callq	_BUG_ON
	movq	%r12, %rdi
	callq	_skb_network_header
	movl	%ebx, %ecx
	leaq	(%rax,%rcx), %rbx
	movl	%r13d, %eax
	addq	%rax, %rbx
	movl	%r14d, %r13d
	leaq	(%rbx,%r13), %rdi
	movl	%r15d, %r14d
	leaq	(%rbx,%r14), %rsi
	movq	16(%r12), %rdx
	addq	%rcx, %rax
	addq	%r14, %rax
	addq	8(%r12), %rax
	subq	%rax, %rdx
	callq	_memmove
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movl	%ebx, %eax
	subl	%r15d, %ebx
	jbe	LBB0_2
## %bb.1:
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_debug
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	jmp	LBB0_3
LBB0_2:
	subl	%eax, %r15d
	movq	(%r12), %rdx
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	callq	_pr_debug
	subq	%r14, %r13
	addq	(%r12), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	___skb_trim
LBB0_3:
	movq	(%r12), %rdi
	callq	_htons
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_ip_hdr
	movl	%ebx, (%rax)
	movq	%r12, %rdi
	callq	_ip_hdr
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ip_send_check                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nf_nat_mangle_packet: Extending packet by %u from %u bytes\n"

L_.str.1:                               ## @.str.1
	.asciz	"nf_nat_mangle_packet: Shrinking packet from %u from %u bytes\n"

	.no_dead_strip	_mangle_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mangle_contents
_mangle_contents:                       ; @mangle_contents
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x5
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	bl	_skb_is_nonlinear
	bl	_BUG_ON
	mov	x0, x19
	bl	_skb_network_header
	mov	w8, w24
	mov	w9, w23
	add	x10, x0, x8
	add	x23, x10, x9
	mov	w24, w20
	add	x0, x23, x24
	mov	w25, w21
	add	x1, x23, x25
	ldp	x11, x10, [x19, #8]
	add	x8, x9, x8
	add	x8, x8, x25
	add	x8, x8, x11
	sub	x2, x10, x8
	bl	_memmove
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	subs	w22, w20, w21
	b.ls	LBB0_2
; %bb.1:
	ldr	x2, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_pr_debug
	mov	x0, x19
	mov	x1, x22
	bl	_skb_put
	b	LBB0_3
LBB0_2:
	sub	w1, w21, w20
	ldr	x2, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x19]
	sub	x9, x24, x25
	add	x1, x9, x8
	mov	x0, x19
	bl	___skb_trim
LBB0_3:
	ldr	x0, [x19]
	bl	_htons
	mov	x20, x0
	mov	x0, x19
	bl	_ip_hdr
	str	w20, [x0]
	mov	x0, x19
	bl	_ip_hdr
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ip_send_check
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nf_nat_mangle_packet: Extending packet by %u from %u bytes\n"

l_.str.1:                               ; @.str.1
	.asciz	"nf_nat_mangle_packet: Shrinking packet from %u from %u bytes\n"

	.no_dead_strip	_mangle_contents
.subsections_via_symbols
