	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_speed_map
_build_speed_map:                       ## @build_speed_map
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %r13d
	leaq	(,%r13,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	32(%r15), %r10
	movq	16(%r15), %r9
	movq	24(%r15), %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r10, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_21
## %bb.1:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	shll	$6, %eax
	movslq	%eax, %r14
	movl	%r13d, %r11d
	andl	$-4, %r11d
	leaq	-4(%r11), %r9
	movq	%r10, %rcx
	movq	%r9, %r10
	shrq	$2, %r10
	incq	%r10
	movq	%r10, %r8
	andq	$-2, %r8
	movl	%r13d, %r15d
	andl	$3, %r15d
	leaq	48(%rcx), %rbx
	xorl	%r12d, %r12d
	movq	_IEEE1394_SPEED_MAX@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$64, %r12
	addq	$512, %rbx                      ## imm = 0x200
	addq	$512, %rcx                      ## imm = 0x200
	cmpq	%r14, %r12
	jge	LBB0_20
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	cmpl	$4, -64(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%r12,8), %rax
	leaq	8(%rsi), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r12,%r13), %rax
	leaq	(%rdi,%rax,8), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdx
	movq	%rax, %r13
	notq	%r13
	addq	%rdx, %r13
	testq	%r15, %r15
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rdi
	movq	%rdi, (%rcx,%rax,8)
	incq	%rax
	decq	%rdx
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, %r13
	movq	-112(%rbp), %r13                ## 8-byte Reload
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi), %rdx
	movq	%rdx, (%rcx,%rax,8)
	movq	(%rsi), %rdx
	movq	%rdx, 8(%rcx,%rax,8)
	movq	(%rsi), %rdx
	movq	%rdx, 16(%rcx,%rax,8)
	movq	(%rsi), %rdx
	movq	%rdx, 24(%rcx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %r13
	jne	LBB0_18
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r9, %r9
	je	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movq	%r8, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -48(%rbx,%rax,8)
	movdqu	%xmm0, -32(%rbx,%rax,8)
	movdqu	%xmm0, -16(%rbx,%rax,8)
	movdqu	%xmm0, (%rbx,%rax,8)
	addq	$8, %rax
	addq	$-2, %rdi
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r10b
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	addq	%r12, %rax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movdqu	%xmm0, (%rdx,%rax,8)
	movdqu	%xmm0, 16(%rdx,%rax,8)
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r11, %rax
	cmpq	%r13, %r11
	je	LBB0_2
	jmp	LBB0_14
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	testb	$1, %r10b
	jne	LBB0_12
	jmp	LBB0_13
LBB0_20:
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	___bzero
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_21:
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_48
## %bb.22:
	movq	8(%r15), %r11
	decl	%eax
	leaq	(%r11,%rax,4), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	decl	%edx
	movq	_SELFID_PORT_CHILD@GOTPCREL(%rip), %r8
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	24(%rax), %rsi
	cmpq	%r9, %rsi
	cmovgeq	%r9, %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, (%rdi,%rbx,8)
	movq	%rdi, %rbx
	decl	%edx
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=1
	addq	$-40, %rax
	cmpq	%rax, %r11
	ja	LBB0_48
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rsi
	movq	32(%rax), %rbx
	movq	(%r8), %rdi
	testq	%rbx, %rbx
	je	LBB0_35
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, %rsi
	jne	LBB0_27
## %bb.41:                              ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	cmpq	%rdi, 8(%rax)
	je	LBB0_42
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 16(%rax)
	jne	LBB0_29
LBB0_43:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	cmpq	%rdi, 24(%rax)
	je	LBB0_44
LBB0_30:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, %rbx
	jne	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
LBB0_32:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 40(%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_33
## %bb.45:                              ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	cmpq	%rdi, 48(%rax)
	je	LBB0_46
LBB0_34:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 56(%rax)
	jne	LBB0_24
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 8(%rax)
	jne	LBB0_28
LBB0_42:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	cmpq	%rdi, 16(%rax)
	je	LBB0_43
LBB0_29:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 24(%rax)
	jne	LBB0_30
LBB0_44:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	cmpq	%rdi, %rbx
	je	LBB0_31
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 48(%rax)
	jne	LBB0_34
LBB0_46:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	cmpq	%rdi, 56(%rax)
	jne	LBB0_24
LBB0_47:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, %rsi
	jne	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	cmpq	%rdi, 8(%rax)
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rsi
	incq	(%r12,%rsi,8)
LBB0_39:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%edx, %rbx
	cmpq	%rdi, 16(%rax)
	jne	LBB0_23
## %bb.40:                              ##   in Loop: Header=BB0_25 Depth=1
	incq	(%r12,%rbx,8)
	jmp	LBB0_23
LBB0_48:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_81
## %bb.49:
	leaq	-1(%r13), %rax
	movl	%r13d, %r8d
	andl	$3, %r8d
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpq	$3, %rax
	jae	LBB0_51
## %bb.50:
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_51:
	movl	%r13d, %edx
	andl	$-4, %edx
	xorl	%eax, %eax
	movq	%r10, %rsi
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rax,8), %rdi
	movq	%rdi, (%rsi)
	movq	8(%rbx,%rax,8), %rdi
	movq	%rdi, 520(%rsi)
	movq	16(%rbx,%rax,8), %rdi
	movq	%rdi, 1040(%rsi)
	movq	24(%rbx,%rax,8), %rdi
	movq	%rdi, 1560(%rsi)
	addq	$4, %rax
	addq	$2080, %rsi                     ## imm = 0x820
	cmpq	%rax, %rdx
	jne	LBB0_52
LBB0_53:
	testq	%r8, %r8
	je	LBB0_56
## %bb.54:
	movq	%rax, %rdx
	shlq	$9, %rdx
	leaq	(%rdx,%rax,8), %rdx
	addq	%r10, %rdx
	leaq	(%rbx,%rax,8), %rax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rsi,8), %rdi
	movq	%rdi, (%rdx)
	incq	%rsi
	addq	$520, %rdx                      ## imm = 0x208
	cmpq	%rsi, %r8
	jne	LBB0_55
