	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_times
_set_times:                             ## @set_times
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movslq	%esi, %r14
	movl	(%rax,%r14,8), %edi
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	callq	_choose_times
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	movslq	-36(%rbp), %rdx
	movq	_time_codes@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	(%rsi,%rdx,4), %ecx
	movslq	-40(%rbp), %r8
	movl	(%rsi,%r8,4), %r9d
	movl	(%rax,%r14,8), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_dev_dbg
	movq	_TCA6507_FADE_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-40(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_set_code
	movq	_TCA6507_FULL_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_set_code
	movq	(%rbx), %rax
	movl	%r15d, (%rax,%r14,8)
	movl	4(%rax,%r14,8), %edi
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	callq	_choose_times
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	8(%rbx), %rdi
	movslq	-36(%rbp), %rdx
	movq	(%r12), %rsi
	movl	(%rsi,%rdx,4), %ecx
	movslq	-40(%rbp), %r8
	movl	(%rsi,%r8,4), %r9d
	movl	4(%rax,%r14,8), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_dev_dbg
	movq	_TCA6507_FADE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-40(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_set_code
	movq	_TCA6507_FIRST_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_set_code
	movq	_TCA6507_SECOND_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_set_code
	movq	(%rbx), %rax
	movl	%r15d, 4(%rax,%r14,8)
	movq	_TCA6507_INITIALIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INIT_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_set_code
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Chose on  times %d(%d) %d(%d) for %dms\n"

	.comm	_time_codes,8,3                 ## @time_codes
	.comm	_TCA6507_FADE_ON,4,2            ## @TCA6507_FADE_ON
	.comm	_TCA6507_FULL_ON,4,2            ## @TCA6507_FULL_ON
L_.str.1:                               ## @.str.1
	.asciz	"Chose off times %d(%d) %d(%d) for %dms\n"

	.comm	_TCA6507_FADE_OFF,4,2           ## @TCA6507_FADE_OFF
	.comm	_TCA6507_FIRST_OFF,4,2          ## @TCA6507_FIRST_OFF
	.comm	_TCA6507_SECOND_OFF,4,2         ## @TCA6507_SECOND_OFF
	.comm	_TCA6507_INITIALIZE,4,2         ## @TCA6507_INITIALIZE
	.comm	_INIT_CODE,4,2                  ## @INIT_CODE
	.no_dead_strip	_set_times
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_times
_set_times:                             ; @set_times
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	sbfiz	x9, x19, #3, #32
	ldr	w0, [x8, x9]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_choose_times
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x21, x0
	ldpsw	x4, x2, [sp, #8]
Lloh0:
	adrp	x23, _time_codes@GOTPAGE
Lloh1:
	ldr	x23, [x23, _time_codes@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w3, [x8, x2, lsl #2]
	ldr	w5, [x8, x4, lsl #2]
	sxtw	x8, w19
	ldp	x9, x0, [x20]
	lsl	x22, x8, #3
	ldr	w6, [x9, x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_dev_dbg
Lloh4:
	adrp	x8, _TCA6507_FADE_ON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TCA6507_FADE_ON@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	ldr	w3, [sp, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_set_code
Lloh7:
	adrp	x8, _TCA6507_FULL_ON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TCA6507_FULL_ON@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x2, x19
	bl	_set_code
	ldr	x8, [x20]
	add	x8, x8, x22
	str	w21, [x8]
	ldr	w0, [x8, #4]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_choose_times
	mov	x21, x0
	ldpsw	x4, x2, [sp, #8]
	ldr	x8, [x23]
	ldr	w3, [x8, x2, lsl #2]
	ldr	w5, [x8, x4, lsl #2]
	ldp	x8, x0, [x20]
	add	x8, x8, x22
	ldr	w6, [x8, #4]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_dev_dbg
Lloh12:
	adrp	x8, _TCA6507_FADE_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCA6507_FADE_OFF@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w3, [sp, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_set_code
Lloh15:
	adrp	x8, _TCA6507_FIRST_OFF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TCA6507_FIRST_OFF@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x2, x19
	bl	_set_code
Lloh18:
	adrp	x8, _TCA6507_SECOND_OFF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TCA6507_SECOND_OFF@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x2, x19
	bl	_set_code
	ldr	x8, [x20]
	add	x8, x8, x22
	str	w21, [x8, #4]
Lloh21:
	adrp	x8, _TCA6507_INITIALIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TCA6507_INITIALIZE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _INIT_CODE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _INIT_CODE@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_set_code
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Chose on  times %d(%d) %d(%d) for %dms\n"

	.comm	_time_codes,8,3                 ; @time_codes
	.comm	_TCA6507_FADE_ON,4,2            ; @TCA6507_FADE_ON
	.comm	_TCA6507_FULL_ON,4,2            ; @TCA6507_FULL_ON
l_.str.1:                               ; @.str.1
	.asciz	"Chose off times %d(%d) %d(%d) for %dms\n"

	.comm	_TCA6507_FADE_OFF,4,2           ; @TCA6507_FADE_OFF
	.comm	_TCA6507_FIRST_OFF,4,2          ; @TCA6507_FIRST_OFF
	.comm	_TCA6507_SECOND_OFF,4,2         ; @TCA6507_SECOND_OFF
	.comm	_TCA6507_INITIALIZE,4,2         ; @TCA6507_INITIALIZE
	.comm	_INIT_CODE,4,2                  ; @INIT_CODE
	.no_dead_strip	_set_times
.subsections_via_symbols
