	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getarg
_getarg:                                ## @getarg
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	16(%rdx), %rax
	movq	%rax, 16(%rsp)
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rsp)
	callq	_ZERO
	movq	%r14, (%r12)
	movq	_OPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	notl	%r15d
	andl	%ebx, %r15d
	movl	%r15d, 8(%r12)
	leal	-128(%r15), %eax
	cmpl	$4, %eax
	ja	LBB0_22
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movb	(%r14), %al
	xorl	%ecx, %ecx
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	cmpb	$45, %al
	sete	%cl
	movl	$0, 12(%r12)
	movb	(%r14,%rcx), %al
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rcx), %r13
	incq	%r13
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	leal	(%r14,%r14,4), %ecx
	subl	%ebx, %eax
	leal	(%rax,%rcx,2), %r14d
	movl	%r14d, 12(%r12)
	movzbl	(%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_8
## %bb.11:
	cmpb	$45, -41(%rbp)                  ## 1-byte Folded Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_22
## %bb.12:
	cmpl	$128, %r15d
	jne	LBB0_15
## %bb.13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.21:
	addq	$20, %r12
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_getnetnum
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_23
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_23
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_14:
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_23
LBB0_3:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_17:
	movl	$6, 16(%r12)
	jmp	LBB0_22
LBB0_15:
	negl	16(%r12)
	jmp	LBB0_22
LBB0_6:
	movq	_AF_INET@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	_ai_fam_templ@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r15d
	jmp	LBB0_23
LBB0_19:
	movl	$4, 16(%r12)
LBB0_22:
	movl	$1, %r15d
LBB0_23:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_22
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0123456789"

	.comm	_OPT,4,2                        ## @OPT
L_.str.1:                               ## @.str.1
	.asciz	"-6"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_ai_fam_templ,4,2               ## @ai_fam_templ
L_.str.2:                               ## @.str.2
	.asciz	"-4"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"***Illegal integer value %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"***Value %s should be unsigned\n"

L_.str.5:                               ## @.str.5
	.asciz	"***Version must be either 4 or 6\n"

	.no_dead_strip	_getarg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getarg
_getarg:                                ; @getarg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	q0, [x2]
	str	q0, [sp, #16]
	ldr	x8, [x2, #16]
	str	x8, [sp, #32]
	add	x0, sp, #16
	bl	_ZERO
Lloh0:
	adrp	x8, _OPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPT@GOTPAGEOFF]
	str	x20, [x19]
Lloh2:
	ldr	w8, [x8]
	bic	w22, w21, w8
	str	w22, [x19, #8]
	sub	w8, w22, #128
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w23, #0
	mov	x8, x20
	ldrb	w24, [x8], #1
	cmp	w24, #45
	csel	x8, x20, x8, ne
	str	wzr, [x19, #12]
	ldrb	w8, [x8]
	mov	w9, #2
	csinc	x25, x9, xzr, eq
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	mov	w26, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w1, w8
	mov	x0, x21
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w0, w21
	madd	w23, w23, w26, w8
	str	w23, [x19, #12]
	ldrb	w8, [x20, x25]
	add	x25, x25, #1
	cbnz	w8, LBB0_3
; %bb.5:
	cmp	w24, #45
	b.ne	LBB0_23
; %bb.6:
	cmp	w22, #128
	b.ne	LBB0_18
; %bb.7:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_8:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.9:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.10:
	add	x1, x19, #20
	mov	x0, x20
	mov	x2, #0
	mov	w3, #0
	bl	_getnetnum
	cbnz	w0, LBB0_23
	b	LBB0_24
LBB0_11:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.12:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_strcmp
	cbz	w0, LBB0_21
; %bb.13:
Lloh20:
	adrp	x8, _stderr@GOTPAGE
Lloh21:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_15:
	bl	_fprintf
	mov	w0, #0
	b	LBB0_24
LBB0_16:
Lloh30:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
	mov	w8, #6
	b	LBB0_22
LBB0_18:
	ldr	w8, [x19, #16]
	neg	w8, w8
	b	LBB0_22
LBB0_19:
Lloh32:
	adrp	x8, _AF_INET@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _ai_fam_templ@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ai_fam_templ@GOTPAGEOFF]
Lloh36:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_24
LBB0_21:
	mov	w8, #4
LBB0_22:
	str	w8, [x19, #16]
LBB0_23:
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0123456789"

	.comm	_OPT,4,2                        ; @OPT
l_.str.1:                               ; @.str.1
	.asciz	"-6"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_ai_fam_templ,4,2               ; @ai_fam_templ
l_.str.2:                               ; @.str.2
	.asciz	"-4"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"***Illegal integer value %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"***Value %s should be unsigned\n"

l_.str.5:                               ; @.str.5
	.asciz	"***Version must be either 4 or 6\n"

	.no_dead_strip	_getarg
.subsections_via_symbols
