	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_resolve_num_threads       ## -- Begin function gomp_resolve_num_threads
	.p2align	4, 0x90
_gomp_resolve_num_threads:              ## @gomp_resolve_num_threads
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %ebx
	cmpl	$1, %edi
	je	LBB0_8
## %bb.1:
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_gomp_thread
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_gomp_nest_var@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
LBB0_3:
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.4:
	movq	_gomp_nthreads_var@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	_gomp_dyn_var@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_gomp_dynamic_max_threads
	movl	%eax, %ebx
	cmpl	%r14d, %eax
	jb	LBB0_8
LBB0_7:
	movl	%r14d, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gomp_nest_var,4,2              ## @gomp_nest_var
	.comm	_gomp_nthreads_var,4,2          ## @gomp_nthreads_var
	.comm	_gomp_dyn_var,8,3               ## @gomp_dyn_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_resolve_num_threads       ; -- Begin function gomp_resolve_num_threads
	.p2align	2
_gomp_resolve_num_threads:              ; @gomp_resolve_num_threads
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_gomp_thread
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _gomp_nest_var@GOTPAGE
Lloh1:
	ldr	x9, [x9, _gomp_nest_var@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _gomp_nthreads_var@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gomp_nthreads_var@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w19, #0
	csel	w19, w8, w19, eq
Lloh6:
	adrp	x8, _gomp_dyn_var@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gomp_dyn_var@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_gomp_dynamic_max_threads
	cmp	w0, w19
	b.lo	LBB0_6
LBB0_4:
	mov	x0, x19
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_gomp_nest_var,4,2              ; @gomp_nest_var
	.comm	_gomp_nthreads_var,4,2          ; @gomp_nthreads_var
	.comm	_gomp_dyn_var,8,3               ; @gomp_dyn_var
.subsections_via_symbols
