	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gomp_team_start
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_gomp_team_start
	.p2align	4, 0x90
_gomp_team_start:                       ## @gomp_team_start
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_gomp_thread
	movq	%rax, %rbx
	movq	56(%rax), %r12
	testq	%r12, %r12
	setne	%r14b
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_new_team
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	56(%rbx), %rax
	movq	%rax, 48(%r15)
	movups	24(%rbx), %xmm0
	movups	40(%rbx), %xmm1
	movups	%xmm1, 32(%r15)
	movups	%xmm0, 16(%r15)
	movq	%r15, 56(%rbx)
	movq	%rdi, 48(%rbx)
	movl	$0, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	cmpl	$1, %r13d
	je	LBB0_35
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movb	%r14b, -56(%rbp)                ## 1-byte Spill
	movl	$1, %ebx
	testq	%r12, %r12
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r11
	je	LBB0_2
LBB0_17:
	movq	_gomp_cpu_affinity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%r11, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_18
## %bb.19:
	leaq	-60(%rbp), %r12
	movq	%r12, %rdi
	callq	_pthread_attr_init
	movq	_PTHREAD_CREATE_DETACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_pthread_attr_setdetachstate
	movq	_gomp_thread_attr@GOTPCREL(%rip), %rdi
	leaq	-104(%rbp), %rsi
	callq	_pthread_attr_getstacksize
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	-104(%rbp), %rsi
	leaq	-60(%rbp), %rdi
	callq	_pthread_attr_setstacksize
	jmp	LBB0_21
LBB0_2:
	movq	_gomp_threads_used@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %r9d
	cmpl	%r13d, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jae	LBB0_6
## %bb.3:
	movq	%r11, %r12
	movq	_gomp_threads_dock@GOTPCREL(%rip), %rdi
	movl	%r13d, %esi
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.5:
	callq	_gomp_barrier_reinit
	movl	%ebx, %r9d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%r12, %r11
	movq	_gomp_threads_used@GOTPCREL(%rip), %rax
LBB0_6:
	movl	%r13d, (%rax)
	movl	$1, %ebx
	cmpl	$2, %r9d
	jb	LBB0_13
## %bb.7:
	movl	%r9d, %r12d
	decq	%r12
	movl	$1, %ecx
	cmpl	$2, %r9d
	je	LBB0_10
