	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de_bruijn_seq
_de_bruijn_seq:                         ## @de_bruijn_seq
	.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
	cmpq	$0, 16(%rbp)
	je	LBB0_11
## %bb.1:
	cmpq	$0, 24(%rbp)
	je	LBB0_11
## %bb.2:
	movq	%r9, %r15
	movl	%r8d, %ebx
	movl	%ecx, %r14d
	movl	%esi, %r13d
	movl	%edi, %eax
	movq	16(%rbp), %rdi
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%r14d, %eax
	je	LBB0_11
## %bb.3:
	cmpl	%ecx, %edx
	jle	LBB0_9
## %bb.4:
	movl	%ecx, %eax
	cltd
	idivl	%r13d
	testl	%edx, %edx
	jne	LBB0_11
## %bb.5:
	testl	%r13d, %r13d
	jle	LBB0_11
## %bb.6:
	movl	%r13d, %eax
	decq	%rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r15,%rbx,4), %rax
	movq	24(%rbp), %rcx
	movzbl	(%rcx,%rax), %r13d
	movl	%r14d, %r12d
	movq	16(%rbp), %r14
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	%r13b, (%r14,%rax)
	movq	%r14, %rdi
	movl	%r12d, %r14d
	callq	_strlen
	cmpl	%r12d, %eax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rbx), %rax
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	movq	%rax, %rbx
	jne	LBB0_7
	jmp	LBB0_11
LBB0_9:
	movl	%edx, %eax
	subl	%r13d, %eax
	movl	%r13d, %esi
	movslq	%eax, %r13
	movl	(%r15,%r13,4), %eax
	movslq	%edx, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r15,%rcx,4)
	leal	1(%rdx), %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movq	%r15, %r9
	pushq	24(%rbp)
	pushq	16(%rbp)
	callq	_de_bruijn_seq
	addq	$16, %rsp
	movl	(%r15,%r13,4), %r13d
	incl	%r13d
	cmpl	%ebx, %r13d
	jge	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%r15,%rax,4)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movq	%r15, %r9
	pushq	24(%rbp)
	pushq	16(%rbp)
	callq	_de_bruijn_seq
	addq	$16, %rsp
	incl	%r13d
	cmpl	%r13d, %ebx
	jne	LBB0_10
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_de_bruijn_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de_bruijn_seq
_de_bruijn_seq:                         ; @de_bruijn_seq
	.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	x6, LBB0_11
; %bb.1:
	mov	x19, x7
	cbz	x7, LBB0_11
; %bb.2:
	mov	x20, x6
	mov	x22, x5
	mov	x24, x4
	mov	x21, x3
	mov	x23, x2
	mov	x27, x1
	mov	x25, x0
	mov	x0, x6
	bl	_strlen
	cmp	w0, w21
	b.eq	LBB0_11
; %bb.3:
	cmp	w25, w23
	b.le	LBB0_8
; %bb.4:
	sdiv	w8, w23, w27
	msub	w8, w8, w27, w23
	cmp	w8, #0
	ccmp	w27, #1, #8, eq
	b.lt	LBB0_11
; %bb.5:
	add	w8, w27, #1
	sub	x8, x8, #2
	add	x22, x22, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	ldrsw	x8, [x22], #4
	ldrb	w24, [x19, x8]
	mov	x0, x20
	bl	_strlen
	strb	w24, [x20, w0, sxtw]
	mov	x0, x20
	bl	_strlen
	cmp	w0, w21
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x23, #1
	cbnz	x23, LBB0_6
	b	LBB0_11
LBB0_8:
	sub	w8, w25, w27
	sbfiz	x28, x8, #2, #32
	ldr	w8, [x22, x28]
	str	w8, [x22, w25, sxtw #2]
	add	w26, w25, #1
	mov	x0, x26
	mov	x1, x27
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	mov	x5, x22
	mov	x6, x20
	mov	x7, x19
	bl	_de_bruijn_seq
	ldr	w8, [x22, x28]
	add	w27, w8, #1
	cmp	w27, w24
	b.ge	LBB0_11
; %bb.9:
	sxtw	x28, w25
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	w27, [x22, x28, lsl #2]
	mov	x0, x26
	mov	x1, x25
	mov	x2, x23
	mov	x3, x21
	mov	x4, x24
	mov	x5, x22
	mov	x6, x20
	mov	x7, x19
	bl	_de_bruijn_seq
	add	w27, w27, #1
	cmp	w24, w27
	b.ne	LBB0_10
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_de_bruijn_seq
.subsections_via_symbols
