	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chain_frchains_together_1
_chain_frchains_together_1:             ## @chain_frchains_together_1
	.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
	leaq	-56(%rbp), %r14
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movl	%edi, %r15d
	leaq	-64(%rbp), %r13
	leaq	-48(%rbp), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	movq	%rax, (%r13)
	movq	(%rbx), %r12
	movl	%r15d, %edi
	callq	_seg_info
	movq	%r12, (%rax)
	movq	(%rbx), %r13
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r14), %rax
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	16(%rbx), %r14
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
	callq	_assert
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_seg_info
	cmpq	$0, 8(%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %r12
	movl	%r15d, %edi
	callq	_seg_info
	movq	%r12, 8(%rax)
	jmp	LBB0_5
LBB0_7:
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	leaq	-56(%rbp), %rax
	cmpq	%rax, %r14
	setne	%dil
	callq	_assert
	movq	$0, 8(%r14)
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chain_frchains_together_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chain_frchains_together_1
_chain_frchains_together_1:             ; @chain_frchains_together_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	add	x22, sp, #16
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	add	x24, sp, #8
	add	x23, x22, #8
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	str	x8, [x24]
	ldr	x24, [x20]
	mov	x0, x21
	bl	_seg_info
	str	x24, [x0]
	ldr	x24, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20, #32]
	cbz	x20, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	str	x8, [x23]
	ldr	x19, [x20, #16]
	mov	x23, x19
	ldr	x8, [x23], #8
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_seg_info
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x25, [x20, #8]
	mov	x0, x21
	bl	_seg_info
	str	x25, [x0, #8]
	b	LBB0_2
LBB0_7:
	add	x19, sp, #16
LBB0_8:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	cmp	x19, x22
	cset	w0, ne
	bl	_assert
	str	xzr, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_chain_frchains_together_1
.subsections_via_symbols
