	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_ordered_first             ## -- Begin function gomp_ordered_first
	.p2align	4, 0x90
_gomp_ordered_first:                    ## @gomp_ordered_first
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_gomp_thread
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movl	(%rcx), %edx
	cmpl	$1, %edx
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %r9
	movl	4(%r9), %r8d
	movl	(%r9), %edi
	addl	%r8d, %edi
	xorl	%esi, %esi
	cmpl	%edx, %edi
	cmovael	%edx, %esi
	subl	%esi, %edi
	movq	(%rax), %rdx
	movq	8(%r9), %rsi
	movq	%rdx, (%rsi,%rdi,8)
	leal	1(%r8), %edx
	movl	%edx, 4(%r9)
	testl	%r8d, %r8d
	je	LBB0_4
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	movq	8(%rcx), %rcx
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %edi
	popq	%rbp
	jmp	_gomp_sem_post                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_ordered_first             ; -- Begin function gomp_ordered_first
	.p2align	2
_gomp_ordered_first:                    ; @gomp_ordered_first
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_gomp_thread
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, #1
	b.eq	LBB0_3
; %bb.2:
	ldp	x11, x10, [x0]
	ldp	w12, w13, [x10]
	add	w12, w13, w12
	cmp	w12, w9
	csel	w9, wzr, w9, lo
	sub	w9, w12, w9
	ldr	x12, [x10, #8]
	str	x11, [x12, w9, uxtw #3]
	add	w9, w13, #1
	str	w9, [x10, #4]
	cbz	w13, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x8, #8]
	ldr	x9, [x0]
	ldr	w0, [x8, x9, lsl #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_gomp_sem_post
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
