	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set
_set:                                   ## @set
	.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	%rsi, %rbx
	movl	%edi, %r12d
	movq	(%rsi), %r14
	movq	8(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_getsocket
	movq	_blank_sdl@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_sdl_m@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	8(%rax), %eax
	movl	%eax, 8(%rdx)
	movq	_blank_sin@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_sin_m@GOTPCREL(%rip), %r13
	movq	%rcx, (%r13)
	movl	8(%rax), %eax
	movl	%eax, 8(%r13)
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_bzero
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	-72(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_21
LBB0_2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r13)
	movl	8(%rax), %eax
	movl	%eax, 8(%r13)
	movq	_sdl_m@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_LLADDR
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_ndp_ether_aton
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	$6, (%r14)
LBB0_4:
	movq	_expire_time@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_flags@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	cmpl	$3, %r12d
	jl	LBB0_11
## %bb.5:
	addq	$16, %rbx
	addl	$-2, %r12d
	leaq	L_.str.1(%rip), %r13
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	-64(%rbp), %rax
	movl	$1200, %ecx                     ## imm = 0x4B0
	addq	%rcx, %rax
	movq	%rax, (%r14)
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	addq	$8, %rbx
	decl	%r12d
	testl	%r12d, %r12d
	jle	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_RTF_ANNOUNCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_flags@GOTPCREL(%rip), %rcx
	orq	%rax, (%rcx)
	jmp	LBB0_7
LBB0_11:
	movq	_RTM_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rtmsg
	testl	%eax, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jns	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	movq	%r15, %rdx
	callq	_errx
LBB0_13:
	movq	_m_rtmsg@GOTPCREL(%rip), %r14
	movl	8(%r14), %edi
	callq	_ALIGN
	movslq	%eax, %rbx
	leaq	4(%r14), %rdi
	movq	_sin_m@GOTPCREL(%rip), %rsi
	callq	_IN6_ARE_ADDR_EQUAL
	movq	4(%r14,%rbx), %rcx
	movq	_AF_LINK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	cmpq	%rdx, %rcx
	jne	LBB0_17
## %bb.15:
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_17
## %bb.16:
	movl	12(%r14,%rbx), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	jb	LBB0_19
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_21
LBB0_18:
	cmpq	%rdx, %rcx
	jne	LBB0_20
LBB0_19:
	movq	12(%r14,%rbx), %rax
	movq	_sdl_m@GOTPCREL(%rip), %rcx
	movq	%rax, 4(%rcx)
	movq	_RTM_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rtmsg
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	callq	_printf
LBB0_21:
	movl	$1, %eax
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sin_m,12,2                     ## @sin_m
	.comm	_m_rtmsg,4,2                    ## @m_rtmsg
	.comm	_sdl_m,12,2                     ## @sdl_m
	.comm	_blank_sdl,12,2                 ## @blank_sdl
	.comm	_blank_sin,12,2                 ## @blank_sin
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ndp: %s: %s\n"

	.comm	_expire_time,8,3                ## @expire_time
	.comm	_flags,8,3                      ## @flags
L_.str.1:                               ## @.str.1
	.asciz	"temp"

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

	.comm	_RTF_ANNOUNCE,8,3               ## @RTF_ANNOUNCE
	.comm	_RTM_GET,4,2                    ## @RTM_GET
L_.str.3:                               ## @.str.3
	.asciz	"RTM_GET(%s) failed"

	.comm	_AF_LINK,8,3                    ## @AF_LINK
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
L_.str.4:                               ## @.str.4
	.asciz	"set: cannot configure a new entry\n"

L_.str.5:                               ## @.str.5
	.asciz	"cannot intuit interface index and type for %s\n"

	.comm	_RTM_ADD,4,2                    ## @RTM_ADD
	.no_dead_strip	_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set
_set:                                   ; @set
	.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	x22, x1
	mov	x21, x0
	ldp	x19, x23, [x1]
	bl	_getsocket
Lloh0:
	adrp	x8, _blank_sdl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _blank_sdl@GOTPAGEOFF]
Lloh2:
	adrp	x9, _sdl_m@GOTPAGE
