	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_show_states              ## -- Begin function pfctl_show_states
	.p2align	4, 0x90
_pfctl_show_states:                     ## @pfctl_show_states
	.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
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r12d
	movq	_PF_OPT_SHOWALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	andl	%edx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	-88(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_DIOCGETSTATES@GOTPCREL(%rip), %rbx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, -88(%rbp)
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_realloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, -80(%rbp)
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %esi
	movl	%r12d, %edi
	leaq	-88(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-88(%rbp), %eax
	movq	%rax, %rcx
	addq	$24, %rcx
	movl	%r14d, %edx
	cmpq	%rdx, %rcx
	jb	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %ecx
	orl	%eax, %ecx
	je	LBB0_20
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	cmovnel	%r14d, %eax
	addl	%eax, %eax
	movl	%eax, %r14d
	jmp	LBB0_1
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movl	$-1, %r13d
	jmp	LBB0_20
LBB0_11:
	testl	%eax, %eax
	je	LBB0_19
## %bb.12:
	movq	-72(%rbp), %r12
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %r14
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_print_state
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	addq	$4, %rbx
	cmpl	-88(%rbp), %ebx
	jae	LBB0_19
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r12,%rbx), %edi
	callq	_strcmp
	testq	%rax, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	(%r12,%rbx), %r13
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	callq	_pfctl_print_title
	jmp	LBB0_17
LBB0_19:
	xorl	%r13d, %r13d
LBB0_20:
	movq	%r15, %rdi
	callq	_free
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_OPT_SHOWALL,4,2             ## @PF_OPT_SHOWALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"realloc"

	.comm	_DIOCGETSTATES,4,2              ## @DIOCGETSTATES
L_.str.1:                               ## @.str.1
	.asciz	"DIOCGETSTATES"

L_.str.2:                               ## @.str.2
	.asciz	"STATES:"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_show_states              ; -- Begin function pfctl_show_states
	.p2align	2
_pfctl_show_states:                     ; @pfctl_show_states
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _PF_OPT_SHOWALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_OPT_SHOWALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w26, w8, w2
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x19, #0
	mov	w23, #0
Lloh3:
	adrp	x27, _DIOCGETSTATES@GOTPAGE
Lloh4:
	ldr	x27, [x27, _DIOCGETSTATES@GOTPAGEOFF]
Lloh5:
	adrp	x24, l_.str@PAGE
Lloh6:
	add	x24, x24, l_.str@PAGEOFF
	str	w23, [sp, #8]
	cbz	w23, LBB0_4
LBB0_1:
	mov	x0, x19
	mov	x1, x23
	bl	_realloc
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
	mov	w0, #1
	mov	x1, x24
	bl	_err
LBB0_3:
	str	x19, [sp, #16]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	add	x2, sp, #8
	mov	x0, x22
	bl	_ioctl
	tbnz	x0, #63, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	add	x9, x8, #24
	cmp	x9, w23, uxtw
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	orr	w9, w23, w8
	cbz	w9, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w23, #0
	csel	w8, w8, w23, eq
	lsl	w23, w8, #1
	str	w23, [sp, #8]
	cbnz	w23, LBB0_1
	b	LBB0_4
LBB0_9:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	mov	w25, #-1
	b	LBB0_19
LBB0_10:
	cbz	w8, LBB0_18
; %bb.11:
	mov	x23, #0
	ldr	x24, [sp, #24]
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, x24, x23
	mov	x1, x20
	bl	_print_state
	mov	w26, #0
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp, #8]
	add	x23, x23, #4
	cmp	w23, w8
	b.hs	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x24, x23]
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_13
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	cbz	w26, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	bl	_pfctl_print_title
	b	LBB0_12
LBB0_18:
	mov	w25, #0
LBB0_19:
	mov	x0, x19
	bl	_free
	mov	x0, x25
	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
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_OPT_SHOWALL,4,2             ; @PF_OPT_SHOWALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"realloc"

	.comm	_DIOCGETSTATES,4,2              ; @DIOCGETSTATES
l_.str.1:                               ; @.str.1
	.asciz	"DIOCGETSTATES"

l_.str.2:                               ; @.str.2
	.asciz	"STATES:"

.subsections_via_symbols
