	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_rules                     ## -- Begin function list_rules
	.p2align	4, 0x90
_list_rules:                            ## @list_rules
	.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)
	movq	_BUFSIZ@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_bsde_get_rule_slots
	movl	%eax, %r14d
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movq	%r12, %rdx
	callq	_errx
LBB0_2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_bsde_get_rule_count
	movl	%eax, %ebx
	cmpl	$-1, %eax
	movq	%r13, %r15
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	movq	%r12, %rdx
	callq	_errx
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printf
	testl	%r14d, %r14d
	jle	LBB0_14
## %bb.5:
	leaq	-56(%rbp), %rbx
	xorl	%r13d, %r13d
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_warnx
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%r13d
	cmpl	%r13d, %r14d
	je	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_bsde_get_rule
	cmpl	$-2, %eax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r12
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_bsde_rule_to_string
	cmpl	$-1, %eax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_warnx
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r15
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	leaq	-56(%rbp), %rbx
	jmp	LBB0_13
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get rule slots; mac_bsdextended.ko may not be loaded"

L_.str.1:                               ## @.str.1
	.asciz	"bsde_get_rule_slots: %s"

L_.str.2:                               ## @.str.2
	.asciz	"bsde_get_rule_count: %s"

L_.str.3:                               ## @.str.3
	.asciz	"%d slots, %d rules\n"

L_.str.4:                               ## @.str.4
	.asciz	"rule %d: %s"

L_.str.5:                               ## @.str.5
	.asciz	"unable to translate rule %d to string"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_list_rules                     ; -- Begin function list_rules
	.p2align	2
_list_rules:                            ; @list_rules
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	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, #-72]
Lloh3:
	adrp	x26, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x26, [x26, _BUFSIZ@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	x9, x0
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x0, #15
	and	x12, x9, #0x1fffffff0
	sub	x19, x8, x12
	mov	sp, x19
	mov	x9, x0
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x20, x8, x12
	mov	sp, x20
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x19
	bl	_bsde_get_rule_slots
	mov	x21, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_2:
	ldr	w0, [x26]
	mov	x1, x19
	bl	_bsde_get_rule_count
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_4:
	str	x22, [sp, #-16]!
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_printf
	add	sp, sp, #16
	cmp	w21, #1
	b.lt	LBB0_15
; %bb.5:
	mov	w22, #0
Lloh17:
	adrp	x23, l_.str.4@PAGE
Lloh18:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh19:
	adrp	x24, l_.str.5@PAGE
Lloh20:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh21:
	adrp	x25, l_.str.6@PAGE
Lloh22:
	add	x25, x25, l_.str.6@PAGEOFF
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_10 Depth=1
	stp	x22, x19, [sp, #-16]!
	mov	x0, x23
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_warnx
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	sp, sp, #16
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #1
	cmp	w21, w22
	b.eq	LBB0_15
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x26]
	sub	x1, x29, #80
	mov	x0, x22
	mov	x3, x19
	bl	_bsde_get_rule
	cmn	w0, #2
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [x26]
	sub	x0, x29, #80
	mov	x1, x20
	bl	_bsde_rule_to_string
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x20, [sp, #-16]!
	mov	x0, x25
	mov	x1, x22
	bl	_printf
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, x22
	str	x8, [sp, #-16]!
	mov	x0, x24
	b	LBB0_7
LBB0_15:
	ldur	x8, [x29, #-72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get rule slots; mac_bsdextended.ko may not be loaded"

l_.str.1:                               ; @.str.1
	.asciz	"bsde_get_rule_slots: %s"

l_.str.2:                               ; @.str.2
	.asciz	"bsde_get_rule_count: %s"

l_.str.3:                               ; @.str.3
	.asciz	"%d slots, %d rules\n"

l_.str.4:                               ; @.str.4
	.asciz	"rule %d: %s"

l_.str.5:                               ; @.str.5
	.asciz	"unable to translate rule %d to string"

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

.subsections_via_symbols
