	.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, 32(%rbx)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$32, (%rbx)
	setl	%dil
	callq	_assert
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	movl	%edx, %eax
	movzbl	%dh, %ecx
	movl	%ecx, %r8d
	movzbl	%dl, %r9d
	sarl	$24, %edx
	shrl	$16, %eax
	movzbl	%al, %ecx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movl	$40, %edi
	callq	_malloc
	movq	%rax, 32(%rbx)
	movl	4(%rbx), %ecx
	movl	%ecx, (%rax)
	movl	(%rbx), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 4(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rax)
	movq	8(%rbx), %rdx
	movq	%rdx, 16(%rax)
	movl	$-2147483648, %edx              ## imm = 0x80000000
                                        ## kill: def $cl killed $cl killed $rcx
	shrl	%cl, %edx
	movl	$-2147483648, %r14d             ## imm = 0x80000000
	movl	%edx, 8(%rax)
	movl	16(%rbx), %ecx
	movl	%ecx, 12(%rax)
	movl	$40, %edi
	callq	_malloc
	movq	%rax, 24(%rbx)
	movl	(%rbx), %ecx
	shrl	%cl, %r14d
	movl	4(%rbx), %edx
	addl	%r14d, %edx
	movl	%edx, (%rax)
	incl	%ecx
	movl	%ecx, 4(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rax)
	movq	8(%rbx), %rcx
	movq	%rcx, 16(%rax)
	movl	%r14d, 8(%rax)
	movl	16(%rbx), %ecx
	movl	%ecx, 12(%rax)
	movq	$0, 8(%rbx)
	movq	_total@GOTPCREL(%rip), %rax
	addl	$2, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u.%u.%u.%u\n"

	.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, #32]
	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, #32
	cset	w0, lt
	bl	_assert
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
	ldr	w9, [x19, #4]
	asr	w2, w9, #24
Lloh5:
	ldr	w0, [x8]
	ubfx	w3, w9, #16, #8
	ubfx	w4, w9, #8, #8
	and	w5, w9, #0xff
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
	mov	w0, #40
	bl	_malloc
	str	x0, [x19, #32]
	ldp	w9, w8, [x19]
	add	w10, w9, #1
	stp	w8, w10, [x0]
	stp	xzr, xzr, [x0, #24]
	ldr	x8, [x19, #8]
	str	x8, [x0, #16]
	mov	w20, #-2147483648
	lsr	w8, w20, w9
	ldr	w9, [x19, #16]
	stp	w8, w9, [x0, #8]
	mov	w0, #40
	bl	_malloc
	str	x0, [x19, #24]
	ldp	w9, w8, [x19]
	lsr	w10, w20, w9
	add	w8, w10, w8
	add	w9, w9, #1
	stp	w8, w9, [x0]
	stp	xzr, xzr, [x0, #24]
	ldr	x8, [x19, #8]
	str	x8, [x0, #16]
	ldr	w8, [x19, #16]
	stp	w10, w8, [x0, #8]
	str	xzr, [x19, #8]
Lloh8:
	adrp	x8, _total@GOTPAGE
Lloh9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u.%u.%u.%u\n"

	.comm	_total,4,2                      ; @total
.subsections_via_symbols
