	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostnameaddr                   ## -- Begin function hostnameaddr
	.p2align	4, 0x90
_hostnameaddr:                          ## @hostnameaddr
	.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
	movq	%rsi, %rdi
	callq	_stoa
	movq	%rax, %rbx
	callq	_LIB_GETBUF
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	movl	(%r15), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_5
## %bb.4:
	incl	%eax
	leaq	L_.str.2(%rip), %rdx
	movl	%ecx, %esi
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_snprintf
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIB_BUFLENGTH,4,2              ## @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"hostnameaddr ERROR have %d (%d needed)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostnameaddr                   ; -- Begin function hostnameaddr
	.p2align	2
_hostnameaddr:                          ; @hostnameaddr
	.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	x0, x1
	bl	_stoa
	mov	x20, x0
	bl	_LIB_GETBUF
	mov	x0, x19
	mov	x1, x20
	bl	_strcmp
Lloh0:
	adrp	x21, _LIB_BUFLENGTH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LIB_BUFLENGTH@GOTPAGEOFF]
	ldr	w1, [x21]
	cbz	x0, LBB0_2
; %bb.1:
	stp	x19, x20, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
	str	x20, [sp]
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_3:
	bl	_snprintf
	ldr	w1, [x21]
	cmp	w0, w1
	b.lt	LBB0_5
; %bb.4:
	add	w8, w0, #1
	stp	x1, x8, [sp]
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_snprintf
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LIB_BUFLENGTH,4,2              ; @LIB_BUFLENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"hostnameaddr ERROR have %d (%d needed)"

.subsections_via_symbols
