	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_get_pool                 ## -- Begin function pfctl_get_pool
	.p2align	4, 0x90
_pfctl_get_pool:                        ## @pfctl_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r13d
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	-56(%rbp), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	%r13d, -96(%rbp)
	movq	%r14, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movq	_DIOCGETADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	leaq	-96(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	callq	_warn
	movl	$-1, %eax
LBB0_11:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	-88(%rbp), %rbx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_TAILQ_INIT
	testq	%rbx, %rbx
	movl	$0, %eax
	jle	LBB0_11
## %bb.4:
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-80(%rbp), %eax
	movl	%eax, (%r13)
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_TAILQ_INSERT_TAIL
	incq	%r14
	cmpq	%r14, %rbx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, -88(%rbp)
	movq	_DIOCGETADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	leaq	-96(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_err
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_DIOCGETADDRS,4,2               ## @DIOCGETADDRS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DIOCGETADDRS"

	.comm	_DIOCGETADDR,4,2                ## @DIOCGETADDR
L_.str.1:                               ## @.str.1
	.asciz	"DIOCGETADDR"

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

	.comm	_entries,4,2                    ## @entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_get_pool                 ; -- Begin function pfctl_get_pool
	.p2align	2
_pfctl_get_pool:                        ; @pfctl_get_pool
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w0, [sp, #40]
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	str	w22, [sp]
	stp	x23, x24, [sp, #24]
Lloh0:
	adrp	x8, _DIOCGETADDRS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIOCGETADDRS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x20
	bl	_ioctl
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x21
	bl	_warn
	mov	w0, #-1
	b	LBB0_10
LBB0_3:
	ldr	x24, [sp, #8]
	mov	x0, x19
	bl	_TAILQ_INIT
	cmp	x24, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x25, #0
Lloh5:
	adrp	x26, _DIOCGETADDR@GOTPAGE
Lloh6:
	ldr	x26, [x26, _DIOCGETADDR@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh9:
	adrp	x27, _entries@GOTPAGE
Lloh10:
	ldr	x27, [x27, _entries@GOTPAGEOFF]
Lloh11:
	adrp	x22, l_.str.2@PAGE
Lloh12:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #16]
	str	w8, [x23]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x23
	bl	_TAILQ_INSERT_TAIL
	add	x25, x25, #1
	cmp	x24, x25
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	x25, [sp, #8]
	ldr	w1, [x26]
	mov	x2, sp
	mov	x0, x20
	bl	_ioctl
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	mov	x23, x0
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	mov	x1, x22
	bl	_err
	b	LBB0_5
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DIOCGETADDRS,4,2               ; @DIOCGETADDRS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DIOCGETADDRS"

	.comm	_DIOCGETADDR,4,2                ; @DIOCGETADDR
l_.str.1:                               ; @.str.1
	.asciz	"DIOCGETADDR"

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

	.comm	_entries,4,2                    ; @entries
.subsections_via_symbols
