	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_show_nat                 ## -- Begin function pfctl_show_nat
	.p2align	4, 0x90
_pfctl_show_nat:                        ## @pfctl_show_nat
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_PF_OPT_SHOWALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%esi, %r12d
	leaq	-80(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	-56(%rbp), %edi
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	leaq	_pfctl_show_nat.nattype(%rip), %rcx
	movq	_DIOCGETRULES@GOTPCREL(%rip), %rdx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	cmpq	$3, %rax
	leaq	-80(%rbp), %r13
	leaq	_pfctl_show_nat.nattype(%rip), %rcx
	movq	_DIOCGETRULES@GOTPCREL(%rip), %rdx
	je	LBB0_14
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, -72(%rbp)
	movl	(%rdx), %esi
	movl	%ebx, %edi
	movq	%r13, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	-64(%rbp), %esi
	movq	_PF_OPT_VERBOSE2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r15d, %edx
	movq	_PF_OPT_NUMERIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r15d, %ecx
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_print_rule
	movl	$10, %edi
	callq	_putchar
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_pfctl_print_rule_counters
	leaq	-68(%rbp), %rdi
	callq	_pfctl_clear_pool
	incq	%r13
	xorl	%r12d, %r12d
	cmpq	%r13, -104(%rbp)                ## 8-byte Folded Reload
	movl	%r14d, %ebx
	je	LBB0_13
LBB0_7:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, -80(%rbp)
	movq	_DIOCGETRULE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	leaq	-80(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	-60(%rbp), %ecx
	movl	%ebx, %edi
	leaq	-68(%rbp), %rsi
	movq	%r13, %rdx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	callq	_pfctl_get_pool
	testq	%rax, %rax
	jne	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%ebx, %r14d
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	L_.str.2(%rip), %rdi
	callq	_pfctl_print_title
	jmp	LBB0_12
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	_warn
LBB0_4:
	movl	$-1, %eax
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @pfctl_show_nat.nattype
_pfctl_show_nat.nattype:
	.long	129                             ## 0x81
	.long	128                             ## 0x80
	.long	130                             ## 0x82

	.comm	_PF_OPT_SHOWALL,4,2             ## @PF_OPT_SHOWALL
	.comm	_DIOCGETRULES,4,2               ## @DIOCGETRULES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DIOCGETRULES"

	.comm	_DIOCGETRULE,4,2                ## @DIOCGETRULE
L_.str.1:                               ## @.str.1
	.asciz	"DIOCGETRULE"

L_.str.2:                               ## @.str.2
	.asciz	"TRANSLATION RULES:"

	.comm	_PF_OPT_VERBOSE2,4,2            ## @PF_OPT_VERBOSE2
	.comm	_PF_OPT_NUMERIC,4,2             ## @PF_OPT_NUMERIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_show_nat                 ; -- Begin function pfctl_show_nat
	.p2align	2
_pfctl_show_nat:                        ; @pfctl_show_nat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PF_OPT_SHOWALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_OPT_SHOWALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w25, w8, w1
	mov	x22, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	w0, [sp, #24]
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	mov	x28, #0
	add	x23, x22, #8
	add	x24, x22, #12
Lloh3:
	adrp	x8, _pfctl_show_nat.nattype@PAGE
Lloh4:
	add	x8, x8, _pfctl_show_nat.nattype@PAGEOFF
Lloh5:
	adrp	x9, _DIOCGETRULES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DIOCGETRULES@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	w26, [x8, x28, lsl #2]
	str	w26, [sp, #8]
	ldr	w1, [x9]
	mov	x2, sp
	mov	x0, x21
	bl	_ioctl
	cbnz	x0, LBB0_16
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x22, [sp]
	cmp	x22, #1
	b.lt	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x27, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w1, [sp, #16]
Lloh7:
	adrp	x8, _PF_OPT_VERBOSE2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PF_OPT_VERBOSE2@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w2, w8, w20
Lloh10:
	adrp	x8, _PF_OPT_NUMERIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PF_OPT_NUMERIC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w3, w8, w20
	mov	x0, x23
	bl	_print_rule
	mov	w0, #10
	bl	_putchar
	mov	x0, x23
	mov	x1, x20
	bl	_pfctl_print_rule_counters
	mov	x0, x24
	bl	_pfctl_clear_pool
	mov	w25, #0
	mov	w0, #0
	add	x27, x27, #1
	cmp	x22, x27
	b.eq	LBB0_10
LBB0_5:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x27, [sp]
Lloh13:
	adrp	x8, _DIOCGETRULE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DIOCGETRULE@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x21
	bl	_ioctl
	cbnz	x0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w3, [sp, #20]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x27
	mov	x4, x26
	mov	x5, x19
	bl	_pfctl_get_pool
	cbnz	x0, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	cbz	w25, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=2
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pfctl_print_title
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x25
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x28, x28, #1
	mov	x25, x0
	cmp	x28, #3
Lloh18:
	adrp	x8, _pfctl_show_nat.nattype@PAGE
Lloh19:
	add	x8, x8, _pfctl_show_nat.nattype@PAGEOFF
Lloh20:
	adrp	x9, _DIOCGETRULES@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DIOCGETRULES@GOTPAGEOFF]
	b.ne	LBB0_1
; %bb.11:
	mov	w0, #0
	b	LBB0_15
LBB0_12:
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_13:
	bl	_warn
LBB0_14:
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
Lloh24:
	adrp	x0, l_.str@PAGE
Lloh25:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @pfctl_show_nat.nattype
_pfctl_show_nat.nattype:
	.long	129                             ; 0x81
	.long	128                             ; 0x80
	.long	130                             ; 0x82

	.comm	_PF_OPT_SHOWALL,4,2             ; @PF_OPT_SHOWALL
	.comm	_DIOCGETRULES,4,2               ; @DIOCGETRULES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DIOCGETRULES"

	.comm	_DIOCGETRULE,4,2                ; @DIOCGETRULE
l_.str.1:                               ; @.str.1
	.asciz	"DIOCGETRULE"

l_.str.2:                               ; @.str.2
	.asciz	"TRANSLATION RULES:"

	.comm	_PF_OPT_VERBOSE2,4,2            ; @PF_OPT_VERBOSE2
	.comm	_PF_OPT_NUMERIC,4,2             ; @PF_OPT_NUMERIC
.subsections_via_symbols
