	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nf_nat_sack_adjust
_nf_nat_sack_adjust:                    ## @nf_nat_sack_adjust
	.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	%ecx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_nfct_nat
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ip_hdrlen
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_ip_hdrlen
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r14), %ecx
	leal	(%rax,%rcx,4), %r13d
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_skb_make_writable
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	addl	$4, %ebx
	movl	%r15d, %edi
	callq	_CTINFO2DIR
	movl	$1, %r15d
	cmpl	%r13d, %ebx
	jae	LBB0_14
## %bb.2:
	xorl	%r9d, %r9d
	testl	%eax, %eax
	sete	%r9b
	movq	_TCPOPT_SACK@GOTPCREL(%rip), %r8
	movq	_TCPOLEN_SACK_PERBLOCK@GOTPCREL(%rip), %r10
	shlq	$2, %r9
	movl	$1, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	%edx, %ebx
	cmpl	%r13d, %ebx
	jae	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r14
	movl	%ebx, %ebx
	movzbl	(%r14,%rbx), %esi
	movl	$1, %edx
	cmpb	$-128, %sil
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$-127, %sil
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	1(%rbx), %eax
	cmpl	%r13d, %eax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	1(%r14,%rbx), %eax
	movzbl	%al, %edx
	leal	(%rbx,%rdx), %ecx
	cmpl	%r13d, %ecx
	ja	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$2, %al
	jb	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	(%r8), %sil
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r10), %esi
	leal	2(%rsi), %edi
	cmpl	%edx, %edi
	ja	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	addb	$-2, %al
	movzbl	%al, %eax
	divb	%sil
	movzbl	%ah, %eax
	testb	%al, %al
	jne	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leal	2(%rbx), %edx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	addq	%r9, %r8
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	callq	_sack_adjust
	movq	_TCPOLEN_SACK_PERBLOCK@GOTPCREL(%rip), %r10
	movq	_TCPOPT_SACK@GOTPCREL(%rip), %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movzbl	1(%r14,%rbx), %edx
	jmp	LBB0_3
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPOPT_SACK,1,0                ## @TCPOPT_SACK
	.comm	_TCPOLEN_SACK_PERBLOCK,1,0      ## @TCPOLEN_SACK_PERBLOCK
	.no_dead_strip	_nf_nat_sack_adjust
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nf_nat_sack_adjust
_nf_nat_sack_adjust:                    ; @nf_nat_sack_adjust
	.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	x23, x3
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_nfct_nat
	mov	x21, x0
	mov	x0, x20
	bl	_ip_hdrlen
	mov	x24, x0
	mov	x0, x20
	bl	_ip_hdrlen
	ldr	w8, [x19]
	add	w22, w0, w8, lsl #2
	mov	x0, x20
	mov	x1, x22
	bl	_skb_make_writable
	cbz	w0, LBB0_14
; %bb.1:
	add	w24, w24, #4
	mov	x0, x23
	bl	_CTINFO2DIR
	cmp	w24, w22
	b.hs	LBB0_12
; %bb.2:
	cmp	w0, #0
	cset	w23, eq
Lloh0:
	adrp	x25, _TCPOPT_SACK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TCPOPT_SACK@GOTPAGEOFF]
Lloh2:
	adrp	x26, _TCPOLEN_SACK_PERBLOCK@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TCPOLEN_SACK_PERBLOCK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w0, w24
	cmp	w24, w22
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x27, x8, w24, uxtw
	ldrb	w8, [x27]
	mov	w0, #1
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #129
	b.eq	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w24, #1
	cmp	w9, w22
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w0, [x27, #1]
	add	w3, w24, w0
	cmp	w3, w22
	ccmp	w0, #2, #0, ls
	b.lo	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26]
	add	w9, w8, #2
	cmp	w9, w0
	b.hi	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w9, w0, #2
	and	w9, w9, #0xff
	udiv	w10, w9, w8
	msub	w8, w10, w8, w9
	cbnz	w8, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w2, w24, #2
	ldr	x8, [x21]
	add	x4, x8, x23, lsl #2
	mov	x0, x20
	mov	x1, x19
	bl	_sack_adjust
	ldrb	w0, [x27, #1]
	b	LBB0_3
LBB0_12:
	mov	w0, #1
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPOPT_SACK,1,0                ; @TCPOPT_SACK
	.comm	_TCPOLEN_SACK_PERBLOCK,1,0      ; @TCPOLEN_SACK_PERBLOCK
	.no_dead_strip	_nf_nat_sack_adjust
.subsections_via_symbols
