	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_function_parse_error_transpose ## -- Begin function function_parse_error_transpose
	.p2align	4, 0x90
_function_parse_error_transpose:        ## @function_parse_error_transpose
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_geterrposition
	movl	%eax, %r13d
	testl	%eax, %eax
	jg	LBB0_2
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_getinternalerrposition
	movl	%eax, %r13d
	testl	%eax, %eax
	jle	LBB0_5
LBB0_2:
	movq	_ActivePortal@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rax), %rax
	movq	_PORTAL_ACTIVE@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	sete	%r15b
LBB0_4:
	movl	%r15d, %edi
	callq	_Assert
	movq	(%rbx), %rax
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_match_prosrc_to_query
	xorl	%ebx, %ebx
	testl	%eax, %eax
	cmovlel	%ebx, %eax
	cmovgl	%ebx, %r13d
	cmovleq	%r14, %rbx
	movl	%eax, %edi
	callq	_errposition
	movl	%r13d, %edi
	callq	_internalerrposition
	movq	%rbx, %rdi
	callq	_internalerrquery
	movl	$1, %r12d
LBB0_5:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ActivePortal,8,3               ## @ActivePortal
	.comm	_PORTAL_ACTIVE,8,3              ## @PORTAL_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_function_parse_error_transpose ; -- Begin function function_parse_error_transpose
	.p2align	2
_function_parse_error_transpose:        ; @function_parse_error_transpose
	.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	x19, x0
	bl	_geterrposition
	mov	x20, x0
	cmp	w0, #0
	b.gt	LBB0_2
; %bb.1:
	bl	_getinternalerrposition
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_7
LBB0_2:
Lloh0:
	adrp	x21, _ActivePortal@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ActivePortal@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _PORTAL_ACTIVE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PORTAL_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	bl	_Assert
	ldr	x8, [x21]
	ldr	x1, [x8, #8]
	mov	x0, x19
	mov	x2, x20
	bl	_match_prosrc_to_query
	cmp	w0, #0
	csel	w0, w0, wzr, gt
	csel	w20, wzr, w20, gt
	csel	x19, xzr, x19, gt
	bl	_errposition
	mov	x0, x20
	bl	_internalerrposition
	mov	x0, x19
	bl	_internalerrquery
	mov	w0, #1
LBB0_6:
	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
LBB0_7:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ActivePortal,8,3               ; @ActivePortal
	.comm	_PORTAL_ACTIVE,8,3              ; @PORTAL_ACTIVE
.subsections_via_symbols
