	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tdup
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_tdup
	.p2align	4, 0x90
_tdup:                                  ## @tdup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$128, (%rbx)
	setl	%dil
	callq	_assert
	movl	$40, %edi
	callq	_malloc
	movq	%rax, 16(%rbx)
	movl	32(%rbx), %ecx
	movl	%ecx, 40(%rax)
	movl	(%rbx), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	movq	$0, 8(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rax)
	movq	8(%rbx), %rdx
	movq	%rdx, 16(%rax)
	movl	$127, %r14d
	movl	$127, %edi
	subl	%ecx, %edi
	callq	_deg2
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	$40, %edi
	callq	_malloc
	movq	%rax, 24(%rbx)
	movl	32(%rbx), %ecx
	movl	%ecx, 40(%rax)
	leaq	40(%rax), %rdi
	subl	(%rbx), %r14d
	movl	%r14d, %esi
	callq	_set_bit
	movl	(%rbx), %eax
	incl	%eax
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rcx)
	movq	8(%rbx), %rax
	movq	%rax, 16(%rcx)
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	movq	%rax, 8(%rcx)
	movq	$0, 8(%rbx)
	movq	_total@GOTPCREL(%rip), %rax
	addl	$2, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_total,4,2                      ## @total
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tdup                           ; -- Begin function tdup
	.p2align	2
_tdup:                                  ; @tdup
	.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	x8, [x0, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19]
	cmp	w8, #128
	cset	w0, lt
	bl	_assert
	mov	w0, #40
	bl	_malloc
	str	x0, [x19, #16]
	ldr	w8, [x19, #32]
	str	w8, [x0, #40]
	ldr	w8, [x19]
	add	w9, w8, #1
	str	w9, [x0]
	stp	xzr, xzr, [x0, #24]
	ldr	x9, [x19, #8]
	stp	xzr, x9, [x0, #8]
	mov	w20, #127
	sub	w0, w20, w8
	bl	_deg2
	ldr	x8, [x19, #16]
	str	x0, [x8, #8]
	mov	w0, #40
	bl	_malloc
	str	x0, [x19, #24]
	ldr	w8, [x19, #32]
	str	w8, [x0, #40]!
	ldr	w8, [x19]
	sub	w1, w20, w8
	bl	_set_bit
	ldr	w8, [x19]
	add	w8, w8, #1
	ldr	x9, [x19, #24]
	str	w8, [x9]
	stp	xzr, xzr, [x9, #24]
	ldp	x8, x10, [x19, #8]
	ldr	x10, [x10, #8]
	stp	x10, x8, [x9, #8]
	str	xzr, [x19, #8]
Lloh0:
	adrp	x8, _total@GOTPAGE
Lloh1:
	ldr	x8, [x8, _total@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #2
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_total,4,2                      ; @total
.subsections_via_symbols
