	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$64, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	movq	_SIGALRM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_TIME_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alarm
	movq	_AI_CANONNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _netfinger.hint+24(%rip)
	leaq	_netfinger.hint(%rip), %rdx
	movq	_family@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _netfinger.hint+20(%rip)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _netfinger.hint+16(%rip)
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_warnx
	jmp	LBB0_10
LBB0_3:
	movq	-32(%rbp), %rax
	movq	(%rax), %r15
	movq	8(%rax), %rax
	testq	%rax, %rax
	cmovneq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_printf
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_trying
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_do_protocol
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_9:
	xorl	%edi, %edi
	callq	_alarm
	movq	-32(%rbp), %rdi
	callq	_freeaddrinfo
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_netfinger.hint,32,3 ## @netfinger.hint
	.comm	_SIGALRM,4,2                    ## @SIGALRM
	.comm	_cleanup,4,2                    ## @cleanup
	.comm	_TIME_LIMIT,4,2                 ## @TIME_LIMIT
	.comm	_AI_CANONNAME,4,2               ## @AI_CANONNAME
	.comm	_family,4,2                     ## @family
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"finger"

L_.str.1:                               ## @.str.1
	.asciz	"%s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"[%s]\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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	mov	w1, #64
	bl	_strrchr
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	strb	wzr, [x20], #1
Lloh0:
	adrp	x8, _SIGALRM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIGALRM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _cleanup@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cleanup@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_signal
Lloh6:
	adrp	x8, _TIME_LIMIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIME_LIMIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_alarm
Lloh9:
	adrp	x8, _AI_CANONNAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AI_CANONNAME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x2, _netfinger.hint@PAGE
Lloh13:
	add	x2, x2, _netfinger.hint@PAGEOFF
	str	w8, [x2, #24]
Lloh14:
	adrp	x8, _family@GOTPAGE
Lloh15:
	ldr	x8, [x8, _family@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x2, #16]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x0, x20
	bl	_getaddrinfo
	cbz	w0, LBB0_3
; %bb.2:
	bl	_gai_strerror
	mov	x2, x0
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_warnx
	b	LBB0_9
LBB0_3:
	ldr	x8, [sp, #8]
	ldp	x21, x8, [x8]
	cmp	x8, #0
	csel	x1, x20, x8, eq
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_trying
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_do_protocol
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20]
	cbnz	x20, LBB0_4
LBB0_8:
	mov	w0, #0
	bl	_alarm
	ldr	x0, [sp, #8]
	bl	_freeaddrinfo
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_netfinger.hint,32,3 ; @netfinger.hint
	.comm	_SIGALRM,4,2                    ; @SIGALRM
	.comm	_cleanup,4,2                    ; @cleanup
	.comm	_TIME_LIMIT,4,2                 ; @TIME_LIMIT
	.comm	_AI_CANONNAME,4,2               ; @AI_CANONNAME
	.comm	_family,4,2                     ; @family
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"finger"

l_.str.1:                               ; @.str.1
	.asciz	"%s: %s"

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

.subsections_via_symbols