LBB0_56:
	cmpl	$2, -64(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_62
## %bb.57:
	movl	$1, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_59
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_59 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incq	%rax
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%rax, %rdx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %rax
	je	LBB0_62
LBB0_59:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_61 Depth 2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%r12,%rax,8), %r13
	testl	%r13d, %r13d
	jle	LBB0_58
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ebx
	leal	1(%r13), %r14d
	.p2align	4, 0x90
LBB0_61:                                ##   Parent Loop BB0_59 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rbx
	addq	(%r12,%rbx,8), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%r12,%rax,8)
	movq	(%r15,%rbx,8), %rdi
	movq	(%r15,%rax,8), %rsi
	callq	_min
	movq	%rax, (%r15,%rbx,8)
	movl	(%r12,%rbx,8), %eax
	notl	%eax
	addl	%eax, %ebx
	decl	%r14d
	cmpl	$1, %r14d
	ja	LBB0_61
	jmp	LBB0_58
LBB0_62:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	jle	LBB0_81
## %bb.63:
	movl	$1, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$64, -92(%rbp)                  ## 4-byte Folded Spill
	xorl	%r9d, %r9d
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	jmp	LBB0_66
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_66 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %r9
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
LBB0_65:                                ##   in Loop: Header=BB0_66 Depth=1
	incq	-120(%rbp)                      ## 8-byte Folded Spill
	addl	$64, -92(%rbp)                  ## 4-byte Folded Spill
	decq	%rsi
	cmpq	%r13, %rax
	je	LBB0_76
LBB0_66:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_70 Depth 2
                                        ##       Child Loop BB0_72 Depth 3
                                        ##       Child Loop BB0_75 Depth 3
	movq	(%r12,%r9,8), %r8
	movq	%r9, %r14
	subq	%r8, %r14
	movslq	%r14d, %rax
	cmpq	%r9, %rax
	jle	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_66 Depth=1
	incq	%r9
	movq	%r9, %rax
	jmp	LBB0_65
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_66 Depth=1
	movq	%rax, %rdi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	leaq	1(%r9), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movl	%r9d, %eax
	shll	$6, %eax
	shll	$6, %r8d
	subl	%r8d, %eax
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_70
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_70 Depth=2
	incq	%r15
	movl	-124(%rbp), %eax                ## 4-byte Reload
	addl	$64, %eax
	movq	%r15, %rdi
	cmpl	-120(%rbp), %r15d               ## 4-byte Folded Reload
	movq	%rcx, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_64
LBB0_70:                                ##   Parent Loop BB0_66 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_72 Depth 3
                                        ##       Child Loop BB0_75 Depth 3
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	cltq
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	testq	%r14, %r14
	jle	LBB0_73
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leaq	(%r10,%rax,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_72:                                ##   Parent Loop BB0_66 Depth=1
                                        ##     Parent Loop BB0_70 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rdi, %r14
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-8(%r15,%r13,8), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rbx,%rax,8), %rsi
	callq	_min
	movq	%r14, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movq	%rax, -8(%r15,%r13,8)
	movslq	%r12d, %r12
	leaq	(%rdi,%r12), %rcx
	movq	%rax, (%r10,%rcx,8)
	movl	%r13d, %eax
	addl	$64, %r12d
	incq	%r13
	cmpq	%rax, %r14
	jg	LBB0_72
