	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _hpcopy
__hpcopy:                               ## @_hpcopy
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_strlen
	movq	%rax, %r13
	addl	$41, %r13d
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_35
LBB0_3:
	movl	$40, %r13d
LBB0_5:
	movq	8(%r14), %rbx
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.8:
	addq	$8, %rbx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rdi)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_strlen
	addl	%eax, %r13d
	incl	%r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
LBB0_6:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_12:
	movl	%r13d, %edi
	callq	_ALIGN
	movl	%eax, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %edi
	callq	_ALIGN
	movl	%eax, %ebx
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%rax,%r15,8)
	leaq	1(%r15), %r15
	jne	LBB0_15
LBB0_16:
	movl	%r15d, %eax
	imull	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%r15d, %ecx
	incl	%ecx
	addl	%r13d, %eax
	leal	(%rax,%rcx,8), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %rcx
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movslq	%r13d, %r13
	movq	%rax, %r12
	leaq	40(%rax), %rbx
	cmpq	$0, (%r14)
	je	LBB0_20
## %bb.19:
	movq	%rbx, (%r12)
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_strlen
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rbx
	incq	%rbx
	jmp	LBB0_21
LBB0_17:
	movq	_TRY_AGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	xorl	%r12d, %r12d
	jmp	LBB0_35
LBB0_20:
	movq	$0, (%r12)
LBB0_21:
	movslq	-64(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	%r13, %rcx
	movq	%rcx, 8(%r12)
	movq	8(%r14), %r13
	testq	%r13, %r13
	je	LBB0_28
## %bb.22:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.23:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %r13
	xorl	%r14d, %r14d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r13), %rax
	addq	$8, %r13
	testq	%rax, %rax
	je	LBB0_27
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rax)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%r12), %rax
	movslq	%r14d, %rcx
	incl	%r14d
	movq	%rbx, (%rax,%rcx,8)
	movq	-8(%r13), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_strlen
	addq	%rax, %rbx
	incq	%rbx
	jmp	LBB0_26
LBB0_27:
	movq	8(%r12), %rcx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_28:
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	$0, (%rcx,%rax,8)
	movq	8(%r12), %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,8), %rax
	movl	32(%r14), %ecx
	movl	%ecx, 32(%r12)
	movl	16(%r14), %ecx
	movl	%ecx, 16(%r12)
	movq	%rax, 24(%r12)
	movq	24(%r14), %r13
	movl	%r15d, %ecx
	testq	%r13, %r13
	je	LBB0_34
## %bb.29:
	cmpq	$0, (%r13)
	je	LBB0_34
## %bb.30:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	incl	%r15d
	leaq	(%rax,%r15,8), %rdi
	movq	%rdi, (%rax)
	movq	(%r13), %rsi
	movl	16(%r14), %edx
	callq	_memcpy
	cmpq	$0, 8(%r13)
	je	LBB0_33
## %bb.31:
	movq	%r14, %r15
	movslq	-68(%rbp), %rsi                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	leaq	(%rbx,%rax,8), %rax
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rax), %rbx
	addq	$8, %rbx
	movl	$8, %r14d
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	%rbx, (%rax,%r14)
	movq	(%r13,%r14), %rsi
	movl	16(%r15), %edx
	movq	%rbx, %rdi
	callq	_memcpy
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	cmpq	$0, 8(%r13,%r14)
	leaq	8(%r14), %r14
	jne	LBB0_32
LBB0_33:
	movq	24(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_34:
	movq	$0, (%rax,%rcx,8)
LBB0_35:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRY_AGAIN,4,2                  ## @TRY_AGAIN
	.no_dead_strip	__hpcopy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _hpcopy
__hpcopy:                               ; @_hpcopy
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x1
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_strlen
	add	w20, w0, #41
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_5
	b	LBB0_10
LBB0_3:
	mov	x20, #0
	b	LBB0_35
LBB0_4:
	mov	w20, #40
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
LBB0_5:
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.6:
	mov	w21, #0
	add	x23, x8, #8
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x23], #8
	cbz	x0, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
	add	w21, w21, #1
	b	LBB0_7
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x20
	bl	_ALIGN
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w21
	add	x24, x25, #1
	sxtw	x27, w0
	ldr	w0, [x19, #16]
	bl	_ALIGN
	mov	x21, x0
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_15
; %bb.12:
	ldr	x9, [x8]
	cbz	x9, LBB0_15
; %bb.13:
	mov	x23, #0
	add	x8, x8, #8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, x23, lsl #3]
	add	x23, x23, #1
	cbnz	x9, LBB0_14
	b	LBB0_16
LBB0_15:
	mov	w23, #0
LBB0_16:
	add	w26, w23, #1
	add	w8, w26, w24
	madd	w9, w23, w21, w27
	add	w0, w9, w8, lsl #3
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_19
; %bb.17:
	add	x22, x20, #40
	ldr	x8, [x19]
	cbz	x8, LBB0_20
; %bb.18:
	str	x22, [x20]
	ldr	x1, [x19]
	mov	x0, x22
	bl	_strcpy
	mov	x0, x22
	bl	_strlen
	add	x8, x0, x22
	add	x22, x8, #1
	b	LBB0_21
LBB0_19:
Lloh0:
	adrp	x8, _TRY_AGAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRY_AGAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22]
	b	LBB0_35
LBB0_20:
	str	xzr, [x20]
LBB0_21:
	add	x8, x20, x27
	str	x8, [x20, #8]
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_28
; %bb.22:
	ldr	x9, [x10]
	cbz	x9, LBB0_28
; %bb.23:
	mov	w8, #0
	add	x27, x10, #8
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x27], #8
	cbz	x9, LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x9]
	cbz	w9, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x9, [x20, #8]
	add	w28, w8, #1
	str	x22, [x9, w8, sxtw #3]
	ldur	x1, [x27, #-8]
	mov	x0, x22
	bl	_strcpy
	mov	x0, x22
	bl	_strlen
	add	x8, x0, x22
	add	x22, x8, #1
	mov	x8, x28
	b	LBB0_24
LBB0_27:
	ldr	x8, [x20, #8]
LBB0_28:
	str	xzr, [x8, x25, lsl #3]
	ldr	x27, [x20, #8]
	add	x8, x27, x24, lsl #3
	ldr	w9, [x19, #32]
	str	w9, [x20, #32]
	ldr	w9, [x19, #16]
	str	w9, [x20, #16]
	str	x8, [x20, #24]
	ldr	x22, [x19, #24]
	cbz	x22, LBB0_34
; %bb.29:
	ldr	x9, [x22]
	cbz	x9, LBB0_34
; %bb.30:
	add	x0, x8, x26, lsl #3
	str	x0, [x8]
	ldr	x1, [x22]
	ldr	w2, [x19, #16]
	bl	_memcpy
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_33
; %bb.31:
	mov	x25, #0
	sxtw	x26, w21
	add	x8, x24, w23, uxtw
	add	x8, x27, x8, lsl #3
	add	x8, x8, x26
	add	x21, x8, #8
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	add	x24, x22, x25
	ldr	x8, [x20, #24]
	add	x8, x8, x25
	str	x21, [x8, #8]
	ldr	x1, [x24, #8]
	ldr	w2, [x19, #16]
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x24, #16]
	add	x25, x25, #8
	add	x21, x21, x26
	cbnz	x8, LBB0_32
LBB0_33:
	ldr	x8, [x20, #24]
LBB0_34:
	str	xzr, [x8, w23, uxtw #3]
LBB0_35:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRY_AGAIN,4,2                  ; @TRY_AGAIN
	.no_dead_strip	__hpcopy
.subsections_via_symbols