## %bb.8:
	movq	%r12, %rsi
	andq	$-2, %rsi
	movl	$1, %ecx
	movq	_gomp_threads@GOTPCREL(%rip), %r10
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rbx
	movq	(%rbx,%rcx,8), %rbx
	movq	%r15, 56(%rbx)
	movq	%rdi, 48(%rbx)
	movl	%ecx, 24(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	%r8, (%rbx)
	movq	%r14, 16(%rbx)
	addq	$8, %rbx
	movq	8(%r15), %rdx
	movq	%rbx, (%rdx,%rcx,8)
	movq	(%r10), %rdx
	movq	8(%rdx,%rcx,8), %rdx
	movq	%r15, 56(%rdx)
	movq	%rdi, 48(%rdx)
	leaq	1(%rcx), %rbx
	movl	%ebx, 24(%rdx)
	movups	%xmm0, 32(%rdx)
	movq	%r8, (%rdx)
	movq	%r14, 16(%rdx)
	addq	$8, %rdx
	movq	8(%r15), %rax
	movq	%rdx, 8(%rax,%rcx,8)
	addq	$2, %rcx
	cmpq	%rsi, %rbx
	jne	LBB0_9
LBB0_10:
	testb	$1, %r12b
	je	LBB0_12
## %bb.11:
	movq	_gomp_threads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movq	%r15, 56(%rax)
	movq	%rdi, 48(%rax)
	movl	%ecx, 24(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movq	%r8, (%rax)
	movq	%r14, 16(%rax)
	addq	$8, %rax
	movq	8(%r15), %rdx
	movq	%rax, (%rdx,%rcx,8)
LBB0_12:
	movl	%r9d, %ebx
LBB0_13:
	cmpl	%r13d, %ebx
	jne	LBB0_15
LBB0_14:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testq	%r11, %r11
	je	LBB0_32
	jmp	LBB0_33
LBB0_18:
	movq	_gomp_thread_attr@GOTPCREL(%rip), %r12
LBB0_21:
	movb	-56(%rbp), %r14b                ## 1-byte Reload
	movl	%r13d, %edi
	subl	%ebx, %edi
	shll	$6, %edi
	callq	_gomp_alloca
	movq	%r13, %rcx
	movq	%rax, %r13
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	%ebx, %ecx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	$0, %esi
	jbe	LBB0_28
## %bb.22:
	movb	%r14b, %sil
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	incl	%ebx
	addq	$64, %r13
	cmpl	%ebx, -56(%rbp)                 ## 4-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%r14, %r15
	je	LBB0_28
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r14
	movq	%r15, 56(%r13)
	movq	%rax, 48(%r13)
	movl	%ebx, 24(%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r13)
	movq	%rdx, (%r13)
	movq	%rcx, 16(%r13)
	movl	%esi, %r15d
	movl	%esi, 8(%r13)
	movq	_gomp_cpu_affinity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r12, %rdi
	callq	_gomp_init_thread_affinity
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	_gomp_thread_start@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-104(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	callq	_pthread_create
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%eax, %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_gomp_fatal
	jmp	LBB0_27
LBB0_28:
	movq	_gomp_cpu_affinity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.29:
	leaq	-60(%rbp), %rdi
	callq	_pthread_attr_destroy
LBB0_30:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	-96(%rbp), %r11                 ## 8-byte Reload
	testq	%r11, %r11
	jne	LBB0_33
LBB0_32:
	movq	_gomp_threads_dock@GOTPCREL(%rip), %r15
LBB0_33:
	movq	%r15, %rdi
	callq	_gomp_barrier_wait
	cmpl	%r13d, %ebx
	jbe	LBB0_35
## %bb.34:
	movq	_gomp_threads_dock@GOTPCREL(%rip), %rdi
	movl	%r13d, %esi
	callq	_gomp_barrier_reinit
LBB0_35:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	_gomp_barrier_init
	movq	_gomp_threads_used@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movl	$1, %ebx
	movq	%r12, %r11
	cmpl	%r13d, %ebx
	je	LBB0_14
LBB0_15:
	movq	_gomp_threads_size@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	ja	LBB0_17
## %bb.16:
	leal	1(%r13), %ecx
	movl	%ecx, (%rax)
	movq	%r11, %r12
	movq	_gomp_threads@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leal	8(,%r13,8), %esi
	callq	_gomp_realloc
	movq	%rax, (%r14)
	movq	%r12, %r11
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_gomp_threads_used,4,2          ## @gomp_threads_used
	.comm	_gomp_threads_dock,4,2          ## @gomp_threads_dock
	.comm	_gomp_threads,8,3               ## @gomp_threads
	.comm	_gomp_threads_size,4,2          ## @gomp_threads_size
	.comm	_gomp_thread_attr,4,2           ## @gomp_thread_attr
	.comm	_gomp_cpu_affinity,8,3          ## @gomp_cpu_affinity
	.comm	_PTHREAD_CREATE_DETACHED,4,2    ## @PTHREAD_CREATE_DETACHED
	.comm	_gomp_thread_start,4,2          ## @gomp_thread_start
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Thread creation failed: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_team_start                ; -- Begin function gomp_team_start
	.p2align	2
_gomp_team_start:                       ; @gomp_team_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x3
	mov	x27, x2
	mov	x22, x1
	mov	x23, x0
	bl	_gomp_thread
	mov	x24, x0
	ldr	x25, [x0, #56]
	cmp	x25, #0
	cset	w26, ne
	mov	x0, x27
	mov	x1, x21
	bl	_new_team
	ldr	x8, [x24, #56]
	ldur	q0, [x24, #40]
	ldur	q1, [x24, #24]
	stp	q1, q0, [x0, #16]
	str	x8, [x0, #48]
	stp	x21, x0, [x24, #48]
	str	wzr, [x24, #24]
	stp	xzr, xzr, [x24, #32]
	cmp	w27, #1
	b.eq	LBB0_26
; %bb.1:
	mov	x20, x0
	cbz	x25, LBB0_7
; %bb.2:
	mov	w28, #0
	mov	w19, #1
LBB0_3:
Lloh0:
	adrp	x8, _gomp_cpu_affinity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gomp_cpu_affinity@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	str	w28, [sp, #4]                   ; 4-byte Folded Spill
	cbz	x8, LBB0_13
; %bb.4:
	add	x0, sp, #28
	bl	_pthread_attr_init
Lloh3:
	adrp	x8, _PTHREAD_CREATE_DETACHED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTHREAD_CREATE_DETACHED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #28
	bl	_pthread_attr_setdetachstate
Lloh6:
	adrp	x0, _gomp_thread_attr@GOTPAGE
Lloh7:
	ldr	x0, [x0, _gomp_thread_attr@GOTPAGEOFF]
	add	x1, sp, #16
	bl	_pthread_attr_getstacksize
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x1, [sp, #16]
	add	x0, sp, #28
	bl	_pthread_attr_setstacksize
LBB0_6:
	add	x24, sp, #28
	b	LBB0_14
LBB0_7:
Lloh8:
	adrp	x24, _gomp_threads_used@GOTPAGE
Lloh9:
	ldr	x24, [x24, _gomp_threads_used@GOTPAGEOFF]
	ldr	w28, [x24]
	mov	x19, x27
	cmp	w28, w27
	b.hs	LBB0_10
; %bb.8:
Lloh10:
	adrp	x0, _gomp_threads_dock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _gomp_threads_dock@GOTPAGEOFF]
	mov	x1, x27
	cbz	w28, LBB0_31
; %bb.9:
	bl	_gomp_barrier_reinit
	mov	x19, x28
LBB0_10:
	str	w27, [x24]
	cmp	w19, #2
	b.lo	LBB0_27
; %bb.11:
	mov	w8, w19
	mov	w9, #1
Lloh12:
	adrp	x10, _gomp_threads@GOTPAGE
Lloh13:
	ldr	x10, [x10, _gomp_threads@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	lsl	x12, x9, #3
	ldr	x11, [x11, x12]
	stp	x21, x20, [x11, #48]
	str	w9, [x11, #24]
	stp	xzr, xzr, [x11, #32]
	str	x23, [x11]
	str	x22, [x11, #16]
	add	x11, x11, #8
	ldr	x13, [x20, #8]
	str	x11, [x13, x12]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_12
	b	LBB0_28
LBB0_13:
Lloh14:
	adrp	x24, _gomp_thread_attr@GOTPAGE
Lloh15:
	ldr	x24, [x24, _gomp_thread_attr@GOTPAGEOFF]
LBB0_14:
	subs	w8, w27, w19
	lsl	w0, w8, #6
	bl	_gomp_alloca
	cmp	w27, w19
	b.ls	LBB0_21
; %bb.15:
	mov	x25, x0
Lloh16:
	adrp	x28, _gomp_thread_start@GOTPAGE
Lloh17:
	ldr	x28, [x28, _gomp_thread_start@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w19, w19, #1
	add	x25, x25, #64
	cmp	w27, w19
	b.eq	LBB0_21
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	stp	x21, x20, [x25, #48]
	str	w19, [x25, #24]
	stp	xzr, xzr, [x25, #32]
	str	x23, [x25]
	str	x22, [x25, #16]
	str	w26, [x25, #8]
Lloh18:
	adrp	x8, _gomp_cpu_affinity@GOTPAGE
Lloh19:
	ldr	x8, [x8, _gomp_cpu_affinity@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x24
	bl	_gomp_init_thread_affinity
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	w2, [x28]
	add	x0, sp, #16
	mov	x1, x24
	mov	x3, x25
	bl	_pthread_create
	cbz	w0, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	bl	_strerror
	mov	x1, x0
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gomp_fatal
	b	LBB0_16
LBB0_21:
Lloh23:
	adrp	x8, _gomp_cpu_affinity@GOTPAGE
Lloh24:
	ldr	x8, [x8, _gomp_cpu_affinity@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.22:
	add	x0, sp, #28
	bl	_pthread_attr_destroy
LBB0_23:
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w28, [sp, #4]                   ; 4-byte Folded Reload
LBB0_24:
Lloh26:
	adrp	x8, _gomp_threads_dock@GOTPAGE
Lloh27:
	ldr	x8, [x8, _gomp_threads_dock@GOTPAGEOFF]
	cmp	x25, #0
	csel	x0, x20, x8, ne
	bl	_gomp_barrier_wait
	cmp	w28, w27
	b.ls	LBB0_26
; %bb.25:
Lloh28:
	adrp	x0, _gomp_threads_dock@GOTPAGE
Lloh29:
	ldr	x0, [x0, _gomp_threads_dock@GOTPAGEOFF]
	mov	x1, x27
	bl	_gomp_barrier_reinit
LBB0_26:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_27:
	mov	w19, #1
LBB0_28:
	cmp	w19, w27
	b.eq	LBB0_24
LBB0_29:
Lloh30:
	adrp	x8, _gomp_threads_size@GOTPAGE
Lloh31:
	ldr	x8, [x8, _gomp_threads_size@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w27
	b.hi	LBB0_3
; %bb.30:
	add	w9, w27, #1
	str	w9, [x8]
Lloh32:
	adrp	x24, _gomp_threads@GOTPAGE
Lloh33:
	ldr	x24, [x24, _gomp_threads@GOTPAGEOFF]
	ldr	x0, [x24]
	lsl	w1, w9, #3
	bl	_gomp_realloc
	str	x0, [x24]
	b	LBB0_3
LBB0_31:
	bl	_gomp_barrier_init
	str	w27, [x24]
	mov	w19, #1
	cmp	w19, w27
	b.eq	LBB0_24
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_gomp_threads_used,4,2          ; @gomp_threads_used
	.comm	_gomp_threads_dock,4,2          ; @gomp_threads_dock
	.comm	_gomp_threads,8,3               ; @gomp_threads
	.comm	_gomp_threads_size,4,2          ; @gomp_threads_size
	.comm	_gomp_thread_attr,4,2           ; @gomp_thread_attr
	.comm	_gomp_cpu_affinity,8,3          ; @gomp_cpu_affinity
	.comm	_PTHREAD_CREATE_DETACHED,4,2    ; @PTHREAD_CREATE_DETACHED
	.comm	_gomp_thread_start,4,2          ; @gomp_thread_start
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Thread creation failed: %s"

.subsections_via_symbols
