	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	cmpl	$1, %edi
	jg	LBB0_1
LBB0_16:
	movq	(%r14), %rdi
	callq	_usage
	movl	$-1, %eax
	jmp	LBB0_17
LBB0_1:
	movl	%edi, %ebx
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	cmpl	$4, %ebx
	jb	LBB0_5
## %bb.4:
	movq	16(%r14), %rax
	movq	_iface@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_5:
	movq	8(%r14), %rdi
	callq	_atoi
	cmpl	$7, %eax
	ja	LBB0_15
## %bb.6:
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__iface_up                  ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	$1281, %edi                     ## imm = 0x501
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__iface_mtu_set             ## TAILCALL
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	movl	$24, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__addr_v4_add               ## TAILCALL
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	movl	$64, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__addr_v6_add               ## TAILCALL
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	movl	$24, %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__route_v4_add              ## TAILCALL
LBB0_12:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rdx
	movl	$24, %esi
	xorl	%ecx, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__route_v4_add_gw           ## TAILCALL
LBB0_13:
	leaq	L_.str.6(%rip), %rdi
	movl	$64, %esi
	movl	$600, %edx                      ## imm = 0x258
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__route_v6_add              ## TAILCALL
LBB0_14:
	leaq	L_.str.7(%rip), %rdi
	leaq	L_.str.8(%rip), %rdx
	movl	$48, %esi
	movl	$600, %ecx                      ## imm = 0x258
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_net__route_v6_add_gw           ## TAILCALL
LBB0_15:
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	jmp	LBB0_16
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"test"

	.comm	_iface,8,3                      ## @iface
L_.str.1:                               ## @.str.1
	.asciz	"10.255.255.1"

L_.str.2:                               ## @.str.2
	.asciz	"2001::1"

L_.str.3:                               ## @.str.3
	.asciz	"11.11.11.0"

L_.str.4:                               ## @.str.4
	.asciz	"11.11.12.0"

L_.str.5:                               ## @.str.5
	.asciz	"10.255.255.2"

L_.str.6:                               ## @.str.6
	.asciz	"2001:babe:cafe:babe::"

L_.str.7:                               ## @.str.7
	.asciz	"2001:cafe:babe::"

L_.str.8:                               ## @.str.8
	.asciz	"2001::2"

L_.str.9:                               ## @.str.9
	.asciz	"invalid test: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	w0, #1
	b.gt	LBB0_2
LBB0_1:
	ldr	x0, [x19]
	bl	_usage
	mov	w0, #-1
	b	LBB0_8
LBB0_2:
	mov	x20, x0
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:
	cmp	w20, #4
	b.lo	LBB0_5
; %bb.4:
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x9, _iface@GOTPAGE
Lloh3:
	ldr	x9, [x9, _iface@GOTPAGEOFF]
Lloh4:
	str	x8, [x9]
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_atoi
	mov	x1, x0
	cmp	w0, #7
	b.hi	LBB0_16
; %bb.6:
	mov	w8, w1
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__iface_up
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #1281
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__iface_mtu_set
LBB0_10:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #24
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__addr_v4_add
LBB0_11:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #64
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__addr_v6_add
LBB0_12:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #24
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__route_v4_add
LBB0_13:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh15:
	adrp	x2, l_.str.5@PAGE
Lloh16:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #24
	mov	w3, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__route_v4_add_gw
LBB0_14:
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #64
	mov	w2, #600
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__route_v6_add
LBB0_15:
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
Lloh21:
	adrp	x2, l_.str.8@PAGE
Lloh22:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	w1, #48
	mov	w3, #600
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_net__route_v6_add_gw
LBB0_16:
Lloh23:
	adrp	x0, l_.str.9@PAGE
Lloh24:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"test"

	.comm	_iface,8,3                      ; @iface
l_.str.1:                               ; @.str.1
	.asciz	"10.255.255.1"

l_.str.2:                               ; @.str.2
	.asciz	"2001::1"

l_.str.3:                               ; @.str.3
	.asciz	"11.11.11.0"

l_.str.4:                               ; @.str.4
	.asciz	"11.11.12.0"

l_.str.5:                               ; @.str.5
	.asciz	"10.255.255.2"

l_.str.6:                               ; @.str.6
	.asciz	"2001:babe:cafe:babe::"

l_.str.7:                               ; @.str.7
	.asciz	"2001:cafe:babe::"

l_.str.8:                               ; @.str.8
	.asciz	"2001::2"

l_.str.9:                               ; @.str.9
	.asciz	"invalid test: %d\n"

.subsections_via_symbols
