	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_tg
_led_tg:                                ## @led_tg
	.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	(%rsi), %rbx
	movq	16(%rbx), %r14
	cmpq	$0, (%rbx)
	jle	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	leaq	4(%r14), %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_led_trigger_event
LBB0_4:
	movq	_LED_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_led_trigger_event
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jle	LBB0_6
## %bb.5:
	addq	$4, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	jmp	LBB0_8
LBB0_6:
	jne	LBB0_8
## %bb.7:
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_led_trigger_event
LBB0_8:
	movq	_XT_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.comm	_LED_FULL,4,2                   ## @LED_FULL
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_XT_CONTINUE,4,2                ## @XT_CONTINUE
	.no_dead_strip	_led_tg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_tg
_led_tg:                                ; @led_tg
	.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
	ldr	x20, [x1]
	ldr	x19, [x20, #16]
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	add	x0, x19, #4
	bl	_timer_pending
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_led_trigger_event
LBB0_4:
Lloh3:
	adrp	x8, _LED_FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_led_trigger_event
	ldr	x0, [x20]
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.5:
	add	x19, x19, #4
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	bl	_mod_timer
	b	LBB0_8
LBB0_6:
	cbnz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_led_trigger_event
LBB0_8:
Lloh12:
	adrp	x8, _XT_CONTINUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XT_CONTINUE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.comm	_LED_FULL,4,2                   ; @LED_FULL
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_XT_CONTINUE,4,2                ; @XT_CONTINUE
	.no_dead_strip	_led_tg
.subsections_via_symbols
