	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfr_lookup_addr
_pfr_lookup_addr:                       ## @pfr_lookup_addr
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_PF_RULES_ASSERT
	leaq	-32(%rbp), %rdi
	movl	$4, %esi
	callq	_bzero
	movl	4(%rbx), %eax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movl	-32(%rbp), %edi
	movl	12(%rbx), %esi
	callq	_FILLIN_SIN
	movq	8(%r15), %r15
	jmp	LBB0_5
LBB0_2:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movl	-32(%rbp), %edi
	movl	8(%rbx), %esi
	callq	_FILLIN_SIN6
	movq	(%r15), %r15
	jmp	LBB0_5
LBB0_4:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%rbx, %rdi
	callq	_ADDR_NETWORK
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pfr_prepare_network
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_rn_lookup
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_KENTRY_RNF_ROOT
	xorl	%r15d, %r15d
	testq	%rax, %rax
	cmoveq	%rbx, %r15
	jmp	LBB0_14
LBB0_8:
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	callq	_rn_match
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_KENTRY_RNF_ROOT
	xorl	%r15d, %r15d
	testq	%rax, %rax
	cmoveq	%rbx, %r15
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.10:
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	callq	_KENTRY_NETWORK
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovneq	%rcx, %r15
	jmp	LBB0_14
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.no_dead_strip	_pfr_lookup_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfr_lookup_addr
_pfr_lookup_addr:                       ; @pfr_lookup_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_PF_RULES_ASSERT
	add	x0, sp, #8
	mov	w1, #4
	bl	_bzero
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	ldr	w1, [x20, #12]
	bl	_FILLIN_SIN
	ldr	x21, [x21, #8]
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
	ldr	w1, [x20, #8]
	bl	_FILLIN_SIN6
	ldr	x21, [x21]
	b	LBB0_5
LBB0_4:
	mov	x21, #0
LBB0_5:
	mov	x0, x20
	bl	_ADDR_NETWORK
	cbz	x0, LBB0_8
; %bb.6:
	ldp	w2, w1, [x20]
	mov	x0, sp
	bl	_pfr_prepare_network
	add	x0, sp, #8
	mov	x1, sp
	mov	x2, x21
	bl	_rn_lookup
	cbz	x0, LBB0_12
; %bb.7:
	mov	x19, x0
	bl	_KENTRY_RNF_ROOT
	cmp	x0, #0
	csel	x20, x19, xzr, eq
	b	LBB0_13
LBB0_8:
	add	x0, sp, #8
	mov	x1, x21
	bl	_rn_match
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.9:
	mov	x0, x20
	bl	_KENTRY_RNF_ROOT
	cmp	x0, #0
	csel	x20, x20, xzr, eq
	cbz	w19, LBB0_13
; %bb.10:
	cbnz	x0, LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_KENTRY_NETWORK
	cmp	x0, #0
	csel	x20, x20, xzr, eq
	b	LBB0_13
LBB0_12:
	mov	x20, #0
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.no_dead_strip	_pfr_lookup_addr
.subsections_via_symbols
