	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init
_init:                                  ## @init
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -68(%rbp)
	movl	$1, -60(%rbp)
	movl	$255, -64(%rbp)
	movq	_NI_MAXSERV@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_ifc_head@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	movq	_nindex2ifc@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_index2ifc@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_RIP6_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -104(%rbp)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -112(%rbp)
	movq	_AI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	leaq	-56(%rbp), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	movq	-56(%rbp), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	-56(%rbp), %rax
LBB0_4:
	movq	32(%rax), %rdi
	movq	16(%rax), %rdx
	movq	24(%rax), %rsi
	callq	_socket
	movq	_ripsock@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	(%r12), %rax
LBB0_6:
	movq	-56(%rbp), %rcx
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movq	%rax, %rdi
	callq	_bind
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_8:
	movq	(%r12), %rdi
	movq	_IPPROTO_IPV6@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_IPV6_MULTICAST_HOPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_10:
	movq	(%r12), %rdi
	movl	(%rbx), %esi
	movq	_IPV6_MULTICAST_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_12:
	movq	(%r12), %rdi
	movl	(%rbx), %esi
	movq	_IPV6_PKTINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-60(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_14
## %bb.13:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_14:
	movq	(%r12), %rdi
	movl	(%rbx), %esi
	movq	_IPV6_HOPLIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-60(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	jns	LBB0_16
## %bb.15:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_16:
	movq	-56(%rbp), %rdi
	callq	_freeaddrinfo
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	(%r15), %rax
	movq	%rax, -104(%rbp)
	movq	(%r13), %rax
	movq	%rax, -112(%rbp)
	movq	_RIP6_DEST@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_fatal
LBB0_18:
	movq	-56(%rbp), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_20
## %bb.19:
	movq	(%r15), %rsi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	-56(%rbp), %rax
LBB0_20:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	_ripsin@GOTPCREL(%rip), %rdi
	callq	_memcpy
	movq	-56(%rbp), %rdi
	callq	_freeaddrinfo
	movq	(%r12), %rdi
	movq	_maxfd@GOTPCREL(%rip), %rbx
	movq	%rdi, (%rbx)
	movq	_nflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.25:
	movq	_rtsock@GOTPCREL(%rip), %rax
	movq	$-1, (%rax)
	jmp	LBB0_26
LBB0_21:
	movq	_PF_ROUTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	callq	_socket
	movq	_rtsock@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	jns	LBB0_23
## %bb.22:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
	movq	(%r14), %rax
LBB0_23:
	movq	(%rbx), %rdi
	cmpq	%rdi, %rax
	jle	LBB0_26
## %bb.24:
	movq	%rax, (%rbx)
	movq	%rax, %rdi
LBB0_26:
	incq	%rdi
	movq	_NFDBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_howmany
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %edi
	movq	_fdmasks@GOTPCREL(%rip), %rbx
	movl	%edi, (%rbx)
	callq	_malloc
	movq	_sockvecp@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	jne	LBB0_28
## %bb.27:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_28:
	movl	(%rbx), %edi
	callq	_malloc
	movq	_recvecp@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_30
## %bb.29:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_fatal
LBB0_30:
	movq	(%r14), %rdi
	movl	(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%r12), %rdi
	movq	(%r14), %rsi
	callq	_FD_SET
	movq	_rtsock@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_32
## %bb.31:
	movq	(%r14), %rsi
	callq	_FD_SET
LBB0_32:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NI_MAXSERV,4,2                 ## @NI_MAXSERV
	.comm	_ifc_head,4,2                   ## @ifc_head
	.comm	_nindex2ifc,8,3                 ## @nindex2ifc
	.comm	_index2ifc,8,3                  ## @index2ifc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.comm	_RIP6_PORT,4,2                  ## @RIP6_PORT
	.comm	_PF_INET6,8,3                   ## @PF_INET6
	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	":: resolved to multiple address"

	.comm	_ripsock,8,3                    ## @ripsock
L_.str.3:                               ## @.str.3
	.asciz	"rip socket"

L_.str.4:                               ## @.str.4
	.asciz	"rip bind"

	.comm	_IPPROTO_IPV6,4,2               ## @IPPROTO_IPV6
	.comm	_IPV6_MULTICAST_HOPS,4,2        ## @IPV6_MULTICAST_HOPS
L_.str.5:                               ## @.str.5
	.asciz	"rip IPV6_MULTICAST_HOPS"

	.comm	_IPV6_MULTICAST_LOOP,4,2        ## @IPV6_MULTICAST_LOOP
L_.str.6:                               ## @.str.6
	.asciz	"rip IPV6_MULTICAST_LOOP"

	.comm	_IPV6_PKTINFO,4,2               ## @IPV6_PKTINFO
L_.str.7:                               ## @.str.7
	.asciz	"rip IPV6_PKTINFO"

	.comm	_IPV6_HOPLIMIT,4,2              ## @IPV6_HOPLIMIT
L_.str.8:                               ## @.str.8
	.asciz	"rip IPV6_HOPLIMIT"

	.comm	_RIP6_DEST,8,3                  ## @RIP6_DEST
L_.str.9:                               ## @.str.9
	.asciz	"%s resolved to multiple address"

	.comm	_ripsin,4,2                     ## @ripsin
	.comm	_maxfd,8,3                      ## @maxfd
	.comm	_nflag,8,3                      ## @nflag
	.comm	_PF_ROUTE,8,3                   ## @PF_ROUTE
	.comm	_SOCK_RAW,8,3                   ## @SOCK_RAW
	.comm	_rtsock,8,3                     ## @rtsock
L_.str.10:                              ## @.str.10
	.asciz	"route socket"

	.comm	_NFDBITS,4,2                    ## @NFDBITS
	.comm	_fdmasks,4,2                    ## @fdmasks
	.comm	_sockvecp,8,3                   ## @sockvecp
L_.str.11:                              ## @.str.11
	.asciz	"malloc"

	.comm	_recvecp,8,3                    ## @recvecp
	.comm	_IPV6_RECVHOPLIMIT,4,2          ## @IPV6_RECVHOPLIMIT
	.comm	_IPV6_RECVPKTINFO,4,2           ## @IPV6_RECVPKTINFO
	.comm	_IPV6_V6ONLY,4,2                ## @IPV6_V6ONLY
	.comm	_POLLIN,8,3                     ## @POLLIN
	.comm	_set,8,3                        ## @set
	.no_dead_strip	_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init
_init:                                  ; @init
	.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
	sub	sp, sp, #80
	mov	x21, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	w8, #1
	stp	w8, wzr, [x29, #-80]
	mov	w8, #255
	stur	w8, [x29, #-84]
Lloh3:
	adrp	x8, _NI_MAXSERV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NI_MAXSERV@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x0, _ifc_head@GOTPAGE
Lloh9:
	ldr	x0, [x0, _ifc_head@GOTPAGEOFF]
	bl	_TAILQ_INIT
Lloh10:
	adrp	x8, _nindex2ifc@GOTPAGE
Lloh11:
	ldr	x8, [x8, _nindex2ifc@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
Lloh13:
	adrp	x8, _index2ifc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _index2ifc@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
Lloh16:
	adrp	x8, _RIP6_PORT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RIP6_PORT@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x2, l_.str@PAGE
Lloh20:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	sub	x0, x29, #136
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh21:
	adrp	x22, _PF_INET6@GOTPAGE
Lloh22:
	ldr	x22, [x22, _PF_INET6@GOTPAGEOFF]
	ldr	x8, [x22]
	stur	x8, [x29, #-104]
Lloh23:
	adrp	x23, _SOCK_DGRAM@GOTPAGE
Lloh24:
	ldr	x23, [x23, _SOCK_DGRAM@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh25:
	adrp	x24, _IPPROTO_UDP@GOTPAGE
Lloh26:
	ldr	x24, [x24, _IPPROTO_UDP@GOTPAGEOFF]
	ldr	x9, [x24]
	stp	x9, x8, [x29, #-120]
Lloh27:
	adrp	x8, _AI_PASSIVE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AI_PASSIVE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	stur	w8, [x29, #-96]
	sub	x2, x29, #136
	sub	x3, x29, #144
	mov	x0, #0
	mov	x1, x19
	bl	_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
	bl	_gai_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh30:
	adrp	x0, l_.str.1@PAGE
Lloh31:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
	add	sp, sp, #16
LBB0_2:
	ldur	x8, [x29, #-144]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
; %bb.3:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fatal
	ldur	x8, [x29, #-144]
LBB0_4:
	ldp	x1, x0, [x8, #24]
	ldr	x2, [x8, #16]
	bl	_socket
Lloh34:
	adrp	x20, _ripsock@GOTPAGE
Lloh35:
	ldr	x20, [x20, _ripsock@GOTPAGEOFF]
	str	x0, [x20]
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_fatal
	ldr	x0, [x20]
LBB0_6:
	ldur	x8, [x29, #-144]
	ldp	w2, w1, [x8]
	bl	_bind
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh38:
	adrp	x0, l_.str.4@PAGE
Lloh39:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_fatal
LBB0_8:
	ldr	x0, [x20]
Lloh40:
	adrp	x25, _IPPROTO_IPV6@GOTPAGE
Lloh41:
	ldr	x25, [x25, _IPPROTO_IPV6@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh42:
	adrp	x8, _IPV6_MULTICAST_HOPS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IPV6_MULTICAST_HOPS@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	sub	x3, x29, #84
	mov	w4, #4
	bl	_setsockopt
	tbz	x0, #63, LBB0_10
; %bb.9:
Lloh45:
	adrp	x0, l_.str.5@PAGE
Lloh46:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_fatal
LBB0_10:
	ldr	x0, [x20]
	ldr	w1, [x25]
Lloh47:
	adrp	x8, _IPV6_MULTICAST_LOOP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _IPV6_MULTICAST_LOOP@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	sub	x3, x29, #76
	mov	w4, #4
	bl	_setsockopt
	tbz	x0, #63, LBB0_12
; %bb.11:
Lloh50:
	adrp	x0, l_.str.6@PAGE
Lloh51:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_fatal
LBB0_12:
	ldr	x0, [x20]
	ldr	w1, [x25]
Lloh52:
	adrp	x8, _IPV6_PKTINFO@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IPV6_PKTINFO@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	sub	x3, x29, #80
	mov	w4, #4
	bl	_setsockopt
	tbz	x0, #63, LBB0_14
; %bb.13:
Lloh55:
	adrp	x0, l_.str.7@PAGE
Lloh56:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_fatal
LBB0_14:
	ldr	x0, [x20]
	ldr	w1, [x25]
Lloh57:
	adrp	x8, _IPV6_HOPLIMIT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _IPV6_HOPLIMIT@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	sub	x3, x29, #80
	mov	w4, #4
	bl	_setsockopt
	tbz	x0, #63, LBB0_16
; %bb.15:
Lloh60:
	adrp	x0, l_.str.8@PAGE
Lloh61:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_fatal
LBB0_16:
	ldur	x0, [x29, #-144]
	bl	_freeaddrinfo
	sub	x0, x29, #136
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x10, [x22]
	ldr	x8, [x23]
	ldr	x9, [x24]
	stp	x8, x10, [x29, #-112]
	stur	x9, [x29, #-120]
Lloh62:
	adrp	x22, _RIP6_DEST@GOTPAGE
Lloh63:
	ldr	x22, [x22, _RIP6_DEST@GOTPAGEOFF]
	ldr	x0, [x22]
	sub	x2, x29, #136
	sub	x3, x29, #144
	mov	x1, x19
	bl	_getaddrinfo
	cbz	w0, LBB0_18
; %bb.17:
	bl	_gai_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh64:
	adrp	x0, l_.str.1@PAGE
Lloh65:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
	add	sp, sp, #16
LBB0_18:
	ldur	x8, [x29, #-144]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_20
; %bb.19:
	ldr	x8, [x22]
	str	x8, [sp, #-16]!
Lloh66:
	adrp	x0, l_.str.9@PAGE
Lloh67:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_fatal
	add	sp, sp, #16
	ldur	x8, [x29, #-144]
LBB0_20:
	ldp	w2, w1, [x8]
Lloh68:
	adrp	x0, _ripsin@GOTPAGE
Lloh69:
	ldr	x0, [x0, _ripsin@GOTPAGEOFF]
	bl	_memcpy
	ldur	x0, [x29, #-144]
	bl	_freeaddrinfo
	ldr	x8, [x20]
Lloh70:
	adrp	x22, _maxfd@GOTPAGE
Lloh71:
	ldr	x22, [x22, _maxfd@GOTPAGEOFF]
	str	x8, [x22]
Lloh72:
	adrp	x9, _nflag@GOTPAGE
Lloh73:
	ldr	x9, [x9, _nflag@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
Lloh75:
	adrp	x19, _rtsock@GOTPAGE
Lloh76:
	ldr	x19, [x19, _rtsock@GOTPAGEOFF]
	cbz	x9, LBB0_22
; %bb.21:
	mov	x9, #-1
	str	x9, [x19]
	b	LBB0_26
LBB0_22:
Lloh77:
	adrp	x8, _PF_ROUTE@GOTPAGE
Lloh78:
	ldr	x8, [x8, _PF_ROUTE@GOTPAGEOFF]
Lloh79:
	ldr	x0, [x8]
Lloh80:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh81:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh82:
	ldr	x1, [x8]
	mov	x2, #0
	bl	_socket
	str	x0, [x19]
	tbz	x0, #63, LBB0_24
; %bb.23:
Lloh83:
	adrp	x0, l_.str.10@PAGE
Lloh84:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_fatal
	ldr	x0, [x19]
LBB0_24:
	ldr	x8, [x22]
	cmp	x0, x8
	b.le	LBB0_26
; %bb.25:
	str	x0, [x22]
	mov	x8, x0
LBB0_26:
	add	x0, x8, #1
Lloh85:
	adrp	x8, _NFDBITS@GOTPAGE
Lloh86:
	ldr	x8, [x8, _NFDBITS@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	bl	_howmany
	lsl	w0, w0, #2
Lloh88:
	adrp	x23, _fdmasks@GOTPAGE
Lloh89:
	ldr	x23, [x23, _fdmasks@GOTPAGEOFF]
	str	w0, [x23]
	bl	_malloc
Lloh90:
	adrp	x22, _sockvecp@GOTPAGE
Lloh91:
	ldr	x22, [x22, _sockvecp@GOTPAGEOFF]
	str	x0, [x22]
	cbnz	x0, LBB0_28
; %bb.27:
Lloh92:
	adrp	x0, l_.str.11@PAGE
Lloh93:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_fatal
LBB0_28:
	ldr	w0, [x23]
	bl	_malloc
Lloh94:
	adrp	x8, _recvecp@GOTPAGE
Lloh95:
	ldr	x8, [x8, _recvecp@GOTPAGEOFF]
Lloh96:
	str	x0, [x8]
	cbnz	x0, LBB0_30
; %bb.29:
Lloh97:
	adrp	x0, l_.str.11@PAGE
Lloh98:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_fatal
LBB0_30:
	ldr	x0, [x22]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x20]
	ldr	x1, [x22]
	bl	_FD_SET
	ldr	x0, [x19]
	tbnz	x0, #63, LBB0_32
; %bb.31:
	ldr	x1, [x22]
	bl	_FD_SET
LBB0_32:
	mov	sp, x21
	ldur	x8, [x29, #-72]
Lloh99:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh100:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh101:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	sub	sp, x29, #64
	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
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotStr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_NI_MAXSERV,4,2                 ; @NI_MAXSERV
	.comm	_ifc_head,4,2                   ; @ifc_head
	.comm	_nindex2ifc,8,3                 ; @nindex2ifc
	.comm	_index2ifc,8,3                  ; @index2ifc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.comm	_RIP6_PORT,4,2                  ; @RIP6_PORT
	.comm	_PF_INET6,8,3                   ; @PF_INET6
	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	":: resolved to multiple address"

	.comm	_ripsock,8,3                    ; @ripsock
l_.str.3:                               ; @.str.3
	.asciz	"rip socket"

l_.str.4:                               ; @.str.4
	.asciz	"rip bind"

	.comm	_IPPROTO_IPV6,4,2               ; @IPPROTO_IPV6
	.comm	_IPV6_MULTICAST_HOPS,4,2        ; @IPV6_MULTICAST_HOPS
l_.str.5:                               ; @.str.5
	.asciz	"rip IPV6_MULTICAST_HOPS"

	.comm	_IPV6_MULTICAST_LOOP,4,2        ; @IPV6_MULTICAST_LOOP
l_.str.6:                               ; @.str.6
	.asciz	"rip IPV6_MULTICAST_LOOP"

	.comm	_IPV6_PKTINFO,4,2               ; @IPV6_PKTINFO
l_.str.7:                               ; @.str.7
	.asciz	"rip IPV6_PKTINFO"

	.comm	_IPV6_HOPLIMIT,4,2              ; @IPV6_HOPLIMIT
l_.str.8:                               ; @.str.8
	.asciz	"rip IPV6_HOPLIMIT"

	.comm	_RIP6_DEST,8,3                  ; @RIP6_DEST
l_.str.9:                               ; @.str.9
	.asciz	"%s resolved to multiple address"

	.comm	_ripsin,4,2                     ; @ripsin
	.comm	_maxfd,8,3                      ; @maxfd
	.comm	_nflag,8,3                      ; @nflag
	.comm	_PF_ROUTE,8,3                   ; @PF_ROUTE
	.comm	_SOCK_RAW,8,3                   ; @SOCK_RAW
	.comm	_rtsock,8,3                     ; @rtsock
l_.str.10:                              ; @.str.10
	.asciz	"route socket"

	.comm	_NFDBITS,4,2                    ; @NFDBITS
	.comm	_fdmasks,4,2                    ; @fdmasks
	.comm	_sockvecp,8,3                   ; @sockvecp
l_.str.11:                              ; @.str.11
	.asciz	"malloc"

	.comm	_recvecp,8,3                    ; @recvecp
	.comm	_IPV6_RECVHOPLIMIT,4,2          ; @IPV6_RECVHOPLIMIT
	.comm	_IPV6_RECVPKTINFO,4,2           ; @IPV6_RECVPKTINFO
	.comm	_IPV6_V6ONLY,4,2                ; @IPV6_V6ONLY
	.comm	_POLLIN,8,3                     ; @POLLIN
	.comm	_set,8,3                        ; @set
	.no_dead_strip	_init
.subsections_via_symbols
