	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pf_get_pool
_pf_get_pool:                           ## @pf_get_pool
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	callq	_pf_find_ruleset
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_pf_get_ruleset_number
	movq	_PF_RULESET_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_9
## %bb.2:
	movq	16(%rbp), %rcx
	testq	%r13, %r13
	je	LBB0_11
## %bb.3:
	cltq
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rcx
	movq	%rax, %rdx
	shlq	$5, %rdx
	cmpq	%r12, 16(%rcx,%rdx)
	jne	LBB0_9
LBB0_5:
	shlq	$5, %rax
	movq	(%rbx), %rcx
	movl	24(%rcx,%rax), %edi
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
LBB0_6:
	movq	_pf_rulequeue@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TAILQ_LAST
	jmp	LBB0_7
LBB0_11:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:
	movq	(%rbx), %rcx
	movslq	%eax, %rdx
	shlq	$5, %rdx
	cmpq	%r12, (%rcx,%rdx)
	jne	LBB0_9
LBB0_13:
	cltq
	shlq	$5, %rax
	movq	(%rbx), %rcx
	movl	8(%rcx,%rax), %edi
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_6
LBB0_14:
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	_entries@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, (%rax)
	je	LBB0_7
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_TAILQ_NEXT
	testq	%rax, %rax
	jne	LBB0_16
LBB0_21:
	xorl	%eax, %eax
LBB0_7:
	leaq	8(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%rax, %rcx
	jmp	LBB0_10
LBB0_9:
	xorl	%ecx, %ecx
LBB0_10:
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_RULESET_MAX,4,2             ## @PF_RULESET_MAX
	.comm	_pf_rulequeue,4,2               ## @pf_rulequeue
	.comm	_entries,4,2                    ## @entries
	.no_dead_strip	_pf_get_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pf_get_pool
_pf_get_pool:                           ; @pf_get_pool
	.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
	mov	x23, x6
	mov	x24, x5
	mov	x20, x4
	mov	x19, x3
	mov	x25, x2
	mov	x22, x1
	bl	_pf_find_ruleset
	cbz	x0, LBB0_16
; %bb.1:
	mov	x21, x0
	mov	x0, x25
	bl	_pf_get_ruleset_number
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _PF_RULESET_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_RULESET_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_15
; %bb.2:
	cbz	x24, LBB0_8
; %bb.3:
	cbz	x23, LBB0_5
; %bb.4:
	ldr	x8, [x21]
	mov	x9, x0
	sxtw	x9, w9
	add	x8, x8, x9, lsl #5
	ldr	x8, [x8, #16]
	cmp	x8, x22
	b.ne	LBB0_15
LBB0_5:
	ldr	x8, [x21]
	sxtw	x9, w0
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #24]
	cbz	x20, LBB0_11
LBB0_6:
Lloh3:
	adrp	x8, _pf_rulequeue@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pf_rulequeue@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_TAILQ_LAST
LBB0_7:
	add	x8, x0, #8
	cmp	x0, #0
	csel	x0, xzr, x8, eq
	b	LBB0_16
LBB0_8:
	cbz	x23, LBB0_10
; %bb.9:
	ldr	x8, [x21]
	mov	x9, x0
	sbfiz	x9, x9, #5, #32
	ldr	x8, [x8, x9]
	cmp	x8, x22
	b.ne	LBB0_15
LBB0_10:
	ldr	x8, [x21]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x9, w0
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #8]
	cbnz	x20, LBB0_6
LBB0_11:
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_7
; %bb.12:
Lloh6:
	adrp	x20, _entries@GOTPAGE
Lloh7:
	ldr	x20, [x20, _entries@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x20]
	bl	_TAILQ_NEXT
	cbnz	x0, LBB0_13
	b	LBB0_7
LBB0_15:
	mov	x0, #0
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_RULESET_MAX,4,2             ; @PF_RULESET_MAX
	.comm	_pf_rulequeue,4,2               ; @pf_rulequeue
	.comm	_entries,4,2                    ; @entries
	.no_dead_strip	_pf_get_pool
.subsections_via_symbols
