	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_iter_static_next          ## -- Begin function gomp_iter_static_next
	.p2align	4, 0x90
_gomp_iter_static_next:                 ## @gomp_iter_static_next
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_gomp_thread
	movq	%rax, %rcx
	movq	16(%rax), %rax
	movq	24(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	movslq	(%rcx), %rbx
	cmpq	$-1, %rbx
	je	LBB0_9
## %bb.2:
	movslq	(%rdx), %rdi
	cmpl	$1, %edi
	je	LBB0_7
## %bb.3:
	movq	16(%rax), %r8
	testq	%r8, %r8
	je	LBB0_10
## %bb.4:
	movslq	24(%rax), %r9
	xorl	%edx, %edx
	testq	%r9, %r9
	setle	%dl
	leal	(%r9,%rdx,2), %edx
	decl	%edx
	movslq	%edx, %rdx
	movq	(%rax), %r10
	movq	8(%rax), %rax
	subq	%r10, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	orq	%r9, %rdx
	shrq	$32, %rdx
	je	LBB0_13
## %bb.5:
	cqto
	idivq	%r9
	jmp	LBB0_14
LBB0_6:
	cmpl	$-1, (%rcx)
	je	LBB0_9
LBB0_7:
	movq	(%rax), %rdx
	movq	%rdx, (%r15)
	movq	8(%rax), %rdx
	movq	%rdx, (%r14)
	movl	$-1, (%rcx)
	movq	(%rax), %rcx
	xorl	%esi, %esi
	cmpq	8(%rax), %rcx
	sete	%sil
	jmp	LBB0_17
LBB0_9:
	movl	$-1, %esi
LBB0_17:
	movl	%esi, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$1, %esi
	testl	%ebx, %ebx
	jg	LBB0_17
## %bb.11:
	movslq	24(%rax), %r9
	xorl	%edx, %edx
	testq	%r9, %r9
	setle	%dl
	leal	(%r9,%rdx,2), %edx
	decl	%edx
	movslq	%edx, %rdx
	movq	(%rax), %r10
	movq	8(%rax), %rax
	subq	%r10, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	orq	%r9, %rdx
	shrq	$32, %rdx
	je	LBB0_18
## %bb.12:
	cqto
	idivq	%r9
	movq	%rax, %r8
	jmp	LBB0_19
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r9d
                                        ## kill: def $eax killed $eax def $rax
LBB0_14:
	imulq	%rbx, %rdi
	addq	8(%rcx), %rdi
	imulq	%r8, %rdi
	movl	$1, %esi
	cmpq	%rax, %rdi
	jae	LBB0_17
## %bb.15:
	addq	%rdi, %r8
	cmpq	%rax, %r8
	movq	%rax, %rdx
	cmovbq	%r8, %rdx
	imulq	%r9, %rdi
	addq	%r10, %rdi
	imulq	%r9, %rdx
	addq	%r10, %rdx
	incl	%ebx
	cmpq	%r8, %rax
	movl	$-1, %eax
	cmoval	%ebx, %eax
	movq	%rdi, (%r15)
	movq	%rdx, (%r14)
LBB0_16:
	movl	%eax, (%rcx)
	xorl	%esi, %esi
	jmp	LBB0_17
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r9d
	movl	%eax, %r8d
LBB0_19:
	movq	8(%rcx), %rbx
	movq	%r8, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_21
## %bb.20:
	movq	%r8, %rax
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_22
LBB0_21:
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_22:
	imulq	%rax, %rdi
	xorl	%edx, %edx
	cmpq	%r8, %rdi
	setne	%dl
	addq	%rax, %rdx
	imulq	%rdx, %rbx
	addq	%rbx, %rdx
	cmpq	%r8, %rdx
	movq	%r8, %rax
	cmovbq	%rdx, %rax
	cmpq	%rax, %rbx
	jae	LBB0_24
## %bb.23:
	imulq	%r9, %rbx
	addq	%r10, %rbx
	imulq	%r9, %rax
	addq	%r10, %rax
	movq	%rbx, (%r15)
	xorl	%esi, %esi
	cmpq	%rdx, %r8
	seta	%sil
	movq	%rax, (%r14)
	leal	(%rsi,%rsi), %eax
	decl	%eax
	jmp	LBB0_16
LBB0_24:
	movl	$1, (%rcx)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gomp_iter_static_next          ; -- Begin function gomp_iter_static_next
	.p2align	2
_gomp_iter_static_next:                 ; @gomp_iter_static_next
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_gomp_thread
	ldp	x8, x10, [x0, #16]
	cbz	x10, LBB0_7
; %bb.1:
	ldrsw	x9, [x0]
	cmn	w9, #1
	b.eq	LBB0_9
; %bb.2:
	ldrsw	x10, [x10]
	cmp	w10, #1
	b.eq	LBB0_8
; %bb.3:
	ldr	x11, [x8, #16]
	cbz	x11, LBB0_10
; %bb.4:
	ldrsw	x12, [x8, #24]
	sub	w13, w12, #1
	cmp	x12, #1
	csinc	w14, w13, w12, ge
	ldp	x13, x15, [x8]
	sub	x8, x15, x13
	add	x8, x8, w14, sxtw
	sdiv	x14, x8, x12
	ldr	x8, [x0, #8]
	madd	x8, x9, x10, x8
	mul	x10, x8, x11
	cmp	x10, x14
	b.hs	LBB0_11
; %bb.5:
	mov	w8, #0
	add	x11, x10, x11
	cmp	x11, x14
	csel	x15, x11, x14, lo
	madd	x10, x10, x12, x13
	madd	x12, x15, x12, x13
	str	x10, [x20]
	str	x12, [x19]
	cmp	x14, x11
	mov	w10, #-1
	csinc	w9, w10, w9, ls
LBB0_6:
	str	w9, [x0]
	b	LBB0_12
LBB0_7:
	ldr	w9, [x0]
	cmn	w9, #1
	b.eq	LBB0_9
LBB0_8:
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	x9, [x8, #8]
	str	x9, [x19]
	mov	w9, #-1
	str	w9, [x0]
	ldp	x9, x8, [x8]
	cmp	x9, x8
	cset	w8, eq
	b	LBB0_12
LBB0_9:
	mov	w8, #-1
	b	LBB0_12
LBB0_10:
	cmp	w9, #0
	b.le	LBB0_13
LBB0_11:
	mov	w8, #1
LBB0_12:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldrsw	x9, [x8, #24]
	sub	w11, w9, #1
	cmp	x9, #1
	csinc	w12, w11, w9, ge
	ldp	x11, x13, [x8]
	sub	x8, x13, x11
	add	x8, x8, w12, sxtw
	sdiv	x12, x8, x9
	ldr	x8, [x0, #8]
	udiv	x13, x12, x10
	mul	x10, x13, x10
	cmp	x10, x12
	cinc	x10, x13, ne
	mul	x13, x10, x8
	add	x10, x13, x10
	cmp	x10, x12
	csel	x14, x10, x12, lo
	cmp	x13, x14
	b.hs	LBB0_15
; %bb.14:
	mov	w8, #0
	madd	x13, x13, x9, x11
	madd	x9, x14, x9, x11
	str	x13, [x20]
	str	x9, [x19]
	cmp	x12, x10
	mov	w9, #1
	cneg	w9, w9, ls
	b	LBB0_6
LBB0_15:
	mov	w8, #1
	str	w8, [x0]
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
