	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_newhnamemem                    ## -- Begin function newhnamemem
	.p2align	4, 0x90
_newhnamemem:                           ## @newhnamemem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, _newhnamemem.num(%rip)
	jg	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movl	$64, _newhnamemem.num(%rip)
	movl	$64, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, _newhnamemem.ptr(%rip)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	*(%rbx)
LBB0_3:
	decl	_newhnamemem.num(%rip)
	movq	_newhnamemem.ptr(%rip), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, _newhnamemem.ptr(%rip)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_newhnamemem.ptr,8,3 ## @newhnamemem.ptr
.zerofill __DATA,__bss,_newhnamemem.num,4,2 ## @newhnamemem.num
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"newhnamemem: calloc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_newhnamemem                    ; -- Begin function newhnamemem
	.p2align	2
_newhnamemem:                           ; @newhnamemem
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	adrp	x20, _newhnamemem.num@PAGE
	ldr	w8, [x20, _newhnamemem.num@PAGEOFF]
	adrp	x21, _newhnamemem.ptr@PAGE
	cmp	w8, #0
	b.gt	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w8, #64
	str	w8, [x20, _newhnamemem.num@PAGEOFF]
	mov	w0, #64
	mov	w1, #4
	bl	_calloc
	str	x0, [x21, _newhnamemem.ptr@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	blr	x8
LBB0_3:
	ldr	w8, [x20, _newhnamemem.num@PAGEOFF]
	sub	w8, w8, #1
	str	w8, [x20, _newhnamemem.num@PAGEOFF]
	ldr	x0, [x21, _newhnamemem.ptr@PAGEOFF]
	add	x8, x0, #4
	str	x8, [x21, _newhnamemem.ptr@PAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_newhnamemem.ptr,8,3 ; @newhnamemem.ptr
.zerofill __DATA,__bss,_newhnamemem.num,4,2 ; @newhnamemem.num
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"newhnamemem: calloc"

.subsections_via_symbols
