	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_set_ip_frag_rule
_niu_set_ip_frag_rule:                  ## @niu_set_ip_frag_rule
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movl	(%rdi), %ecx
	movq	(%rax), %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %r13
	leaq	(,%r13,2), %r14
	addq	%r13, %r14
	leaq	(%rbx,%r14,8), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_TCAM_V4KEY1_NOPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx,%r14,8), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%rbx,%r14,8), %rcx
	movq	%rax, 8(%rcx)
	movq	_TCAM_ASSOCDATA_TRES_USE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx,%r14,8)
	movq	8(%rbx,%r14,8), %rcx
	movq	16(%rbx,%r14,8), %rdx
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_tcam_write
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_tcam_assoc_write
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, 4(%rbx,%r14,8)
	incl	4(%r12)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCAM_V4KEY1_NOPORT,8,3         ## @TCAM_V4KEY1_NOPORT
	.comm	_TCAM_ASSOCDATA_TRES_USE_OFFSET,4,2 ## @TCAM_ASSOCDATA_TRES_USE_OFFSET
	.comm	_TCAM_ASSOCDATA_OFFSET_SHIFT,4,2 ## @TCAM_ASSOCDATA_OFFSET_SHIFT
	.no_dead_strip	_niu_set_ip_frag_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_set_ip_frag_rule
_niu_set_ip_frag_rule:                  ; @niu_set_ip_frag_rule
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	w21, [x0]
	ldr	x22, [x8]
	mov	w8, #24
	smaddl	x20, w21, w8, x22
	mov	x0, x20
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _TCAM_V4KEY1_NOPORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCAM_V4KEY1_NOPORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	str	x8, [x9, #8]
	ldr	x9, [x20, #8]
	str	x8, [x9, #8]
Lloh3:
	adrp	x8, _TCAM_ASSOCDATA_TRES_USE_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCAM_ASSOCDATA_TRES_USE_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	ldp	x3, x2, [x20, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_tcam_write
	cbnz	w0, LBB0_3
; %bb.1:
	sxtw	x21, w21
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_tcam_assoc_write
	cbnz	w0, LBB0_3
; %bb.2:
	mov	w8, #24
	madd	x8, x21, x8, x22
	mov	w9, #1
	str	w9, [x8, #4]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TCAM_V4KEY1_NOPORT,8,3         ; @TCAM_V4KEY1_NOPORT
	.comm	_TCAM_ASSOCDATA_TRES_USE_OFFSET,4,2 ; @TCAM_ASSOCDATA_TRES_USE_OFFSET
	.comm	_TCAM_ASSOCDATA_OFFSET_SHIFT,4,2 ; @TCAM_ASSOCDATA_OFFSET_SHIFT
	.no_dead_strip	_niu_set_ip_frag_rule
.subsections_via_symbols
