	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inboth
_inboth:                                ## @inboth
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.2:
	movq	%rdi, %r13
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r12
	movq	$0, (%rax)
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.4:
	leaq	8(%rbx), %r14
	xorl	%eax, %eax
	movq	%r13, %r15
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	8(,%rax,8), %r15
	addq	%r13, %r15
	movq	8(%r13,%rax,8), %rdi
	incq	%rax
	testq	%rdi, %rdi
	je	LBB0_15
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_comsubs
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rbx, %rsi
	callq	_addlists
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_freelist
	movq	%rbx, %rdi
	callq	_free
	testq	%r12, %r12
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r15), %rdi
	callq	_comsubs
	movq	%rax, %rbx
	addq	$8, %r14
	jmp	LBB0_11
LBB0_12:
	callq	_freelist
LBB0_14:
	xorl	%r12d, %r12d
LBB0_15:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_inboth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inboth
_inboth:                                ; @inboth
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, #0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_12
; %bb.2:
	mov	x21, x0
	mov	w0, #8
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.3:
	str	xzr, [x19]
	ldr	x0, [x21]
	cbz	x0, LBB0_12
; %bb.4:
	mov	x23, #0
	add	x24, x20, #8
	mov	x25, x21
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	add	x25, x21, x23, lsl #3
	ldr	x0, [x25]
	cbz	x0, LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x1, [x20]
	cbz	x1, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_comsubs
	mov	x22, x0
	mov	x26, x24
	cbz	x0, LBB0_11
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_addlists
	mov	x19, x0
	mov	x0, x22
	bl	_freelist
	mov	x0, x22
	bl	_free
	cbz	x19, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x1, [x26]
	cbz	x1, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [x25]
	bl	_comsubs
	mov	x22, x0
	add	x26, x26, #8
	cbnz	x0, LBB0_8
LBB0_11:
	mov	x0, x19
	bl	_freelist
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_inboth
.subsections_via_symbols
