	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function row_is_in_frame
_row_is_in_frame:                       ## @row_is_in_frame
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %r12d
	movq	%rsi, %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	movq	%rbx, %rdi
	callq	_update_frameheadpos
	cmpq	%r14, 8(%rbx)
	jle	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_2:
	movq	_FRAMEOPTION_END_CURRENT_ROW@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_FRAMEOPTION_ROWS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_8
## %bb.4:
	movl	$-1, %eax
	cmpq	%r14, 16(%rbx)
	jge	LBB0_15
	jmp	LBB0_24
LBB0_5:
	movq	_FRAMEOPTION_END_OFFSET@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_15
## %bb.6:
	movq	_FRAMEOPTION_ROWS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_12
## %bb.7:
	movl	64(%rbx), %edi
	callq	_DatumGetInt64
	movq	_FRAMEOPTION_END_OFFSET_PRECEDING@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	negq	%rdx
	testl	%r12d, (%rcx)
	cmoveq	%rax, %rdx
	addq	16(%rbx), %rdx
	movl	$-1, %eax
	cmpq	%r14, %rdx
	jge	LBB0_15
	jmp	LBB0_24
LBB0_8:
	movq	_FRAMEOPTION_RANGE@GOTPCREL(%rip), %rax
	movq	_FRAMEOPTION_GROUPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r12d, %ecx
	je	LBB0_14
## %bb.9:
	cmpq	%r14, 16(%rbx)
	jge	LBB0_15
