	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_show_altq                ## -- Begin function pfctl_show_altq
	.p2align	4, 0x90
_pfctl_show_altq:                       ## @pfctl_show_altq
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	$0, -48(%rbp)
	movq	_PF_OPT_SHOWALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%edx, %r12d
	leaq	-48(%rbp), %rsi
	callq	_pfctl_update_qstats
	movl	%eax, %ecx
	movl	$-1, %eax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	js	LBB0_8
## %bb.1:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	jne	LBB0_3
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_3:
	movq	-48(%rbp), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r12d, %r12d
	movl	%r15d, %edi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_pfctl_print_altq_node
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %r13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r13), %edi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_pfctl_print_title
	jmp	LBB0_13
LBB0_5:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_16
LBB0_7:
	movq	-48(%rbp), %rdi
	callq	_pfctl_free_altq_node
	xorl	%eax, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_7
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	movl	$10, %edi
	callq	_putchar
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_STAT_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sleep
	movl	%r15d, %edi
	leaq	-48(%rbp), %rsi
	callq	_pfctl_update_qstats
	cmpl	$-1, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%eax, %r13d
	movq	-48(%rbp), %r12
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_23 Depth=2
	movl	%r15d, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	_pfctl_print_altq_node
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=2
	movq	8(%r12), %r12
LBB0_23:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r12, %r12
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_23 Depth=2
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_23 Depth=2
	movl	4(%r12), %edi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_21
LBB0_17:
	movl	$-1, %eax
LBB0_8:
	addq	$24, %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.1:                               ## @.str.1
	.asciz	"ALTQ:"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_STAT_INTERVAL,4,2              ## @STAT_INTERVAL
	.comm	_PFALTQ_FLAG_IF_REMOVED,4,2     ## @PFALTQ_FLAG_IF_REMOVED
	.comm	_altqsupport,4,2                ## @altqsupport
L_str:                                  ## @str
	.asciz	"No queue in use"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_show_altq                ; -- Begin function pfctl_show_altq
	.p2align	2
_pfctl_show_altq:                       ; @pfctl_show_altq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _PF_OPT_SHOWALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_OPT_SHOWALL@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	add	x1, sp, #8
	bl	_pfctl_update_qstats
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x23, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x24, [sp, #8]
	cbnz	x24, LBB0_5
	b	LBB0_12
LBB0_3:
	mov	w0, #-1
	b	LBB0_23
LBB0_4:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	x24, [sp, #8]
	cbz	x24, LBB0_12
LBB0_5:
	and	w26, w25, w19
Lloh5:
	adrp	x25, l_.str.1@PAGE
Lloh6:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	mov	x3, x19
	bl	_pfctl_print_altq_node
	mov	w26, #0
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x24, [x24, #8]
	cbz	x24, LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24, #4]
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	w26, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	bl	_pfctl_print_title
	b	LBB0_6
LBB0_12:
	cbz	w22, LBB0_22
; %bb.13:
	cmp	w23, #1
	b.lt	LBB0_22
; %bb.14:
Lloh7:
	adrp	x24, _stdout@GOTPAGE
Lloh8:
	ldr	x24, [x24, _stdout@GOTPAGEOFF]
Lloh9:
	adrp	x25, _STAT_INTERVAL@GOTPAGE
Lloh10:
	ldr	x25, [x25, _STAT_INTERVAL@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	w22, #1
	b.lt	LBB0_22
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	mov	w0, #10
	bl	_putchar
	ldr	w0, [x24]
	bl	_fflush
	ldr	w0, [x25]
	bl	_sleep
	add	x1, sp, #8
	mov	x0, x21
	bl	_pfctl_update_qstats
	cmn	w0, #1
	b.eq	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x22, x0
	ldr	x23, [sp, #8]
	cbnz	x23, LBB0_20
	b	LBB0_15
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	mov	x3, x19
	bl	_pfctl_print_altq_node
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_15
LBB0_20:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x20, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w0, [x23, #4]
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_19
	b	LBB0_18
LBB0_22:
	ldr	x0, [sp, #8]
	bl	_pfctl_free_altq_node
	mov	w0, #0
LBB0_23:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_OPT_SHOWALL,4,2             ; @PF_OPT_SHOWALL
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"ALTQ:"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_STAT_INTERVAL,4,2              ; @STAT_INTERVAL
	.comm	_PFALTQ_FLAG_IF_REMOVED,4,2     ; @PFALTQ_FLAG_IF_REMOVED
	.comm	_altqsupport,4,2                ; @altqsupport
l_str:                                  ; @str
	.asciz	"No queue in use"

.subsections_via_symbols
