	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pw_dup                         ## -- Begin function pw_dup
	.p2align	4, 0x90
_pw_dup:                                ## @pw_dup
	.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, %r15
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_strlen
	movq	%rax, %rbx
	addl	$49, %ebx
	jmp	LBB0_3
LBB0_1:
	movl	$48, %ebx
LBB0_3:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_strlen
	addl	%eax, %ebx
	incl	%ebx
LBB0_5:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_strlen
	addl	%eax, %ebx
	incl	%ebx
LBB0_7:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_strlen
	addl	%eax, %ebx
	incl	%ebx
LBB0_9:
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_strlen
	addl	%eax, %ebx
	incl	%ebx
LBB0_11:
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_strlen
	addl	%eax, %ebx
	incl	%ebx
LBB0_13:
	movslq	%ebx, %rdi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_26
## %bb.14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$48, %edx
	callq	_memcpy
	movq	%r14, %rdi
	addq	$48, %rdi
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	movq	%rdi, (%r14)
	callq	_stpcpy
	movq	%rax, %rdi
	incq	%rdi
LBB0_16:
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:
	movq	%rdi, 8(%r14)
	callq	_stpcpy
	movq	%rax, %rdi
	incq	%rdi
LBB0_18:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.19:
	movq	%rdi, 16(%r14)
	callq	_stpcpy
	movq	%rax, %rdi
	incq	%rdi
LBB0_20:
	movq	24(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.21:
	movq	%rdi, 24(%r14)
	callq	_stpcpy
	movq	%rax, %rdi
	incq	%rdi
LBB0_22:
	movq	32(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.23:
	movq	%rdi, 32(%r14)
	callq	_stpcpy
	movq	%rax, %rdi
	incq	%rdi
LBB0_24:
	movq	40(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	movq	%rdi, 40(%r14)
	callq	_strcpy
LBB0_26:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pw_dup                         ; -- Begin function pw_dup
	.p2align	2
_pw_dup:                                ; @pw_dup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_25
; %bb.1:
	bl	_strlen
	add	w20, w0, #49
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_3
LBB0_2:
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
LBB0_5:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
LBB0_7:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
LBB0_9:
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
LBB0_11:
	sxtw	x0, w20
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_24
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #48
	bl	_memcpy
	add	x0, x20, #48
	ldr	x1, [x19]
	cbz	x1, LBB0_14
; %bb.13:
	str	x0, [x20]
	bl	_stpcpy
	add	x0, x0, #1
LBB0_14:
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_16
; %bb.15:
	str	x0, [x20, #8]
	bl	_stpcpy
	add	x0, x0, #1
LBB0_16:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_18
; %bb.17:
	str	x0, [x20, #16]
	bl	_stpcpy
	add	x0, x0, #1
LBB0_18:
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_20
; %bb.19:
	str	x0, [x20, #24]
	bl	_stpcpy
	add	x0, x0, #1
LBB0_20:
	ldr	x1, [x19, #32]
	cbz	x1, LBB0_22
; %bb.21:
	str	x0, [x20, #32]
	bl	_stpcpy
	add	x0, x0, #1
LBB0_22:
	ldr	x1, [x19, #40]
	cbz	x1, LBB0_24
; %bb.23:
	str	x0, [x20, #40]
	bl	_strcpy
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_25:
	mov	w20, #48
	ldr	x0, [x19, #8]
	cbnz	x0, LBB0_2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
