	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcpmss_tg4
_tcpmss_tg4:                            ## @tcpmss_tg4
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_ip_hdr
	movq	%rax, %r15
	movl	(%r14), %r14d
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tcpmss_reverse_mtu
	movl	(%r15), %ecx
	shll	$2, %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	$16, %r8d
	callq	_tcpmss_mangle_packet
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_XT_CONTINUE@GOTPCREL(%rip), %r15
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_ip_hdr
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_ntohs
	movl	%r14d, %edi
	addq	%rax, %rdi
	callq	_htons
	movl	%eax, %r14d
	leaq	8(%rbx), %rdi
	movl	4(%rbx), %esi
	movl	%eax, %edx
	callq	_csum_replace2
	movl	%r14d, 4(%rbx)
	jmp	LBB0_4
LBB0_1:
	movq	_NF_DROP@GOTPCREL(%rip), %r15
LBB0_4:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.comm	_XT_CONTINUE,4,2                ## @XT_CONTINUE
	.no_dead_strip	_tcpmss_tg4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcpmss_tg4
_tcpmss_tg4:                            ; @tcpmss_tg4
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_ip_hdr
	mov	x21, x0
	ldr	w20, [x20]
Lloh0:
	adrp	x8, _PF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tcpmss_reverse_mtu
	mov	x2, x0
	ldr	w8, [x21]
	lsl	w3, w8, #2
	mov	x0, x19
	mov	x1, x20
	mov	w4, #16
	bl	_tcpmss_mangle_packet
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ip_hdr
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_ntohs
	add	x0, x0, w20, uxtw
	bl	_htons
	mov	x20, x0
	add	x0, x19, #8
	ldr	w1, [x19, #4]
	mov	x2, x20
	bl	_csum_replace2
	str	w20, [x19, #4]
LBB0_3:
Lloh3:
	adrp	x8, _XT_CONTINUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XT_CONTINUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _NF_DROP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NF_DROP@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.comm	_XT_CONTINUE,4,2                ; @XT_CONTINUE
	.no_dead_strip	_tcpmss_tg4
.subsections_via_symbols
