	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setillum
_setillum:                              ## @setillum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_ILLUM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	btl	%eax, %ecx
	jae	LBB0_1
LBB0_8:
	popq	%rbp
	retq
LBB0_1:
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$129, %ecx
	jne	LBB0_8
## %bb.3:
	movq	8(%rdi), %rcx
	xorl	%edx, %edx
	cmpl	$0, (%rcx,%rax,4)
	setne	%dl
	leal	96(,%rdx,4), %edx
	jmp	LBB0_7
LBB0_4:
	movq	_starcam@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	movq	8(%rdi), %rcx
	movl	(%rcx,%rax,4), %eax
	je	LBB0_6
## %bb.5:
	cmpl	$1, %eax
	movl	$85, %edx
	sbbl	$0, %edx
	jmp	LBB0_7
LBB0_6:
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	leal	(%rcx,%rcx), %edx
	addl	$100, %edx
LBB0_7:
	movl	$2, %esi
	popq	%rbp
	jmp	_reg_w1                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ILLUM,4,2                      ## @ILLUM
	.comm	_starcam,4,2                    ## @starcam
	.no_dead_strip	_setillum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setillum
_setillum:                              ; @setillum
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
Lloh0:
	adrp	x8, _ILLUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ILLUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w10, w9, w8
	tbz	w10, #0, LBB0_2
LBB0_1:
	ret
LBB0_2:
	sxtw	x8, w8
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w9, #129
	b.ne	LBB0_1
; %bb.4:
	ldr	x9, [x0, #8]
	ldr	w8, [x9, x8, lsl #2]
	mov	w9, #100
	mov	w10, #96
	cmp	w8, #0
	csel	w2, w10, w9, eq
	mov	w1, #2
	b	_reg_w1
LBB0_5:
Lloh3:
	adrp	x9, _starcam@GOTPAGE
Lloh4:
	ldr	x9, [x9, _starcam@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	x10, [x0, #8]
	ldr	w8, [x10, x8, lsl #2]
	mov	w10, #102
	mov	w11, #100
	cmp	w8, #0
	csel	w8, w11, w10, eq
	mov	w10, #84
	cinc	w10, w10, ne
	cmp	w9, #0
	csel	w2, w8, w10, eq
	mov	w1, #2
	b	_reg_w1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ILLUM,4,2                      ; @ILLUM
	.comm	_starcam,4,2                    ; @starcam
	.no_dead_strip	_setillum
.subsections_via_symbols
