	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_opt_table                  ## -- Begin function add_opt_table
	.p2align	4, 0x90
_add_opt_table:                         ## @add_opt_table
	.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
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	cmpq	$0, (%rsi)
	jne	LBB0_5
## %bb.1:
	movl	$1, %edi
	movl	$24, %esi
	callq	_calloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movq	(%r13), %rbx
	movq	16(%rbx), %rax
LBB0_4:
	movq	_PFRB_ADDRS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_SIMPLEQ_INIT
	movq	(%r13), %rax
	movl	8(%rax), %edi
	movq	_PF_OPT_TABLE_PREFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	_add_opt_table.tablenum(%rip), %r8d
	leal	1(%r8), %eax
	movl	%eax, _add_opt_table.tablenum(%rip)
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_snprintf
	movq	(%r13), %rax
	movl	8(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUG
LBB0_5:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	%r12d, -48(%rbp)
	movq	(%r15), %rax
	movq	%rax, -56(%rbp)
	movq	(%r13), %rax
	movq	16(%rax), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_append_addr_host
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	callq	_warn
	movl	$1, %ebx
	jmp	LBB0_15
LBB0_7:
	movq	_PF_OPT_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_13
## %bb.8:
	movl	$1, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_10:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_12:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r13), %rdi
	addq	$12, %rdi
	movq	_entries@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_SIMPLEQ_INSERT_TAIL
LBB0_13:
	movq	(%r13), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	_TABLE_THRESHOLD@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.14:
	movl	8(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DEBUG
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_add_opt_table.tablenum,4,2 ## @add_opt_table.tablenum
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calloc"

	.comm	_PFRB_ADDRS,4,2                 ## @PFRB_ADDRS
L_.str.1:                               ## @.str.1
	.asciz	"%s%d"

	.comm	_PF_OPT_TABLE_PREFIX,8,3        ## @PF_OPT_TABLE_PREFIX
L_.str.2:                               ## @.str.2
	.asciz	"creating table <%s>"

L_.str.3:                               ## @.str.3
	.asciz	"failed to add host"

	.comm	_PF_OPT_VERBOSE,4,2             ## @PF_OPT_VERBOSE
L_.str.4:                               ## @.str.4
	.asciz	"malloc"

	.comm	_entries,4,2                    ## @entries
	.comm	_TABLE_THRESHOLD,8,3            ## @TABLE_THRESHOLD
L_.str.5:                               ## @.str.5
	.asciz	"table <%s> now faster than skip steps"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_opt_table                  ; -- Begin function add_opt_table
	.p2align	2
_add_opt_table:                         ; @add_opt_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	w0, #1
	mov	w1, #24
	bl	_calloc
	str	x0, [x19]
	cbz	x0, LBB0_3
; %bb.2:
	mov	x23, x0
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	str	x0, [x23, #16]
	cbnz	x0, LBB0_4
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	x23, [x19]
	ldr	x0, [x23, #16]
LBB0_4:
Lloh2:
	adrp	x8, _PFRB_ADDRS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PFRB_ADDRS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x0]
	add	x0, x23, #12
	bl	_SIMPLEQ_INIT
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _PF_OPT_TABLE_PREFIX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PF_OPT_TABLE_PREFIX@GOTPAGEOFF]
	ldr	w0, [x8, #8]
Lloh7:
	ldr	x3, [x9]
	adrp	x8, _add_opt_table.tablenum@PAGE
	ldr	w4, [x8, _add_opt_table.tablenum@PAGEOFF]
	add	w9, w4, #1
	str	w9, [x8, _add_opt_table.tablenum@PAGEOFF]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	x8, [x19]
	ldr	w1, [x8, #8]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DEBUG
LBB0_5:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	str	w22, [sp, #8]
	ldr	x8, [x21]
	str	x8, [sp]
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	mov	x1, sp
	mov	w2, #0
	mov	w3, #0
	bl	_append_addr_host
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warn
	mov	w0, #1
	b	LBB0_16
LBB0_7:
	ldr	w8, [x20]
Lloh14:
	adrp	x9, _PF_OPT_VERBOSE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PF_OPT_VERBOSE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.8:
	mov	w0, #1
	mov	w1, #8
	bl	_calloc
	mov	x20, x0
	cbnz	x0, LBB0_10
; %bb.9:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_10:
	mov	w0, #4
	bl	_malloc
	mov	x21, x0
	str	x0, [x20]
	cbnz	x0, LBB0_12
; %bb.11:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_12:
	mov	x1, sp
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19]
	add	x0, x8, #12
Lloh21:
	adrp	x8, _entries@GOTPAGE
Lloh22:
	ldr	x8, [x8, _entries@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_SIMPLEQ_INSERT_TAIL
LBB0_13:
	ldr	x8, [x19]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
Lloh24:
	adrp	x10, _TABLE_THRESHOLD@GOTPAGE
Lloh25:
	ldr	x10, [x10, _TABLE_THRESHOLD@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.14:
	ldr	w1, [x8, #8]
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DEBUG
LBB0_15:
	mov	w0, #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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_add_opt_table.tablenum,4,2 ; @add_opt_table.tablenum
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calloc"

	.comm	_PFRB_ADDRS,4,2                 ; @PFRB_ADDRS
l_.str.1:                               ; @.str.1
	.asciz	"%s%d"

	.comm	_PF_OPT_TABLE_PREFIX,8,3        ; @PF_OPT_TABLE_PREFIX
l_.str.2:                               ; @.str.2
	.asciz	"creating table <%s>"

l_.str.3:                               ; @.str.3
	.asciz	"failed to add host"

	.comm	_PF_OPT_VERBOSE,4,2             ; @PF_OPT_VERBOSE
l_.str.4:                               ; @.str.4
	.asciz	"malloc"

	.comm	_entries,4,2                    ; @entries
	.comm	_TABLE_THRESHOLD,8,3            ; @TABLE_THRESHOLD
l_.str.5:                               ; @.str.5
	.asciz	"table <%s> now faster than skip steps"

.subsections_via_symbols
