	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_has_lights                     ## -- Begin function has_lights
	.p2align	4, 0x90
_has_lights:                            ## @has_lights
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_SHOW_LIGHTS@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rdi
	decq	%rdi
	decq	%rsi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_3:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	decq	%rdi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_5:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	decq	%rdi
	incq	%rsi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_7:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	decq	%rsi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_9:
	cmpq	$0, (%rbx)
	je	LBB0_10
LBB0_18:
	movl	$1, %r14d
LBB0_19:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	incq	%rsi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_12:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	incq	%rdi
	decq	%rsi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_14:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	incq	%rdi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	cmpq	$0, (%rax)
	jne	LBB0_18
LBB0_16:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	incq	%rdi
	incq	%rsi
	callq	_find_chunk
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpq	$0, (%rax)
	jne	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_SHOW_LIGHTS,4,2                ## @SHOW_LIGHTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_has_lights                     ; -- Begin function has_lights
	.p2align	2
_has_lights:                            ; @has_lights
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _SHOW_LIGHTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHOW_LIGHTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_19
; %bb.1:
	mov	x19, x0
	ldp	x9, x8, [x0, #8]
	sub	x0, x8, #1
	sub	x1, x9, #1
	bl	_find_chunk
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_3:
	ldp	x1, x8, [x19, #8]
	sub	x0, x8, #1
	bl	_find_chunk
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_5:
	ldp	x9, x8, [x19, #8]
	sub	x0, x8, #1
	add	x1, x9, #1
	bl	_find_chunk
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_7:
	ldp	x8, x0, [x19, #8]
	sub	x1, x8, #1
	bl	_find_chunk
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_9:
	ldr	x8, [x19]
	cbz	x8, LBB0_11
LBB0_10:
	mov	w0, #1
	b	LBB0_20
LBB0_11:
	ldp	x8, x0, [x19, #8]
	add	x1, x8, #1
	bl	_find_chunk
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_13:
	ldp	x9, x8, [x19, #8]
	add	x0, x8, #1
	sub	x1, x9, #1
	bl	_find_chunk
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_15:
	ldp	x1, x8, [x19, #8]
	add	x0, x8, #1
	bl	_find_chunk
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_17:
	ldp	x9, x8, [x19, #8]
	add	x0, x8, #1
	add	x1, x9, #1
	bl	_find_chunk
	cbz	x0, LBB0_20
; %bb.18:
	ldr	x8, [x0]
	cbnz	x8, LBB0_10
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SHOW_LIGHTS,4,2                ; @SHOW_LIGHTS
.subsections_via_symbols
