	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mangle_packet
_mangle_packet:                         ## @mangle_packet
	.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
	movq	%r9, %r13
	movl	%r8d, %r12d
	movl	%ecx, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	16(%rbp), %r15d
	leaq	-44(%rbp), %rsi
	callq	_nf_ct_get
	movl	-44(%rbp), %edx
	movl	%r15d, (%rsp)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	movq	%r13, %r9
	callq	_nf_nat_mangle_udp_packet
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %r14
	movq	%rbx, %rdi
	callq	_ip_hdrlen
	cltq
	addq	%r14, %rax
	addq	$4, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	subl	%r12d, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, (%rax)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mangle_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mangle_packet
_mangle_packet:                         ; @mangle_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x6
	mov	x24, x5
	mov	x20, x4
	mov	x25, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x1, sp, #12
	bl	_nf_ct_get
	mov	x1, x0
	ldr	w2, [sp, #12]
	mov	x0, x23
	mov	x3, x25
	mov	x4, x20
	mov	x5, x24
	mov	x6, x19
	bl	_nf_nat_mangle_udp_packet
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x24, [x23]
	mov	x0, x23
	bl	_ip_hdrlen
	add	x8, x24, w0, sxtw
	add	x8, x8, #4
	str	x8, [x22]
	ldr	w8, [x21]
	sub	w9, w19, w20
	add	w8, w9, w8
	str	w8, [x21]
	mov	w0, #1
LBB0_2:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mangle_packet
.subsections_via_symbols