Lloh3:
	ldr	x9, [x9, _sdl_m@GOTPAGEOFF]
	ldr	x10, [x8]
	str	x10, [x9]
	ldr	w8, [x8, #8]
	str	w8, [x9, #8]
Lloh4:
	adrp	x8, _blank_sin@GOTPAGE
Lloh5:
	ldr	x8, [x8, _blank_sin@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh6:
	adrp	x20, _sin_m@GOTPAGE
Lloh7:
	ldr	x20, [x20, _sin_m@GOTPAGEOFF]
	str	x9, [x20]
	ldr	w8, [x8, #8]
	str	w8, [x20, #8]
	add	x0, sp, #32
	mov	w1, #16
	bl	_bzero
Lloh8:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	bl	_gai_strerror
	stp	x19, x0, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	b	LBB0_18
LBB0_2:
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	ldr	w9, [x8]
	str	w9, [x20]
	ldr	w8, [x8, #8]
	str	w8, [x20, #8]
Lloh16:
	adrp	x20, _sdl_m@GOTPAGE
Lloh17:
	ldr	x20, [x20, _sdl_m@GOTPAGEOFF]
	mov	x0, x20
	bl	_LLADDR
	mov	x1, x0
	mov	x0, x23
	bl	_ndp_ether_aton
	cbnz	x0, LBB0_4
; %bb.3:
	mov	w8, #6
	str	w8, [x20]
LBB0_4:
Lloh18:
	adrp	x23, _expire_time@GOTPAGE
Lloh19:
	ldr	x23, [x23, _expire_time@GOTPAGEOFF]
	str	xzr, [x23]
Lloh20:
	adrp	x24, _flags@GOTPAGE
Lloh21:
	ldr	x24, [x24, _flags@GOTPAGEOFF]
	str	xzr, [x24]
	cmp	w21, #3
	b.lt	LBB0_11
; %bb.5:
	add	x25, x22, #16
	sub	w26, w21, #2
Lloh22:
	adrp	x21, l_.str.1@PAGE
Lloh23:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh24:
	adrp	x27, _RTF_ANNOUNCE@GOTPAGE
Lloh25:
	ldr	x27, [x27, _RTF_ANNOUNCE@GOTPAGEOFF]
Lloh26:
	adrp	x22, l_.str.2@PAGE
Lloh27:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #16
	mov	w1, #0
	bl	_gettimeofday
	ldr	x8, [sp, #16]
	add	x8, x8, #1200
	str	x8, [x23]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #8
	sub	w26, w26, #1
	cmp	w26, #0
	b.le	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25]
	mov	x1, x21
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x25]
	mov	x1, x22
	mov	w2, #5
	bl	_strncmp
	cbnz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x27]
	ldr	x9, [x24]
	orr	x8, x9, x8
	str	x8, [x24]
	b	LBB0_7
LBB0_11:
Lloh28:
	adrp	x8, _RTM_GET@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RTM_GET@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_rtmsg
	tbz	w0, #31, LBB0_13
; %bb.12:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_13:
Lloh33:
	adrp	x22, _m_rtmsg@GOTPAGE
Lloh34:
	ldr	x22, [x22, _m_rtmsg@GOTPAGEOFF]
	ldr	w0, [x22, #8]
	bl	_ALIGN
	add	x8, x22, #4
	add	x21, x8, w0, sxtw
Lloh35:
	adrp	x1, _sin_m@GOTPAGE
Lloh36:
	ldr	x1, [x1, _sin_m@GOTPAGEOFF]
	mov	x0, x8
	bl	_IN6_ARE_ADDR_EQUAL
	ldr	x8, [x21]
Lloh37:
	adrp	x9, _AF_LINK@GOTPAGE
Lloh38:
	ldr	x9, [x9, _AF_LINK@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	x0, LBB0_21
; %bb.14:
	b.ne	LBB0_17
; %bb.15:
	ldr	w8, [x22]
Lloh40:
	adrp	x9, _RTF_GATEWAY@GOTPAGE
Lloh41:
	ldr	x9, [x9, _RTF_GATEWAY@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.16:
	ldr	w8, [x21, #8]
	sub	w8, w8, #128
	cmp	w8, #7
	b.lo	LBB0_22
LBB0_17:
Lloh43:
	adrp	x8, _stderr@GOTPAGE
Lloh44:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.4@PAGE
Lloh47:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
	bl	_fprintf
LBB0_19:
	mov	w0, #1
LBB0_20:
	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
LBB0_21:
	b.ne	LBB0_23
LBB0_22:
	ldr	d0, [x21, #8]
	stur	d0, [x20, #4]
Lloh48:
	adrp	x8, _RTM_ADD@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RTM_ADD@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	bl	_rtmsg
	b	LBB0_20
LBB0_23:
Lloh51:
	adrp	x0, l_.str.5@PAGE
Lloh52:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_printf
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_sin_m,12,2                     ; @sin_m
	.comm	_m_rtmsg,4,2                    ; @m_rtmsg
	.comm	_sdl_m,12,2                     ; @sdl_m
	.comm	_blank_sdl,12,2                 ; @blank_sdl
	.comm	_blank_sin,12,2                 ; @blank_sin
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ndp: %s: %s\n"

	.comm	_expire_time,8,3                ; @expire_time
	.comm	_flags,8,3                      ; @flags
l_.str.1:                               ; @.str.1
	.asciz	"temp"

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

	.comm	_RTF_ANNOUNCE,8,3               ; @RTF_ANNOUNCE
	.comm	_RTM_GET,4,2                    ; @RTM_GET
l_.str.3:                               ; @.str.3
	.asciz	"RTM_GET(%s) failed"

	.comm	_AF_LINK,8,3                    ; @AF_LINK
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
l_.str.4:                               ; @.str.4
	.asciz	"set: cannot configure a new entry\n"

l_.str.5:                               ; @.str.5
	.asciz	"cannot intuit interface index and type for %s\n"

	.comm	_RTM_ADD,4,2                    ; @RTM_ADD
	.no_dead_strip	_set
.subsections_via_symbols
