	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function await_reference_mb_row
_await_reference_mb_row:                ## @await_reference_mb_row
	.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, %rax
	movq	8(%rsi), %rbx
	movl	(%rbx), %r14d
	movl	(%rdi), %esi
	shll	$4, %esi
	movl	%r14d, %ecx
	sarl	%cl, %esi
	movq	_HAVE_THREADS@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_FF_THREAD_FRAME@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	testl	%edi, (%rcx)
	je	LBB0_2
## %bb.3:
	movl	(%rax), %r15d
	addq	$4, %rbx
	shll	$4, %edx
	movl	%r14d, %ecx
	sarl	%cl, %edx
	decl	%esi
	movl	%edx, %edi
	callq	_FFMIN
	testl	%r14d, %r14d
	setne	%cl
	cmpl	$1, %r15d
	setne	%dl
	andb	%cl, %dl
	movzbl	%dl, %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_thread_await_progress       ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HAVE_THREADS,4,2               ## @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ## @FF_THREAD_FRAME
	.no_dead_strip	_await_reference_mb_row
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function await_reference_mb_row
_await_reference_mb_row:                ; @await_reference_mb_row
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _HAVE_THREADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HAVE_THREADS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FF_THREAD_FRAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FF_THREAD_FRAME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w20, [x1]
	ldr	x8, [x1, #8]
	ldr	w21, [x8]
	ldr	w9, [x0]
	lsl	w9, w9, #4
	asr	w9, w9, w21
	add	x19, x8, #4
	lsl	w8, w2, #4
	asr	w0, w8, w21
	sub	w1, w9, #1
	bl	_FFMIN
	mov	x1, x0
	cmp	w21, #0
	ccmp	w20, #1, #4, ne
	cset	w2, ne
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ff_thread_await_progress
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HAVE_THREADS,4,2               ; @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ; @FF_THREAD_FRAME
	.no_dead_strip	_await_reference_mb_row
.subsections_via_symbols
