	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WinGetFuncArgInFrame           ## -- Begin function WinGetFuncArgInFrame
	.p2align	4, 0x90
_WinGetFuncArgInFrame:                  ## @WinGetFuncArgInFrame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_WindowObjectIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	8(%r14), %r13
	movq	48(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	56(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	$128, %ebx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_12
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	cmpl	$130, %ebx
	jne	LBB0_18
## %bb.3:
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_19
LBB0_4:
	testl	%r15d, %r15d
	jg	LBB0_52
## %bb.5:
	movq	%r13, %rdi
	callq	_update_frametailpos
	movq	32(%r13), %rax
	movslq	%r15d, %rcx
	leaq	(%rcx,%rax), %r12
	decq	%r12
	movl	(%r13), %edx
	movq	_FRAMEOPTION_EXCLUSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	cmpl	$131, %ecx
	jg	LBB0_30
## %bb.6:
	testl	%ecx, %ecx
	je	LBB0_38
## %bb.7:
	cmpl	$131, %ecx
	jne	LBB0_37
## %bb.8:
	movq	%r13, %rdi
	callq	_update_grouptailpos
	movq	40(%r13), %rdi
	cmpq	%rdi, %r12
	jge	LBB0_51
## %bb.9:
	movq	32(%r13), %rsi
	cmpq	%rsi, 16(%r13)
	jge	LBB0_51
## %bb.10:
	callq	_Min
	leaq	-1(%rax), %rcx
	cmpq	%rcx, %r12
	jne	LBB0_50
## %bb.11:
	movq	24(%r13), %r12
	jmp	LBB0_51
LBB0_12:
	testl	%r15d, %r15d
	js	LBB0_52
## %bb.13:
	movq	%r13, %rdi
	callq	_update_frameheadpos
	movq	8(%r13), %rax
	movl	%r15d, %r15d
	addq	%rax, %r15
	movl	(%r13), %edx
	movq	_FRAMEOPTION_EXCLUSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	cmpl	$131, %ecx
	jg	LBB0_27
## %bb.14:
	testl	%ecx, %ecx
	je	LBB0_33
## %bb.15:
	cmpl	$131, %ecx
	jne	LBB0_36
## %bb.16:
	movq	%r13, %rdi
	callq	_update_grouptailpos
	movq	16(%r13), %rdi
	cmpq	%rdi, %r15
	jl	LBB0_33
## %bb.42:
	movq	8(%r13), %rsi
	cmpq	%rsi, 40(%r13)
	jle	LBB0_33
## %bb.43:
	callq	_Max
	cmpq	%rax, %r15
	jne	LBB0_49
## %bb.44:
	movq	24(%r13), %r12
	jmp	LBB0_20
LBB0_18:
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_19:
	xorl	%r12d, %r12d
LBB0_20:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_window_gettupleslot
	testl	%eax, %eax
	je	LBB0_52
## %bb.21:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_row_is_in_frame
	testq	%rax, %rax
	jle	LBB0_52
## %bb.22:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movl	$0, (%rax)
LBB0_24:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_26
## %bb.25:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_WinSetMarkPosition
LBB0_26:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	movl	(%r14), %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_list_nth
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExecEvalExpr                   ## TAILCALL
LBB0_27:
	cmpl	$132, %ecx
	je	LBB0_34
## %bb.28:
	cmpl	$133, %ecx
	jne	LBB0_36
## %bb.29:
	movq	24(%r13), %rcx
	cmpq	%rcx, %r15
	setge	%dl
	cmpq	%rax, %rcx
	setge	%al
	andb	%dl, %al
	movzbl	%al, %r12d
	addq	%r15, %r12
	jmp	LBB0_20
LBB0_30:
	cmpl	$132, %ecx
	je	LBB0_39
## %bb.31:
	cmpl	$133, %ecx
	jne	LBB0_37
## %bb.32:
	movq	24(%r13), %rcx
	cmpq	%rcx, %r12
	setle	%dl
	cmpq	%rax, %rcx
	setl	%al
	andb	%dl, %al
	movzbl	%al, %eax
	subq	%rax, %r12
	jmp	LBB0_51
LBB0_34:
	movq	%r13, %rdi
	callq	_update_grouptailpos
	movq	16(%r13), %rdi
	cmpq	%rdi, %r15
	jl	LBB0_33
## %bb.45:
	movq	8(%r13), %rsi
	cmpq	%rsi, 40(%r13)
	jle	LBB0_33
## %bb.46:
	callq	_Max
	movq	%r15, %r12
	subq	%rax, %r12
	addq	40(%r13), %r12
	jmp	LBB0_20
LBB0_33:
	movq	%r15, %r12
	jmp	LBB0_20
LBB0_36:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movq	%r15, %r12
	jmp	LBB0_20
LBB0_37:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_20
LBB0_38:
	movq	%r12, %r15
	jmp	LBB0_20
LBB0_39:
	movq	%r13, %rdi
	callq	_update_grouptailpos
	movq	40(%r13), %rdi
	cmpq	%rdi, %r12
	jge	LBB0_51
## %bb.40:
	movq	32(%r13), %rsi
	cmpq	%rsi, 16(%r13)
	jge	LBB0_51
## %bb.41:
	callq	_Min
	subq	%rax, %r12
	addq	16(%r13), %r12
	jmp	LBB0_51
LBB0_49:
	movq	%rax, %r12
	notq	%r12
	addq	%r15, %r12
	addq	40(%r13), %r12
	jmp	LBB0_20
LBB0_50:
	movq	16(%r13), %rcx
	subq	%rax, %r12
	addq	%rcx, %r12
	incq	%r12
LBB0_51:
	movq	%r13, %rdi
	callq	_update_frameheadpos
	movq	8(%r13), %r15
	cmpq	%r15, %r12
	jge	LBB0_20
LBB0_52:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_54
## %bb.53:
	movl	$1, (%rax)
LBB0_54:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WINDOW_SEEK_CURRENT is not supported for WinGetFuncArgInFrame"

	.comm	_FRAMEOPTION_EXCLUSION,4,2      ## @FRAMEOPTION_EXCLUSION
L_.str.1:                               ## @.str.1
	.asciz	"unrecognized frame option state: 0x%x"

L_.str.2:                               ## @.str.2
	.asciz	"unrecognized window seek type: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_WinGetFuncArgInFrame           ; -- Begin function WinGetFuncArgInFrame
	.p2align	2
_WinGetFuncArgInFrame:                  ; @WinGetFuncArgInFrame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x6
	mov	x19, x5
	mov	x24, x4
	mov	x28, x3
	mov	x27, x2
	mov	x20, x1
	mov	x21, x0
	bl	_WindowObjectIsValid
	bl	_Assert
	ldr	x26, [x21, #8]
	ldp	x25, x23, [x26, #48]
	cmp	w28, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w28, #129
	b.eq	LBB0_12
; %bb.2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
	cmp	w28, #130
	b.ne	LBB0_20
; %bb.3:
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_21
LBB0_4:
	cmp	w27, #0
	b.gt	LBB0_48
; %bb.5:
	mov	x0, x26
	bl	_update_frametailpos
	ldr	x9, [x26, #32]
	add	x8, x9, w27, sxtw
	sub	x27, x8, #1
	ldr	w8, [x26]
Lloh4:
	adrp	x10, _FRAMEOPTION_EXCLUSION@GOTPAGE
Lloh5:
	ldr	x10, [x10, _FRAMEOPTION_EXCLUSION@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	and	w10, w10, w8
	cmp	w10, #131
	b.gt	LBB0_32
; %bb.6:
	cbz	w10, LBB0_41
; %bb.7:
	cmp	w10, #131
	b.ne	LBB0_40
; %bb.8:
	mov	x0, x26
	bl	_update_grouptailpos
	ldr	x0, [x26, #40]
	cmp	x27, x0
	b.ge	LBB0_47
; %bb.9:
	ldr	x8, [x26, #16]
	ldr	x1, [x26, #32]
	cmp	x8, x1
	b.ge	LBB0_47
; %bb.10:
	bl	_Min
	sub	x8, x0, #1
	cmp	x27, x8
	b.ne	LBB0_46
; %bb.11:
	ldr	x27, [x26, #24]
	b	LBB0_47
LBB0_12:
	tbnz	w27, #31, LBB0_48
; %bb.13:
	mov	x0, x26
	bl	_update_frameheadpos
	ldr	x9, [x26, #8]
	add	x28, x9, w27, uxtw
	ldr	w8, [x26]
Lloh7:
	adrp	x10, _FRAMEOPTION_EXCLUSION@GOTPAGE
Lloh8:
	ldr	x10, [x10, _FRAMEOPTION_EXCLUSION@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	and	w10, w10, w8
	cmp	w10, #131
	b.gt	LBB0_29
; %bb.14:
	cbz	w10, LBB0_38
; %bb.15:
	cmp	w10, #131
	b.ne	LBB0_39
; %bb.16:
	mov	x0, x26
	bl	_update_grouptailpos
	ldr	x0, [x26, #16]
	cmp	x28, x0
	b.lt	LBB0_38
; %bb.17:
	ldr	x8, [x26, #40]
	ldr	x1, [x26, #8]
	cmp	x8, x1
	b.le	LBB0_38
; %bb.18:
	bl	_Max
	cmp	x28, x0
	b.ne	LBB0_45
; %bb.19:
	ldr	x27, [x26, #24]
	b	LBB0_22
LBB0_20:
	ldr	w0, [x8]
	str	x28, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_21:
	bl	_elog
	mov	x28, #0
	mov	x27, #0
LBB0_22:
	mov	x0, x21
	mov	x1, x27
	mov	x2, x25
	bl	_window_gettupleslot
	cbz	w0, LBB0_48
; %bb.23:
	mov	x0, x26
	mov	x1, x27
	mov	x2, x25
	bl	_row_is_in_frame
	cmp	x0, #1
	b.lt	LBB0_48
; %bb.24:
	cbz	x22, LBB0_26
; %bb.25:
	str	wzr, [x22]
LBB0_26:
	cbz	w24, LBB0_28
; %bb.27:
	mov	x0, x21
	mov	x1, x28
	bl	_WinSetMarkPosition
LBB0_28:
	str	x25, [x23]
	ldr	w0, [x21]
	mov	x1, x20
	bl	_list_nth
	mov	x1, x23
	mov	x2, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ExecEvalExpr
LBB0_29:
	cmp	w10, #132
	b.eq	LBB0_35
; %bb.30:
	cmp	w10, #133
	b.ne	LBB0_39
; %bb.31:
	ldr	x8, [x26, #24]
	cmp	x28, x8
	ccmp	x8, x9, #8, ge
	cinc	x27, x28, ge
	b	LBB0_22
LBB0_32:
	cmp	w10, #132
	b.eq	LBB0_42
; %bb.33:
	cmp	w10, #133
	b.ne	LBB0_40
; %bb.34:
	ldr	x8, [x26, #24]
	cmp	x27, x8
	ccmp	x8, x9, #0, le
	cset	w8, lt
	sub	x27, x27, x8
	b	LBB0_47
LBB0_35:
	mov	x0, x26
	bl	_update_grouptailpos
	ldr	x0, [x26, #16]
	cmp	x28, x0
	b.lt	LBB0_38
; %bb.36:
	ldr	x8, [x26, #40]
	ldr	x1, [x26, #8]
	cmp	x8, x1
	b.le	LBB0_38
; %bb.37:
	bl	_Max
	ldr	x8, [x26, #40]
	sub	x9, x28, x0
	add	x27, x9, x8
	b	LBB0_22
LBB0_38:
	mov	x27, x28
	b	LBB0_22
LBB0_39:
Lloh12:
	adrp	x9, _ERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	mov	x27, x28
	b	LBB0_22
LBB0_40:
Lloh17:
	adrp	x9, _ERROR@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	mov	x28, #0
	b	LBB0_22
LBB0_41:
	mov	x28, x27
	b	LBB0_22
LBB0_42:
	mov	x0, x26
	bl	_update_grouptailpos
	ldr	x0, [x26, #40]
	cmp	x27, x0
	b.ge	LBB0_47
; %bb.43:
	ldr	x8, [x26, #16]
	ldr	x1, [x26, #32]
	cmp	x8, x1
	b.ge	LBB0_47
; %bb.44:
	bl	_Min
	ldr	x8, [x26, #16]
	sub	x9, x27, x0
	add	x27, x9, x8
	b	LBB0_47
LBB0_45:
	ldr	x8, [x26, #40]
	mvn	x9, x0
	add	x9, x28, x9
	add	x27, x9, x8
	b	LBB0_22
LBB0_46:
	ldr	x8, [x26, #16]
	sub	x9, x27, x0
	add	x8, x9, x8
	add	x27, x8, #1
LBB0_47:
	mov	x0, x26
	bl	_update_frameheadpos
	ldr	x28, [x26, #8]
	cmp	x27, x28
	b.ge	LBB0_22
LBB0_48:
	cbz	x22, LBB0_50
; %bb.49:
	mov	w8, #1
	str	w8, [x22]
LBB0_50:
	mov	w8, #1
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WINDOW_SEEK_CURRENT is not supported for WinGetFuncArgInFrame"

	.comm	_FRAMEOPTION_EXCLUSION,4,2      ; @FRAMEOPTION_EXCLUSION
l_.str.1:                               ; @.str.1
	.asciz	"unrecognized frame option state: 0x%x"

l_.str.2:                               ; @.str.2
	.asciz	"unrecognized window seek type: %d"

.subsections_via_symbols
