	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_zero                      ## -- Begin function ipfw_zero
	.p2align	4, 0x90
_ipfw_zero:                             ## @ipfw_zero
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdx
	movq	_IP_FW_XRESETLOG@GOTPCREL(%rip), %rcx
	cmoveq	_IP_FW_XZERO@GOTPCREL(%rip), %rcx
	cmoveq	%rax, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %r13d
	cmpl	$1, %edi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	_EX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %r12d
	movl	$1, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx,%r15,8), %rdx
	leaq	L_.str.12(%rip), %rsi
	callq	_errx
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpl	%r15d, %r12d
	je	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r15,8), %rax
	movsbl	(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r15,8), %rdi
	xorl	%esi, %esi
	movl	$65535, %edx                    ## imm = 0xFFFF
	leaq	-96(%rbp), %rcx
	callq	_strtonum
	movl	%eax, %r14d
	cmpq	$0, -96(%rbp)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx,%r15,8), %rdx
	leaq	L_.str.6(%rip), %rsi
	callq	_errx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	%r14d, -88(%rbp)
	movl	%r14d, -84(%rbp)
	movl	-64(%rbp), %eax
	movq	_IPFW_RCFLAG_RANGE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -64(%rbp)
	movq	_co@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%rcx
	movq	%rcx, -80(%rbp)
	movq	_IPFW_RCFLAG_SET@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -64(%rbp)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	leaq	-88(%rbp), %rsi
	callq	_do_range_cmd
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.7(%rip), %rdi
	movl	%r14d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_warn
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -72(%rbp)
	je	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_co@GOTPCREL(%rip), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_IP_FW_XZERO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	leaq	L_.str.11(%rip), %rdx
	leaq	L_.str.10(%rip), %rax
	cmoveq	%rax, %rdx
	leaq	L_.str.9(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_19
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.8(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_15
LBB0_20:
	movq	_EX_OK@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	cmpl	(%rax), %edi
	je	LBB0_21
## %bb.22:
	callq	_exit
LBB0_9:
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_IPFW_RCFLAG_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_do_range_cmd
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movq	_EX_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_err
LBB0_11:
	movq	_co@GOTPCREL(%rip), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_21
## %bb.12:
	movq	_IP_FW_XZERO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RESETLOG"

L_.str.1:                               ## @.str.1
	.asciz	"ZERO"

	.comm	_EX_OK,4,2                      ## @EX_OK
	.comm	_IP_FW_XRESETLOG,4,2            ## @IP_FW_XRESETLOG
	.comm	_IP_FW_XZERO,4,2                ## @IP_FW_XZERO
	.comm	_IPFW_RCFLAG_ALL,4,2            ## @IPFW_RCFLAG_ALL
	.comm	_EX_UNAVAILABLE,4,2             ## @EX_UNAVAILABLE
L_.str.2:                               ## @.str.2
	.asciz	"setsockopt(IP_FW_X%s)"

	.comm	_co,16,3                        ## @co
L_.str.3:                               ## @.str.3
	.asciz	"%s.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Accounting cleared"

L_.str.5:                               ## @.str.5
	.asciz	"Logging counts reset"

	.comm	_EX_DATAERR,4,2                 ## @EX_DATAERR
L_.str.6:                               ## @.str.6
	.asciz	"invalid rule number %s\n"

	.comm	_IPFW_RCFLAG_RANGE,4,2          ## @IPFW_RCFLAG_RANGE
	.comm	_IPFW_RCFLAG_SET,4,2            ## @IPFW_RCFLAG_SET
L_.str.7:                               ## @.str.7
	.asciz	"rule %u: setsockopt(IP_FW_X%s)"

L_.str.8:                               ## @.str.8
	.asciz	"Entry %d not found\n"

L_.str.9:                               ## @.str.9
	.asciz	"Entry %d %s.\n"

L_.str.10:                              ## @.str.10
	.asciz	"cleared"

L_.str.11:                              ## @.str.11
	.asciz	"logging count reset"

	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
L_.str.12:                              ## @.str.12
	.asciz	"invalid rule number ``%s''"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_zero                      ; -- Begin function ipfw_zero
	.p2align	2
_ipfw_zero:                             ; @ipfw_zero
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w2, #0
Lloh4:
	adrp	x10, _IP_FW_XRESETLOG@GOTPAGE
Lloh5:
	ldr	x10, [x10, _IP_FW_XRESETLOG@GOTPAGEOFF]
	csel	x20, x9, x8, eq
Lloh6:
	adrp	x8, _IP_FW_XZERO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IP_FW_XZERO@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	ldr	w19, [x8]
	subs	w24, w0, #1
	b.eq	LBB0_17
; %bb.1:
Lloh8:
	adrp	x8, _EX_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EX_OK@GOTPAGEOFF]
	add	x23, x1, #8
Lloh10:
	ldr	w22, [x8]
Lloh11:
	adrp	x28, _IPFW_RCFLAG_RANGE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _IPFW_RCFLAG_RANGE@GOTPAGEOFF]
Lloh13:
	adrp	x21, _co@GOTPAGE
