	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netfinger                      ## -- Begin function netfinger
	.p2align	4, 0x90
_netfinger:                             ## @netfinger
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$64, %esi
	callq	_rindex
	testq	%rax, %rax
	je	LBB0_32
## %bb.1:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	movsbl	1(%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_inet_addr
	movq	%rax, -72(%rbp)
	cmpq	$-1, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, -112(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -104(%rbp)
	leaq	-72(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	$8, -88(%rbp)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)
	movq	$0, -80(%rbp)
	leaq	-112(%rbp), %r12
	jmp	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_gethostbyname
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_getservbyname
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	%rax, %rbx
	movl	28(%r12), %eax
	movl	%eax, -56(%rbp)
	movq	16(%r12), %rsi
	leaq	-60(%rbp), %rdi
	movl	24(%r12), %edx
	callq	_memmove
	movl	(%rbx), %eax
	movl	%eax, -64(%rbp)
	movl	28(%r12), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %r15d
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_10
## %bb.11:
	movq	(%r12), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	_printf
	leaq	-64(%rbp), %rsi
	movl	%r15d, %edi
	movl	$12, %edx
	callq	_connect
	testq	%rax, %rax
	js	LBB0_12
## %bb.13:
	movq	_lflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_15
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_send
LBB0_15:
	movq	%r14, %rdi
	callq	_strlen
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_send
	leaq	L_.str.8(%rip), %rsi
	movl	%r15d, %edi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_send
	leaq	-49(%rbp), %rsi
	movl	%r15d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_recv
	cmpl	$1, %eax
	jne	LBB0_29
## %bb.16:
	xorl	%ebx, %ebx
	leaq	-49(%rbp), %r14
	jmp	LBB0_17
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	%eax, %r12d
LBB0_26:                                ##   in Loop: Header=BB0_17 Depth=1
	movsbl	%al, %edi
	callq	_putchar
	movl	%r12d, %ebx
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_recv
	cmpl	$1, %eax
	jne	LBB0_28
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-49(%rbp), %eax
	andb	$127, %al
	movb	%al, -49(%rbp)
	cmpb	$13, %al
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpb	$13, %bl
	movb	$13, %bl
	je	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movb	$10, -49(%rbp)
	movb	$13, %r12b
	movb	$10, %al
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movzbl	%al, %edi
	callq	_isprint
	testl	%eax, %eax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movsbl	-49(%rbp), %edi
	callq	_isspace
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	orb	$64, -49(%rbp)
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	movzbl	-49(%rbp), %eax
	cmpb	$13, %bl
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movb	$10, %bl
	movl	%eax, %r12d
	cmpb	$10, %al
	je	LBB0_27
	jmp	LBB0_26
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_32
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_34
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_WSAGetLastError
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_31
LBB0_28:
	cmpb	$10, %bl
	je	LBB0_30
LBB0_29:
	movl	$10, %edi
	callq	_putchar
LBB0_30:
	movl	$10, %edi
	callq	_putchar
LBB0_31:
	movl	%r15d, %edi
	callq	_closesocket
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_34
## %bb.33:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	callq	_perror
	jmp	LBB0_32
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"finger: unknown host: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"finger"

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

L_.str.3:                               ## @.str.3
	.asciz	"finger: tcp/finger: unknown service\n"

	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_INVALID_SOCKET,4,2             ## @INVALID_SOCKET
L_.str.4:                               ## @.str.4
	.asciz	"finger: socket"

L_.str.5:                               ## @.str.5
	.asciz	"[%s]\n"

L_.str.6:                               ## @.str.6
	.asciz	"finger: connect rc = %d"

L_.str.7:                               ## @.str.7
	.asciz	"/W "

L_.str.8:                               ## @.str.8
	.asciz	"\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netfinger                      ; -- Begin function netfinger
	.p2align	2
_netfinger:                             ; @netfinger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w1, #64
	bl	_rindex
	cbz	x0, LBB0_31
; %bb.1:
	mov	x19, x0
	ldrsb	w8, [x19, #1]!
	strb	wzr, [x0]
	mov	x0, x8
	bl	_isdigit
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_inet_addr
	str	x0, [sp, #64]
	cmn	x0, #1
	b.eq	LBB0_4
; %bb.3:
	sub	x8, x29, #48
	stp	x19, x8, [sp, #24]
	add	x8, sp, #64
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _AF_INET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
	mov	w9, #8
Lloh5:
	ldr	w8, [x8]
	stp	w9, w8, [sp, #48]
	str	xzr, [sp, #56]
	add	x21, sp, #24
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_gethostbyname
	mov	x21, x0
	cbz	x0, LBB0_24
LBB0_5:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_getservbyname
	cbz	x0, LBB0_23
; %bb.6:
	mov	x19, x0
	ldp	w2, w8, [x21, #24]
	str	w8, [sp, #16]
	ldr	x1, [x21, #16]
	add	x8, sp, #8
	orr	x0, x8, #0x4
	bl	_memmove
	ldr	w8, [x19]
	str	w8, [sp, #8]
	ldr	w0, [x21, #28]
Lloh10:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
Lloh13:
	adrp	x8, _INVALID_SOCKET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _INVALID_SOCKET@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_33
; %bb.7:
	mov	x19, x0
	ldr	x1, [x21]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #12
	bl	_connect
	tbnz	x0, #63, LBB0_26
; %bb.8:
Lloh18:
	adrp	x8, _lflag@GOTPAGE
Lloh19:
	ldr	x8, [x8, _lflag@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.9:
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	mov	w3, #0
	bl	_send
LBB0_10:
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_send
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	mov	w3, #0
	bl	_send
	sub	x1, x29, #49
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_recv
	cmp	w0, #1
	b.ne	LBB0_28
; %bb.11:
	mov	w20, #0
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w8, #10
	sturb	w8, [x29, #-49]
	mov	w20, #13
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	sxtb	w0, w8
	bl	_putchar
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	x1, x29, #49
	mov	x0, x19
	mov	w2, #1
	mov	w3, #0
	bl	_recv
	cmp	w0, #1
	b.ne	LBB0_27
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldurb	w8, [x29, #-49]
	and	w0, w8, #0x7f
	sturb	w0, [x29, #-49]
	cmp	w0, #13
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	and	w8, w20, #0xff
	cmp	w8, #13
	b.ne	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w20, #13
	b	LBB0_14
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	bl	_isprint
	cbnz	w0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldursb	w0, [x29, #-49]
	bl	_isspace
	cbnz	w0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	ldurb	w8, [x29, #-49]
	orr	w8, w8, #0x40
	sturb	w8, [x29, #-49]
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	and	w9, w20, #0xff
	ldurb	w8, [x29, #-49]
	mov	x20, x8
	cmp	w9, #13
	b.ne	LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w8, #10
	b.eq	LBB0_14
	b	LBB0_13
LBB0_23:
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_24:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
LBB0_25:
	bl	_fprintf
	b	LBB0_31
LBB0_26:
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w20, [x8]
	bl	_WSAGetLastError
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	b	LBB0_30
LBB0_27:
	cmp	w20, #10
	b.eq	LBB0_29
LBB0_28:
	mov	w0, #10
	bl	_putchar
LBB0_29:
	mov	w0, #10
	bl	_putchar
LBB0_30:
	mov	x0, x19
	bl	_closesocket
LBB0_31:
	ldur	x8, [x29, #-40]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.32:
	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
	add	sp, sp, #144
	ret
LBB0_33:
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_perror
	b	LBB0_31
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"finger: unknown host: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"finger"

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

l_.str.3:                               ; @.str.3
	.asciz	"finger: tcp/finger: unknown service\n"

	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_INVALID_SOCKET,4,2             ; @INVALID_SOCKET
l_.str.4:                               ; @.str.4
	.asciz	"finger: socket"

l_.str.5:                               ; @.str.5
	.asciz	"[%s]\n"

l_.str.6:                               ; @.str.6
	.asciz	"finger: connect rc = %d"

l_.str.7:                               ; @.str.7
	.asciz	"/W "

l_.str.8:                               ; @.str.8
	.asciz	"\r\n"

.subsections_via_symbols
