	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cl_optchange                   ## -- Begin function cl_optchange
	.p2align	4, 0x90
_cl_optchange:                          ## @cl_optchange
	.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	%rcx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_CLP
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_5:
	cmpl	$0, (%r14)
	movq	_CL_RENAME_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	je	LBB0_9
## %bb.6:
	callq	_F_SET
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	movl	$1, %edx
	jmp	LBB0_10
LBB0_2:
	movq	_SC_SCR_EX@GOTPCREL(%rip), %rax
	movq	_SC_SCR_VI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_F_CLR
LBB0_3:
	movq	8(%r15), %rdi
	movq	_G_SRESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_F_SET
	jmp	LBB0_11
LBB0_4:
	movl	(%r14), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_cl_omesg
	jmp	LBB0_11
LBB0_9:
	callq	_F_CLR
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
LBB0_10:
	callq	_cl_rename
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_SC_SCR_EX,4,2                  ## @SC_SCR_EX
	.comm	_SC_SCR_VI,4,2                  ## @SC_SCR_VI
	.comm	_G_SRESTART,4,2                 ## @G_SRESTART
	.comm	_CL_RENAME_OK,4,2               ## @CL_RENAME_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cl_optchange                   ; -- Begin function cl_optchange
	.p2align	2
_cl_optchange:                          ; @cl_optchange
	.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	x20, x3
	mov	x21, x1
	mov	x19, x0
	bl	_CLP
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_11
; %bb.1:
	mov	x3, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _CL_RENAME_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CL_RENAME_OK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	mov	x0, x3
	cbz	w8, LBB0_9
; %bb.3:
	bl	_F_SET
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.4:
	ldr	x1, [x8]
	cbz	x1, LBB0_11
; %bb.5:
	mov	x0, x19
	mov	w2, #1
	b	LBB0_10
LBB0_6:
Lloh5:
	adrp	x8, _SC_SCR_EX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SC_SCR_EX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SC_SCR_VI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SC_SCR_VI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_F_CLR
LBB0_7:
	ldr	x0, [x19, #8]
Lloh11:
	adrp	x8, _G_SRESTART@GOTPAGE
Lloh12:
	ldr	x8, [x8, _G_SRESTART@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_F_SET
	b	LBB0_11
LBB0_8:
	ldr	w2, [x20]
	mov	x0, x19
	mov	x1, x3
	bl	_cl_omesg
	b	LBB0_11
LBB0_9:
	bl	_F_CLR
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
LBB0_10:
	bl	_cl_rename
LBB0_11:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_SC_SCR_EX,4,2                  ; @SC_SCR_EX
	.comm	_SC_SCR_VI,4,2                  ; @SC_SCR_VI
	.comm	_G_SRESTART,4,2                 ; @G_SRESTART
	.comm	_CL_RENAME_OK,4,2               ; @CL_RENAME_OK
.subsections_via_symbols