Lloh14:
	ldr	x21, [x21, _co@GOTPAGEOFF]
Lloh15:
	adrp	x25, _EX_UNAVAILABLE@GOTPAGE
Lloh16:
	ldr	x25, [x25, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh17:
	adrp	x26, l_.str.6@PAGE
Lloh18:
	add	x26, x26, l_.str.6@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	x2, [x23]
Lloh22:
	adrp	x1, l_.str.12@PAGE
Lloh23:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_errx
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #8
	subs	w24, w24, #1
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldrsb	w0, [x8]
	bl	_isdigit
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x23]
	add	x3, sp, #24
	mov	w1, #0
	mov	w2, #65535
	bl	_strtonum
	mov	x27, x0
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh24:
	adrp	x8, _EX_DATAERR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EX_DATAERR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	x2, [x23]
	mov	x1, x26
	bl	_errx
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	stp	w27, w27, [sp, #32]
	ldr	w8, [x28]
	ldr	w9, [sp, #56]
	orr	w8, w9, w8
	str	w8, [sp, #56]
	ldr	x9, [x21]
	cbz	x9, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x9, x9, #1
	str	x9, [sp, #40]
Lloh27:
	adrp	x9, _IPFW_RCFLAG_SET@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IPFW_RCFLAG_SET@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #56]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #32
	mov	x0, x19
	bl	_do_range_cmd
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x27
	mov	x2, x20
	bl	_warn
	ldr	w22, [x25]
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x8, _IP_FW_XZERO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IP_FW_XZERO@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w19, w8
Lloh35:
	adrp	x8, l_.str.11@PAGE
Lloh36:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh37:
	adrp	x9, l_.str.10@PAGE
Lloh38:
	add	x9, x9, l_.str.10@PAGEOFF
	csel	x8, x9, x8, eq
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	stp	x27, x8, [sp]
Lloh39:
	adrp	x0, l_.str.9@PAGE
Lloh40:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x27, [sp]
Lloh41:
	adrp	x0, l_.str.8@PAGE
Lloh42:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	w22, [x25]
	b	LBB0_3
LBB0_15:
Lloh43:
	adrp	x8, _EX_OK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EX_OK@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_21
; %bb.16:
	mov	x0, x22
	bl	_exit
LBB0_17:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh46:
	adrp	x8, _IPFW_RCFLAG_ALL@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IPFW_RCFLAG_ALL@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	add	x1, sp, #32
	mov	x0, x19
	bl	_do_range_cmd
	tbz	x0, #63, LBB0_19
; %bb.18:
Lloh49:
	adrp	x8, _EX_UNAVAILABLE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EX_UNAVAILABLE@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_err
LBB0_19:
Lloh54:
	adrp	x8, _co@GOTPAGE
Lloh55:
	ldr	x8, [x8, _co@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_21
; %bb.20:
Lloh57:
	adrp	x8, _IP_FW_XZERO@GOTPAGE
Lloh58:
	ldr	x8, [x8, _IP_FW_XZERO@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
Lloh60:
	adrp	x9, l_.str.5@PAGE
Lloh61:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh62:
	adrp	x10, l_.str.4@PAGE
Lloh63:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w19, w8
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh64:
	adrp	x0, l_.str.3@PAGE
Lloh65:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RESETLOG"

l_.str.1:                               ; @.str.1
	.asciz	"ZERO"

	.comm	_EX_OK,4,2                      ; @EX_OK
	.comm	_IP_FW_XRESETLOG,4,2            ; @IP_FW_XRESETLOG
	.comm	_IP_FW_XZERO,4,2                ; @IP_FW_XZERO
	.comm	_IPFW_RCFLAG_ALL,4,2            ; @IPFW_RCFLAG_ALL
	.comm	_EX_UNAVAILABLE,4,2             ; @EX_UNAVAILABLE
l_.str.2:                               ; @.str.2
	.asciz	"setsockopt(IP_FW_X%s)"

	.comm	_co,16,3                        ; @co
l_.str.3:                               ; @.str.3
	.asciz	"%s.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Accounting cleared"

l_.str.5:                               ; @.str.5
	.asciz	"Logging counts reset"

	.comm	_EX_DATAERR,4,2                 ; @EX_DATAERR
l_.str.6:                               ; @.str.6
	.asciz	"invalid rule number %s\n"

	.comm	_IPFW_RCFLAG_RANGE,4,2          ; @IPFW_RCFLAG_RANGE
	.comm	_IPFW_RCFLAG_SET,4,2            ; @IPFW_RCFLAG_SET
l_.str.7:                               ; @.str.7
	.asciz	"rule %u: setsockopt(IP_FW_X%s)"

l_.str.8:                               ; @.str.8
	.asciz	"Entry %d not found\n"

l_.str.9:                               ; @.str.9
	.asciz	"Entry %d %s.\n"

l_.str.10:                              ; @.str.10
	.asciz	"cleared"

l_.str.11:                              ; @.str.11
	.asciz	"logging count reset"

	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
l_.str.12:                              ; @.str.12
	.asciz	"invalid rule number ``%s''"

.subsections_via_symbols
