	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TS_execute_ternary
_TS_execute_ternary:                    ## @TS_execute_ternary
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_check_stack_depth
	movq	(%rbx), %rax
	movq	_QI_VAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_checkcondition_gin_internal    ## TAILCALL
LBB0_1:
	movl	8(%rbx), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	(%r14), %rax
	movl	$1, (%rax)
	movl	$1, %r15d
LBB0_4:
	movslq	12(%rbx), %rsi
	shlq	$4, %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_TS_execute_ternary
	movq	_GIN_FALSE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	je	LBB0_18
## %bb.5:
	movl	%eax, %r12d
	addq	$16, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_TS_execute_ternary
	cmpl	(%r13), %eax
	je	LBB0_18
## %bb.6:
	movq	_GIN_TRUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_elog
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_10:
	movslq	12(%rbx), %rsi
	shlq	$4, %rsi
	addq	%rbx, %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_TS_execute_ternary
	movq	_GIN_TRUE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	je	LBB0_18
## %bb.11:
	movl	%eax, %r12d
	addq	$16, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_TS_execute_ternary
	cmpl	(%r13), %eax
	je	LBB0_18
## %bb.12:
	movq	_GIN_FALSE@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %ecx
	xorl	%ecx, %r12d
	xorl	%ecx, %eax
	orl	%r12d, %eax
	je	LBB0_17
## %bb.8:
	movq	_GIN_MAYBE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_17
LBB0_13:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.14:
	movq	_GIN_MAYBE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
LBB0_15:
	addq	$16, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_TS_execute_ternary
	movq	_GIN_MAYBE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_18
## %bb.16:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
LBB0_17:
	movl	%ecx, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_QI_VAL,8,3                     ## @QI_VAL
	.comm	_GIN_MAYBE,4,2                  ## @GIN_MAYBE
	.comm	_GIN_FALSE,4,2                  ## @GIN_FALSE
	.comm	_GIN_TRUE,4,2                   ## @GIN_TRUE
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized operator: %d"

	.no_dead_strip	_TS_execute_ternary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TS_execute_ternary
_TS_execute_ternary:                    ; @TS_execute_ternary
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_check_stack_depth
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _QI_VAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QI_VAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_checkcondition_gin_internal
LBB0_2:
	ldr	w2, [x21, #8]
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x8, [x19]
	mov	w20, #1
	str	w20, [x8]
LBB0_5:
	ldrsw	x8, [x21, #12]
	add	x1, x21, x8, lsl #4
	mov	x0, x19
	mov	x2, x20
	bl	_TS_execute_ternary
Lloh5:
	adrp	x23, _GIN_FALSE@GOTPAGE
Lloh6:
	ldr	x23, [x23, _GIN_FALSE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.6:
	mov	x22, x0
	add	x1, x21, #16
	mov	x0, x19
	mov	x2, x20
	bl	_TS_execute_ternary
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.7:
Lloh7:
	adrp	x8, _GIN_TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GIN_TRUE@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	w0, #0
	b	LBB0_17
LBB0_9:
	ldrsw	x8, [x21, #12]
	add	x1, x21, x8, lsl #4
	mov	x0, x19
	mov	x2, x20
	bl	_TS_execute_ternary
Lloh14:
	adrp	x23, _GIN_TRUE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _GIN_TRUE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.10:
	mov	x22, x0
	add	x1, x21, #16
	mov	x0, x19
	mov	x2, x20
	bl	_TS_execute_ternary
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.11:
Lloh16:
	adrp	x8, _GIN_FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GIN_FALSE@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	cmp	w0, w8
	ccmp	w22, w8, #0, eq
Lloh18:
	adrp	x9, _GIN_MAYBE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _GIN_MAYBE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	csel	w0, w8, w9, eq
	b	LBB0_17
LBB0_13:
	cbz	w20, LBB0_15
; %bb.14:
Lloh21:
	adrp	x8, _GIN_MAYBE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GIN_MAYBE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_15:
	add	x1, x21, #16
	mov	x0, x19
	mov	w2, #0
	bl	_TS_execute_ternary
Lloh24:
	adrp	x8, _GIN_MAYBE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GIN_MAYBE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_17
; %bb.16:
	cmp	w0, #0
	cset	w0, eq
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
                                        ; -- End function
	.comm	_QI_VAL,8,3                     ; @QI_VAL
	.comm	_GIN_MAYBE,4,2                  ; @GIN_MAYBE
	.comm	_GIN_FALSE,4,2                  ; @GIN_FALSE
	.comm	_GIN_TRUE,4,2                   ; @GIN_TRUE
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized operator: %d"

	.no_dead_strip	_TS_execute_ternary
.subsections_via_symbols
