	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_ordered_last              ## -- Begin function gomp_ordered_last
	.p2align	4, 0x90
_gomp_ordered_last:                     ## @gomp_ordered_last
	.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	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movl	(%rcx), %edx
	cmpl	$1, %edx
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	movl	$-1, (%rax)
	movq	8(%rax), %rsi
	leaq	-1(%rsi), %rdi
	movq	%rdi, 8(%rax)
	cmpq	$2, %rsi
	jl	LBB0_3
## %bb.4:
	movl	16(%rax), %esi
	incl	%esi
	xorl	%edi, %edi
	cmpl	%edx, %esi
	cmovnel	%esi, %edi
	movl	%edi, 16(%rax)
	movq	24(%rax), %rax
	movl	(%rax,%rdi,4), %eax
	movq	8(%rcx), %rcx
	movl	(%rcx,%rax,4), %edi
	popq	%rbp
	jmp	_gomp_sem_post                  ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.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_last              ; -- Begin function gomp_ordered_last
	.p2align	2
_gomp_ordered_last:                     ; @gomp_ordered_last
	.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, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, #1
	b.eq	LBB0_4
; %bb.2:
	ldr	x10, [x0]
	mov	w11, #-1
	str	w11, [x10]
	ldr	x11, [x10, #8]
	sub	x12, x11, #1
	str	x12, [x10, #8]
	cmp	x11, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	w11, [x10, #16]
	add	w12, w11, #1
	cmp	w12, w9
	csinc	w9, wzr, w11, eq
	str	w9, [x10, #16]
	ldr	x10, [x10, #24]
	ldr	w9, [x10, w9, uxtw #2]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x9, lsl #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_gomp_sem_post
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