LBB0_73:                                ##   in Loop: Header=BB0_70 Depth=2
	movq	-152(%rbp), %rax                ## 8-byte Reload
	cmpq	-112(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rbx, %rcx
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%rdi, %r15
	jge	LBB0_69
## %bb.74:                              ##   in Loop: Header=BB0_70 Depth=2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	addq	-120(%rbp), %rax                ## 8-byte Folded Reload
	leaq	(%r10,%rax,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	-92(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_75:                                ##   Parent Loop BB0_66 Depth=1
                                        ##     Parent Loop BB0_70 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13,%r12,8), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	callq	_min
	movq	-80(%rbp), %r10                 ## 8-byte Reload
	movq	%rax, (%r13,%r12,8)
	movslq	%ebx, %rbx
	leaq	(%r15,%rbx), %rcx
	movq	%rax, (%r10,%rcx,8)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	$64, %ebx
	incq	%r12
	cmpq	%r12, %r14
	jne	LBB0_75
	jmp	LBB0_69
LBB0_76:
	movq	_SELFID_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	cmpq	%rdx, %rsi
	jle	LBB0_81
## %bb.77:
	decq	%r13
	xorl	%ecx, %ecx
	cmpq	%rdx, (%rbx,%rcx,8)
	jne	LBB0_79
	jmp	LBB0_78
	.p2align	4, 0x90
LBB0_80:                                ##   in Loop: Header=BB0_79 Depth=1
	movq	(%rax), %rdx
	incq	%rcx
	cmpq	%rdx, (%rbx,%rcx,8)
	jne	LBB0_79
LBB0_78:
	movq	%rsi, (%rbx,%rcx,8)
LBB0_79:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r13
	jne	LBB0_80
LBB0_81:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_83
## %bb.82:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_83:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE1394_SPEED_MAX,8,3         ## @IEEE1394_SPEED_MAX
	.comm	_SELFID_PORT_CHILD,8,3          ## @SELFID_PORT_CHILD
	.comm	_SELFID_SPEED_UNKNOWN,8,3       ## @SELFID_SPEED_UNKNOWN
	.no_dead_strip	_build_speed_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_speed_map
_build_speed_map:                       ; @build_speed_map
	.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
	sub	sp, sp, #48
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	mov	w8, w1
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	lsl	x1, x8, #3
	mov	x9, x1
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0xffffffff0
	sub	x28, x8, x9
	mov	sp, x28
	ldp	x22, x25, [x0, #24]
	ldr	x27, [x0, #16]
	subs	w26, w20, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x8, #0
	lsl	w9, w20, #6
	sxtw	x9, w9
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	and	x10, x10, #0xfffffff8
	add	x11, x25, #32
Lloh5:
	adrp	x12, _IEEE1394_SPEED_MAX@GOTPAGE
Lloh6:
	ldr	x12, [x12, _IEEE1394_SPEED_MAX@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #64
	add	x11, x11, #512
	cmp	x8, x9
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	cmp	w20, #8
	b.lo	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x13, [x29, #-96]                ; 8-byte Folded Reload
	add	x13, x8, x13
	add	x13, x25, x13, lsl #3
	add	x14, x25, x8, lsl #3
	add	x15, x12, #8
	cmp	x14, x15
	ccmp	x13, x12, #0, lo
	b.hi	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ld1r.2d	{ v0 }, [x12]
	mov	x13, x10
	mov	x14, x11
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d1, [x12]
	dup.2d	v1, v1[0]
	stp	q0, q0, [x14, #-32]
	stp	q0, q1, [x14], #64
	subs	x13, x13, #8
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, x10
	ldur	x13, [x29, #-96]                ; 8-byte Folded Reload
	cmp	x10, x13
	b.eq	LBB0_2
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x14, #0
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x14, x8
	add	x13, x25, x13, lsl #3
	ldur	x15, [x29, #-96]                ; 8-byte Folded Reload
	sub	x14, x15, x14
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x15, [x12]
	str	x15, [x13], #8
	subs	x14, x14, #1
	b.ne	LBB0_10
	b	LBB0_2
LBB0_11:
	mov	x0, x28
	bl	_bzero
LBB0_12:
	ldr	w8, [x21]
	subs	w9, w8, #1
	b.lt	LBB0_39
; %bb.13:
	ldr	x8, [x21, #8]
	add	x9, x8, w9, uxtw #2
Lloh7:
	adrp	x10, _SELFID_PORT_CHILD@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SELFID_PORT_CHILD@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x11, [x9, #24]
	cmp	x11, x27
	csel	x11, x11, x27, lt
	str	x11, [x22, x12, lsl #3]
	sub	w26, w26, #1
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	sub	x9, x9, #40
	cmp	x8, x9
	b.hi	LBB0_39
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, #32]
	ldr	x13, [x9]
	ldr	x11, [x10]
	cmp	x13, x11
	cbz	x12, LBB0_33
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x13, x26
	sbfiz	x13, x13, #3, #32
	ldr	x14, [x28, x13]
	add	x14, x14, #1
	str	x14, [x28, x13]
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x13, [x9, #8]
	cmp	x13, x11
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x13, x26
	sbfiz	x13, x13, #3, #32
	ldr	x14, [x28, x13]
	add	x14, x14, #1
	str	x14, [x28, x13]
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x13, [x9, #16]
	cmp	x13, x11
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x13, x26
	sbfiz	x13, x13, #3, #32
	ldr	x14, [x28, x13]
	add	x14, x14, #1
	str	x14, [x28, x13]
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x13, [x9, #24]
	cmp	x13, x11
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x13, x26
	sbfiz	x13, x13, #3, #32
	ldr	x14, [x28, x13]
	add	x14, x14, #1
	str	x14, [x28, x13]
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	cmp	x12, x11
	b.ne	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x12, x26
	sbfiz	x12, x12, #3, #32
	ldr	x13, [x28, x12]
	add	x13, x13, #1
	str	x13, [x28, x12]
LBB0_27:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x12, [x9, #40]
	cmp	x12, x11
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x12, x26
	sbfiz	x12, x12, #3, #32
	ldr	x13, [x28, x12]
	add	x13, x13, #1
	str	x13, [x28, x12]
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x12, [x9, #48]
	cmp	x12, x11
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x12, x26
	sbfiz	x12, x12, #3, #32
	ldr	x13, [x28, x12]
	add	x13, x13, #1
	str	x13, [x28, x12]
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x12, [x9, #56]
	cmp	x12, x11
	b.ne	LBB0_15
; %bb.32:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x11, x26
	sbfiz	x11, x11, #3, #32
	ldr	x12, [x28, x11]
	add	x12, x12, #1
	str	x12, [x28, x11]
	b	LBB0_15
LBB0_33:                                ;   in Loop: Header=BB0_16 Depth=1
	b.ne	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x12, x26
	sbfiz	x12, x12, #3, #32
	ldr	x13, [x28, x12]
	add	x13, x13, #1
	str	x13, [x28, x12]
LBB0_35:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x12, [x9, #8]
	cmp	x12, x11
	b.ne	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x12, x26
	sbfiz	x12, x12, #3, #32
	ldr	x13, [x28, x12]
	add	x13, x13, #1
	str	x13, [x28, x12]
LBB0_37:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x13, [x9, #16]
	sxtw	x12, w26
	cmp	x13, x11
	b.ne	LBB0_14
; %bb.38:                               ;   in Loop: Header=BB0_16 Depth=1
	lsl	x11, x12, #3
	ldr	x13, [x28, x11]
	add	x13, x13, #1
	str	x13, [x28, x11]
	b	LBB0_14
LBB0_39:
	cmp	w20, #1
	b.lt	LBB0_68
; %bb.40:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x9, x25
	mov	x10, x22
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	str	x11, [x9]
	add	x9, x9, #520
	subs	x8, x8, #1
	b.ne	LBB0_41
; %bb.42:
	cmp	w20, #1
	b.le	LBB0_48
; %bb.43:
	mov	w21, #1
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=1
	add	x21, x21, #1
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x21, x8
	b.eq	LBB0_48
LBB0_45:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_47 Depth 2
	ldr	x23, [x28, x21, lsl #3]
	cmp	w23, #1
	b.lt	LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=1
	sub	w24, w21, #1
	add	w26, w23, #1
LBB0_47:                                ;   Parent Loop BB0_45 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sbfiz	x19, x24, #3, #32
	ldr	x8, [x28, x19]
	add	x23, x23, x8
	lsl	x8, x21, #3
	str	x23, [x28, x8]
	ldr	x0, [x22, x19]
	ldr	x1, [x22, x8]
	bl	_min
	str	x0, [x22, x19]
	ldr	w8, [x28, x19]
	mvn	w8, w8
	add	w24, w24, w8
	sub	w26, w26, #1
	cmp	w26, #1
	b.hi	LBB0_47
	b	LBB0_44
LBB0_48:
	cmp	w20, #1
	b.lt	LBB0_68
; %bb.49:
	stp	x27, x28, [x29, #-128]          ; 16-byte Folded Spill
	mov	x26, #0
	mov	w8, #64
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
	mov	w21, #1
	b	LBB0_52
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
	ldur	x28, [x29, #-120]               ; 8-byte Folded Reload
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	add	x21, x21, #1
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	add	w8, w8, #64
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
	mov	x26, x9
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x9, x8
	b.eq	LBB0_62
LBB0_52:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_56 Depth 2
                                        ;       Child Loop BB0_58 Depth 3
                                        ;       Child Loop BB0_61 Depth 3
	ldr	x8, [x28, x26, lsl #3]
	sub	x27, x26, x8
	sxtw	x23, w27
	cmp	x23, x26
	b.le	LBB0_54
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	add	x9, x26, #1
	b	LBB0_51
LBB0_54:                                ;   in Loop: Header=BB0_52 Depth=1
	add	x9, x26, #1
	stur	x9, [x29, #-104]                ; 8-byte Folded Spill
	lsl	w9, w26, #6
	sub	w24, w9, w8, lsl #6
	b	LBB0_56
LBB0_55:                                ;   in Loop: Header=BB0_56 Depth=2
	add	x23, x23, #1
	add	w24, w24, #64
	cmp	w23, w21
	b.eq	LBB0_50
LBB0_56:                                ;   Parent Loop BB0_52 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_58 Depth 3
                                        ;       Child Loop BB0_61 Depth 3
	cmp	x27, #1
	b.lt	LBB0_59
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=2
	mov	w20, #0
	add	x19, x25, w24, sxtw #3
	mov	x28, x27
LBB0_58:                                ;   Parent Loop BB0_52 Depth=1
                                        ;     Parent Loop BB0_56 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x19]
	ldr	x1, [x22, x26, lsl #3]
	bl	_min
	str	x0, [x19], #8
	add	x8, x23, w20, sxtw
	str	x0, [x25, x8, lsl #3]
	add	w20, w20, #64
	subs	x28, x28, #1
	b.ne	LBB0_58
LBB0_59:                                ;   in Loop: Header=BB0_56 Depth=2
	ldp	x9, x8, [x29, #-104]            ; 16-byte Folded Reload
	cmp	x9, x8
	b.ge	LBB0_55
; %bb.60:                               ;   in Loop: Header=BB0_56 Depth=2
	add	x8, x21, w24, sxtw
	add	x19, x25, x8, lsl #3
	ldur	x20, [x29, #-96]                ; 8-byte Folded Reload
	ldur	w28, [x29, #-108]               ; 4-byte Folded Reload
LBB0_61:                                ;   Parent Loop BB0_52 Depth=1
                                        ;     Parent Loop BB0_56 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x0, [x19]
	ldr	x1, [x22, x26, lsl #3]
	bl	_min
	str	x0, [x19], #8
	add	x8, x23, w28, sxtw
	str	x0, [x25, x8, lsl #3]
	add	w28, w28, #64
	sub	x20, x20, #1
	cmp	x21, x20
	b.ne	LBB0_61
	b	LBB0_55
LBB0_62:
Lloh9:
	adrp	x8, _SELFID_SPEED_UNKNOWN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SELFID_SPEED_UNKNOWN@GOTPAGEOFF]
	ldr	x10, [x8]
	ldur	x12, [x29, #-128]               ; 8-byte Folded Reload
	cmp	x12, x10
	b.le	LBB0_68
; %bb.63:
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
LBB0_64:                                ; =>This Inner Loop Header: Depth=1
	sub	x9, x9, #1
	ldr	x11, [x22]
	cmp	x11, x10
	b.ne	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_64 Depth=1
	str	x12, [x22]
LBB0_66:                                ;   in Loop: Header=BB0_64 Depth=1
	cbz	x9, LBB0_68
; %bb.67:                               ;   in Loop: Header=BB0_64 Depth=1
	ldr	x10, [x8]
	add	x22, x22, #8
	b	LBB0_64
LBB0_68:
	ldur	x8, [x29, #-88]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_70
; %bb.69:
	sub	sp, x29, #80
	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
LBB0_70:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE1394_SPEED_MAX,8,3         ; @IEEE1394_SPEED_MAX
	.comm	_SELFID_PORT_CHILD,8,3          ; @SELFID_PORT_CHILD
	.comm	_SELFID_SPEED_UNKNOWN,8,3       ; @SELFID_SPEED_UNKNOWN
	.no_dead_strip	_build_speed_map
.subsections_via_symbols