## %bb.10:
	movl	56(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_are_peers
	testl	%eax, %eax
	jne	LBB0_15
## %bb.11:
	movl	$-1, %eax
	jmp	LBB0_24
LBB0_12:
	movq	_FRAMEOPTION_RANGE@GOTPCREL(%rip), %rax
	movq	_FRAMEOPTION_GROUPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%r12d, %ecx
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_update_frametailpos
	movl	$-1, %eax
	cmpq	%r14, 24(%rbx)
	jg	LBB0_15
	jmp	LBB0_24
LBB0_14:
	xorl	%edi, %edi
	callq	_Assert
LBB0_15:
	movq	_FRAMEOPTION_EXCLUDE_CURRENT_ROW@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_17
## %bb.16:
	movl	$0, %eax
	cmpq	%r14, 16(%rbx)
	jne	LBB0_23
	jmp	LBB0_24
LBB0_17:
	movq	_FRAMEOPTION_EXCLUDE_GROUP@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_21
LBB0_18:
	movq	48(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.19:
	cmpq	%r14, 32(%rbx)
	jg	LBB0_23
## %bb.20:
	movq	%rbx, %rdi
	callq	_update_grouptailpos
	movl	$0, %eax
	cmpq	%r14, 40(%rbx)
	jle	LBB0_23
	jmp	LBB0_24
LBB0_21:
	movq	_FRAMEOPTION_EXCLUDE_TIES@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_23
## %bb.22:
	cmpq	%r14, 16(%rbx)
	jne	LBB0_18
LBB0_23:
	movl	$1, %eax
LBB0_24:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAMEOPTION_END_CURRENT_ROW,4,2 ## @FRAMEOPTION_END_CURRENT_ROW
	.comm	_FRAMEOPTION_ROWS,4,2           ## @FRAMEOPTION_ROWS
	.comm	_FRAMEOPTION_RANGE,4,2          ## @FRAMEOPTION_RANGE
	.comm	_FRAMEOPTION_GROUPS,4,2         ## @FRAMEOPTION_GROUPS
	.comm	_FRAMEOPTION_END_OFFSET,4,2     ## @FRAMEOPTION_END_OFFSET
	.comm	_FRAMEOPTION_END_OFFSET_PRECEDING,4,2 ## @FRAMEOPTION_END_OFFSET_PRECEDING
	.comm	_FRAMEOPTION_EXCLUDE_CURRENT_ROW,4,2 ## @FRAMEOPTION_EXCLUDE_CURRENT_ROW
	.comm	_FRAMEOPTION_EXCLUDE_GROUP,4,2  ## @FRAMEOPTION_EXCLUDE_GROUP
	.comm	_FRAMEOPTION_EXCLUDE_TIES,4,2   ## @FRAMEOPTION_EXCLUDE_TIES
	.no_dead_strip	_row_is_in_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function row_is_in_frame
_row_is_in_frame:                       ; @row_is_in_frame
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w22, [x0]
	lsr	x8, x1, #63
	eor	w0, w8, #0x1
	bl	_Assert
	mov	x0, x20
	bl	_update_frameheadpos
	ldr	x8, [x20, #8]
	cmp	x8, x19
	b.le	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_24
LBB0_2:
Lloh0:
	adrp	x8, _FRAMEOPTION_END_CURRENT_ROW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FRAMEOPTION_END_CURRENT_ROW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _FRAMEOPTION_ROWS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FRAMEOPTION_ROWS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.4:
	ldr	x8, [x20, #16]
	cmp	x8, x19
	b.ge	LBB0_15
	b	LBB0_13
LBB0_5:
Lloh6:
	adrp	x8, _FRAMEOPTION_END_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FRAMEOPTION_END_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.6:
Lloh9:
	adrp	x8, _FRAMEOPTION_ROWS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FRAMEOPTION_ROWS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_11
; %bb.7:
	ldr	w0, [x20, #64]
	bl	_DatumGetInt64
Lloh12:
	adrp	x8, _FRAMEOPTION_END_OFFSET_PRECEDING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FRAMEOPTION_END_OFFSET_PRECEDING@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w22
	cneg	x8, x0, ne
	ldr	x9, [x20, #16]
	add	x8, x8, x9
	cmp	x8, x19
	b.lt	LBB0_13
	b	LBB0_15
LBB0_8:
Lloh15:
	adrp	x8, _FRAMEOPTION_RANGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FRAMEOPTION_RANGE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _FRAMEOPTION_GROUPS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FRAMEOPTION_GROUPS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w22
	b.eq	LBB0_14
; %bb.9:
	ldr	x8, [x20, #16]
	cmp	x8, x19
	b.ge	LBB0_15
; %bb.10:
	ldr	w2, [x20, #56]
	mov	x0, x20
	mov	x1, x21
	bl	_are_peers
	cbnz	w0, LBB0_15
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x8, _FRAMEOPTION_RANGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FRAMEOPTION_RANGE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _FRAMEOPTION_GROUPS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FRAMEOPTION_GROUPS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w22
	b.eq	LBB0_14
; %bb.12:
	mov	x0, x20
	bl	_update_frametailpos
	ldr	x8, [x20, #24]
	cmp	x8, x19
	b.gt	LBB0_15
LBB0_13:
	mov	w0, #-1
	b	LBB0_24
LBB0_14:
	mov	w0, #0
	bl	_Assert
LBB0_15:
Lloh27:
	adrp	x8, _FRAMEOPTION_EXCLUDE_CURRENT_ROW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FRAMEOPTION_EXCLUDE_CURRENT_ROW@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [x20, #16]
	cmp	x8, x19
	b.eq	LBB0_1
	b	LBB0_23
LBB0_17:
Lloh30:
	adrp	x8, _FRAMEOPTION_EXCLUDE_GROUP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FRAMEOPTION_EXCLUDE_GROUP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_21
LBB0_18:
	ldr	x8, [x20, #48]
	ldr	x8, [x8]
	cbz	x8, LBB0_1
; %bb.19:
	ldr	x8, [x20, #32]
	cmp	x8, x19
	b.gt	LBB0_23
; %bb.20:
	mov	x0, x20
	bl	_update_grouptailpos
	ldr	x8, [x20, #40]
	cmp	x8, x19
	b.gt	LBB0_1
	b	LBB0_23
LBB0_21:
Lloh33:
	adrp	x8, _FRAMEOPTION_EXCLUDE_TIES@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FRAMEOPTION_EXCLUDE_TIES@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_23
; %bb.22:
	ldr	x8, [x20, #16]
	cmp	x8, x19
	b.ne	LBB0_18
LBB0_23:
	mov	w0, #1
LBB0_24:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAMEOPTION_END_CURRENT_ROW,4,2 ; @FRAMEOPTION_END_CURRENT_ROW
	.comm	_FRAMEOPTION_ROWS,4,2           ; @FRAMEOPTION_ROWS
	.comm	_FRAMEOPTION_RANGE,4,2          ; @FRAMEOPTION_RANGE
	.comm	_FRAMEOPTION_GROUPS,4,2         ; @FRAMEOPTION_GROUPS
	.comm	_FRAMEOPTION_END_OFFSET,4,2     ; @FRAMEOPTION_END_OFFSET
	.comm	_FRAMEOPTION_END_OFFSET_PRECEDING,4,2 ; @FRAMEOPTION_END_OFFSET_PRECEDING
	.comm	_FRAMEOPTION_EXCLUDE_CURRENT_ROW,4,2 ; @FRAMEOPTION_EXCLUDE_CURRENT_ROW
	.comm	_FRAMEOPTION_EXCLUDE_GROUP,4,2  ; @FRAMEOPTION_EXCLUDE_GROUP
	.comm	_FRAMEOPTION_EXCLUDE_TIES,4,2   ; @FRAMEOPTION_EXCLUDE_TIES
	.no_dead_strip	_row_is_in_frame
.subsections_via_symbols
