	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interfacechecks
_interfacechecks:                       ## @interfacechecks
	.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	%rdi, %rbx
	cmpl	$0, (%rdi)
	jle	LBB0_11
## %bb.1:
	xorl	%r12d, %r12d
	leaq	-44(%rbp), %r15
	leaq	L_.str.1(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cltq
	incq	%r12
	cmpq	%rax, %r12
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	16(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdx
	callq	_extstrtoaddr
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	leaq	L_.str(%rip), %rdi
	callq	_fatal_exit
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_10
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r14, %r12
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	movl	(%rax,%r14,4), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	movq	%r13, %rdi
	callq	_fatal_exit
	jmp	LBB0_9
LBB0_11:
	cmpl	$0, 4(%rbx)
	jle	LBB0_24
## %bb.12:
	xorl	%r12d, %r12d
	movq	_UNBOUND_DNS_PORT@GOTPCREL(%rip), %r14
	leaq	-48(%rbp), %r15
	leaq	-44(%rbp), %r13
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %r14
	movq	%r13, %r15
	leaq	-44(%rbp), %r13
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	cltq
	incq	%r12
	cmpq	%rax, %r12
	jge	LBB0_24
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	movl	(%r14), %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_ipstrtoaddr
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	movl	(%r14), %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	leaq	-52(%rbp), %r8
	callq	_netblockstrtoaddr
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_fatal_exit
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %r13
	movq	%r14, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=2
	incq	%r14
	movslq	4(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_22
LBB0_18:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r14, %r12
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %edi
	movl	(%rax,%r14,4), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	8(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	leaq	L_.str.3(%rip), %rdi
	callq	_fatal_exit
	jmp	LBB0_21
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse interface specified as '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"interface: %s present twice, cannot bind same ports twice."

	.comm	_UNBOUND_DNS_PORT,4,2           ## @UNBOUND_DNS_PORT
L_.str.2:                               ## @.str.2
	.asciz	"cannot parse outgoing-interface specified as '%s'"

L_.str.3:                               ## @.str.3
	.asciz	"outgoing-interface: %s present twice, cannot bind same ports twice."

	.no_dead_strip	_interfacechecks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interfacechecks
_interfacechecks:                       ; @interfacechecks
	.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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x22, #0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x22, lsl #2]
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_extstrtoaddr
	cbnz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_fatal_exit
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x22, x23
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x22, lsl #2]
	ldr	w1, [x8, x23, lsl #2]
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x21
	bl	_fatal_exit
	b	LBB0_7
LBB0_11:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.12:
	mov	x22, #0
Lloh4:
	adrp	x23, _UNBOUND_DNS_PORT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _UNBOUND_DNS_PORT@GOTPAGEOFF]
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh8:
	adrp	x21, l_.str.3@PAGE
Lloh9:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_23
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x22, lsl #2]
	ldr	w1, [x23]
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_ipstrtoaddr
	cbnz	w0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x22, lsl #2]
	ldr	w1, [x23]
	add	x2, sp, #8
	add	x3, sp, #4
	add	x4, sp, #12
	bl	_netblockstrtoaddr
	cbnz	w0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_fatal_exit
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x24, #0
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	x24, x24, #1
	ldrsw	x8, [x19, #4]
	cmp	x24, x8
	b.ge	LBB0_13
LBB0_20:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x22, x24
	b.eq	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x22, lsl #2]
	ldr	w1, [x8, x24, lsl #2]
	bl	_strcmp
	cbnz	x0, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x8, [x19, #8]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x21
	bl	_fatal_exit
	b	LBB0_19
LBB0_23:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse interface specified as '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"interface: %s present twice, cannot bind same ports twice."

	.comm	_UNBOUND_DNS_PORT,4,2           ; @UNBOUND_DNS_PORT
l_.str.2:                               ; @.str.2
	.asciz	"cannot parse outgoing-interface specified as '%s'"

l_.str.3:                               ; @.str.3
	.asciz	"outgoing-interface: %s present twice, cannot bind same ports twice."

	.no_dead_strip	_interfacechecks
.subsections_via_symbols
