	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ataddr_string
_ataddr_string:                         ## @ataddr_string
	.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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rdi, -584(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %r15d
	shll	$8, %r15d
	orl	%edx, %r15d
	cmpb	$0, _ataddr_string.first(%rip)
	jne	LBB0_17
## %bb.1:
	movb	$1, _ataddr_string.first(%rip)
	movq	-584(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, 8(%rax)
	jne	LBB0_17
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%esi, -588(%rbp)                ## 4-byte Spill
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movl	-588(%rbp), %esi                ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rax, %rbx
	movl	%r13d, -600(%rbp)               ## 4-byte Spill
	leaq	-576(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	movq	%rbx, %r13
	je	LBB0_16
## %bb.4:
	leaq	-576(%rbp), %r12
	movabsq	$34359739393, %rbx              ## imm = 0x800000401
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%r13, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_16
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movzbl	-576(%rbp), %eax
	cmpq	$35, %rax
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	btq	%rax, %rbx
	jb	LBB0_15
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %r14
	movq	%r12, %r13
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-596(%rbp), %rbx
	movq	%rbx, %rdx
	leaq	-592(%rbp), %rcx
	leaq	-320(%rbp), %r12
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-596(%rbp), %eax
	shll	$8, %eax
	orl	-592(%rbp), %eax
	movq	%r13, %r12
	movq	%r14, %r13
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$2, %eax
	movq	%r13, %r12
	movq	%r14, %r13
	movabsq	$34359739393, %rbx              ## imm = 0x800000401
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-596(%rbp), %eax
	shll	$8, %eax
	orl	$255, %eax
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, -592(%rbp)
	movq	_HASHNAMESIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	movslq	%eax, %rdx
	andq	%rcx, %rdx
	leaq	(%rdx,%rdx,2), %rcx
	shlq	$3, %rcx
	movq	_hnametable@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r14
	movq	16(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, (%r14)
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	callq	_newhnamemem
	movq	%rax, 16(%r14)
	leaq	-320(%rbp), %rdi
	callq	_strdup
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	movabsq	$34359739393, %rbx              ## imm = 0x800000401
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.4(%rip), %rsi
	callq	*(%rdi)
	jmp	LBB0_15
LBB0_16:
	movq	%r13, %rdi
	callq	_fclose
	movl	-600(%rbp), %r13d               ## 4-byte Reload
	movl	-588(%rbp), %esi                ## 4-byte Reload
LBB0_17:
	movq	_hnametable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HASHNAMESIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	decq	%rcx
	movslq	%r15d, %rdx
	andq	%rcx, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%rax,%rdx,8), %rdx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %r14
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpl	%r15d, (%r14)
	jne	LBB0_18
## %bb.20:
	addq	$8, %r14
	jmp	LBB0_31
LBB0_21:
	movl	%r15d, %edx
	orl	$255, %edx
	andl	%edx, %ecx
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %rax
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	%edx, (%rbx)
	jne	LBB0_22
## %bb.24:
	movl	%r15d, (%r14)
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	callq	_newhnamemem
	movq	%rax, 16(%r14)
	movq	8(%rbx), %rcx
	leaq	L_.str.5(%rip), %rdx
	leaq	-320(%rbp), %r15
	movq	%r15, %rdi
	movl	$257, %esi                      ## imm = 0x101
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r15, %rdi
	jmp	LBB0_29
LBB0_25:
	movl	%esi, %ebx
	movl	%r15d, (%r14)
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	callq	_newhnamemem
	movq	%rax, 16(%r14)
	cmpl	$255, %r13d
	jne	LBB0_26
## %bb.27:
	leaq	L_.str.7(%rip), %rdx
	leaq	-320(%rbp), %rdi
	movl	$257, %esi                      ## imm = 0x101
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_28
LBB0_26:
	leaq	L_.str.6(%rip), %rdx
	leaq	-320(%rbp), %rdi
	movl	$257, %esi                      ## imm = 0x101
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_28:
	leaq	-320(%rbp), %rdi
LBB0_29:
	callq	_strdup
	movq	%rax, 8(%r14)
	addq	$8, %r14
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:
	leaq	L_.str.4(%rip), %rsi
	movq	-584(%rbp), %rdi                ## 8-byte Reload
	callq	*(%rdi)
LBB0_31:
	movq	(%r14), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_33
## %bb.32:
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ataddr_string.first,1,2 ## @ataddr_string.first
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/etc/atalk.names"

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

L_.str.2:                               ## @.str.2
	.asciz	"%d.%d %256s"

L_.str.3:                               ## @.str.3
	.asciz	"%d %256s"

	.comm	_hnametable,8,3                 ## @hnametable
	.comm	_HASHNAMESIZE,4,2               ## @HASHNAMESIZE
L_.str.4:                               ## @.str.4
	.asciz	"ataddr_string: strdup(nambuf)"

L_.str.5:                               ## @.str.5
	.asciz	"%s.%d"

L_.str.6:                               ## @.str.6
	.asciz	"%d.%d"

L_.str.7:                               ## @.str.7
	.asciz	"%d"

	.no_dead_strip	_ataddr_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ataddr_string
_ataddr_string:                         ; @ataddr_string
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #560
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	orr	w26, w2, w1, lsl #8
	adrp	x8, _ataddr_string.first@PAGE
	ldrb	w9, [x8, _ataddr_string.first@PAGEOFF]
Lloh3:
	adrp	x27, _hnametable@GOTPAGE
Lloh4:
	ldr	x27, [x27, _hnametable@GOTPAGEOFF]
Lloh5:
	adrp	x28, _HASHNAMESIZE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _HASHNAMESIZE@GOTPAGEOFF]
	tbnz	w9, #0, LBB0_16
; %bb.1:
	mov	w9, #1
	strb	w9, [x8, _ataddr_string.first@PAGEOFF]
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_16
; %bb.2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_16
; %bb.3:
	mov	x22, x0
	add	x0, sp, #31
	mov	w1, #256
	mov	x2, x22
	bl	_fgets
	cbz	x0, LBB0_15
; %bb.4:
	mov	w24, #1
	mov	x25, #1025
	movk	x25, #8, lsl #32
	add	x23, sp, #287
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #31
	mov	w1, #256
	mov	x2, x22
	bl	_fgets
	cbz	x0, LBB0_15
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldrb	w8, [sp, #31]
	cmp	w8, #35
	lsl	x8, x24, x8
	and	x8, x8, x25
	ccmp	x8, #0, #4, ls
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, sp, #20
	stp	x8, x23, [sp]
	add	x0, sp, #31
	add	x2, sp, #24
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w9, w8, [sp, #20]
	orr	w8, w9, w8, lsl #8
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x23, [sp]
	add	x0, sp, #31
	add	x2, sp, #24
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [sp, #24]
	mov	w8, #255
	bfi	w8, w9, #8, #24
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [sp, #20]
	ldr	x9, [x27]
	ldr	w10, [x28]
	sub	w10, w10, #1
	and	w10, w10, w8
	mov	w11, #24
	smaddl	x9, w10, w11, x9
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x23, x9
	ldr	x9, [x9, #16]
	cbnz	x9, LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [x23]
	mov	x0, x19
	bl	_newhnamemem
	str	x0, [x23, #16]
	add	x0, sp, #287
	bl	_strdup
	str	x0, [x23, #8]
	add	x23, sp, #287
	cbnz	x0, LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	mov	x0, x19
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	blr	x8
	b	LBB0_5
LBB0_15:
	mov	x0, x22
	bl	_fclose
LBB0_16:
	ldr	x8, [x27]
	ldr	w9, [x28]
	sub	w9, w9, #1
	and	w10, w9, w26
	mov	w11, #24
	smaddl	x10, w10, w11, x8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x10
	ldr	x10, [x10, #16]
	cbz	x10, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w11, [x22]
	cmp	w11, w26
	b.ne	LBB0_17
; %bb.19:
	add	x22, x22, #8
	b	LBB0_29
LBB0_20:
	orr	w10, w26, #0xff
	and	w9, w9, w10
	mov	w11, #24
	smaddl	x8, w9, w11, x8
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w9, [x23]
	cmp	w9, w10
	b.ne	LBB0_21
; %bb.23:
	str	w26, [x22]
	mov	x0, x19
	bl	_newhnamemem
	str	x0, [x22, #16]
	ldr	x8, [x23, #8]
	stp	x8, x20, [sp]
Lloh17:
	adrp	x2, l_.str.5@PAGE
Lloh18:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_24:
	str	w26, [x22]
	mov	x0, x19
	bl	_newhnamemem
	str	x0, [x22, #16]
	cmp	w20, #255
	b.ne	LBB0_26
; %bb.25:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh19:
	adrp	x2, l_.str.7@PAGE
Lloh20:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_27
LBB0_26:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x21, x20, [sp]
Lloh21:
	adrp	x2, l_.str.6@PAGE
Lloh22:
	add	x2, x2, l_.str.6@PAGEOFF
LBB0_27:
	add	x0, sp, #287
	mov	w1, #257
	bl	_snprintf
	add	x0, sp, #287
	bl	_strdup
	str	x0, [x22, #8]!
	cbnz	x0, LBB0_29
; %bb.28:
	ldr	x8, [x19]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	blr	x8
LBB0_29:
	ldr	x0, [x22]
	ldur	x8, [x29, #-96]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	add	sp, sp, #560
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ataddr_string.first,1,2 ; @ataddr_string.first
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/etc/atalk.names"

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

l_.str.2:                               ; @.str.2
	.asciz	"%d.%d %256s"

l_.str.3:                               ; @.str.3
	.asciz	"%d %256s"

	.comm	_hnametable,8,3                 ; @hnametable
	.comm	_HASHNAMESIZE,4,2               ; @HASHNAMESIZE
l_.str.4:                               ; @.str.4
	.asciz	"ataddr_string: strdup(nambuf)"

l_.str.5:                               ; @.str.5
	.asciz	"%s.%d"

l_.str.6:                               ; @.str.6
	.asciz	"%d.%d"

l_.str.7:                               ; @.str.7
	.asciz	"%d"

	.no_dead_strip	_ataddr_string
.subsections_via_symbols
