	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MaintainAddIpTablesEntryForNativeStack ## -- Begin function MaintainAddIpTablesEntryForNativeStack
	.p2align	4, 0x90
_MaintainAddIpTablesEntryForNativeStack: ## @MaintainAddIpTablesEntryForNativeStack
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_2
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.9:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	4(%rbx), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_8
## %bb.3:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	incq	%r12
	movl	4(%rbx), %edi
	callq	_LIST_NUM
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	callq	_LIST_DATA
	movq	%rax, %r14
	movl	(%rax), %ecx
	movl	12(%rax), %edi
	leaq	8(%rax), %r13
	leaq	4(%rax), %rbx
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_GetCurrentIpTableLineNumber
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	12(%r14), %ecx
	movl	16(%r14), %r8d
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str(%rip), %rdx
	callq	_Format
	movq	%r15, %rdi
	callq	_system
	movl	(%r14), %ecx
	movl	12(%r14), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_GetCurrentIpTableLineNumber
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_Debug
	movl	$1, %r15d
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_Debug
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_8
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iptables -I %s %s"

L_.str.1:                               ## @.str.1
	.asciz	"Run \"%s\" failed.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Run \"%s\" ok.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MaintainAddIpTablesEntryForNativeStack ; -- Begin function MaintainAddIpTablesEntryForNativeStack
	.p2align	2
_MaintainAddIpTablesEntryForNativeStack: ; @MaintainAddIpTablesEntryForNativeStack
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_5
LBB0_2:
	mov	w20, #0
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.4:
	mov	x0, x20
	sub	sp, x29, #80
	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
LBB0_5:
	ldr	w0, [x19, #4]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.6:
	mov	x21, #0
	mov	w20, #0
Lloh6:
	adrp	x28, _MAX_PATH@GOTPAGE
Lloh7:
	ldr	x28, [x28, _MAX_PATH@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #1
	ldr	w0, [x19, #4]
	bl	_LIST_NUM
	cmp	x21, x0
	b.ge	LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_LIST_DATA
	mov	x26, x0
	ldr	w0, [x0, #12]
	add	x24, x26, #8
	add	x25, x26, #4
	ldr	w3, [x26]
	mov	x1, x24
	mov	x2, x25
	bl	_GetCurrentIpTableLineNumber
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, sp
	ldr	w1, [x28]
	mov	x9, x1
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x27, x8, x9
	mov	sp, x27
	ldp	w3, w4, [x26, #12]
	mov	x0, x27
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x22
	bl	_Format
	mov	x0, x27
	bl	_system
	ldr	w0, [x26, #12]
	ldr	w3, [x26]
	mov	x1, x24
	mov	x2, x25
	bl	_GetCurrentIpTableLineNumber
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x27
	bl	_Debug
	mov	w20, #1
	mov	sp, x23
	b	LBB0_7
LBB0_11:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x27
	bl	_Debug
	mov	w8, #1
	str	w8, [x19]
	mov	sp, x23
	b	LBB0_3
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iptables -I %s %s"

l_.str.1:                               ; @.str.1
	.asciz	"Run \"%s\" failed.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Run \"%s\" ok.\n"

.subsections_via_symbols
