	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timer_trig_activate
_timer_trig_activate:                   ## @timer_trig_activate
	.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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_led_get_brightness
	movq	%rax, (%rbx)
	movq	_LED_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movq	%rbx, 8(%r14)
	leaq	16(%rbx), %rdi
	callq	_init_timer
	movq	_led_timer_function@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%r14, 16(%rbx)
	movl	16(%r14), %edi
	movq	_dev_attr_delay_on@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movl	16(%r14), %edi
	movq	_dev_attr_delay_off@GOTPCREL(%rip), %rsi
	callq	_device_create_file
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movl	16(%r14), %edi
	movq	_dev_attr_delay_on@GOTPCREL(%rip), %rsi
	callq	_device_remove_file
LBB0_8:
	movq	$0, 8(%r14)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_5:
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	12(%rbx), %rsi
	addq	$8, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_LED_OFF,8,3                    ## @LED_OFF
	.comm	_led_timer_function,4,2         ## @led_timer_function
	.comm	_dev_attr_delay_on,4,2          ## @dev_attr_delay_on
	.comm	_dev_attr_delay_off,4,2         ## @dev_attr_delay_off
	.no_dead_strip	_timer_trig_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timer_trig_activate
_timer_trig_activate:                   ; @timer_trig_activate
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_led_get_brightness
	str	x0, [x20]
Lloh3:
	adrp	x8, _LED_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	str	x8, [x20]
LBB0_3:
	str	x20, [x19, #8]
	add	x0, x20, #16
	bl	_init_timer
Lloh6:
	adrp	x8, _led_timer_function@GOTPAGE
Lloh7:
	ldr	x8, [x8, _led_timer_function@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	str	x19, [x20, #16]
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x1, _dev_attr_delay_on@GOTPAGE
Lloh10:
	ldr	x1, [x1, _dev_attr_delay_on@GOTPAGEOFF]
	bl	_device_create_file
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	w0, [x19, #16]
Lloh11:
	adrp	x1, _dev_attr_delay_off@GOTPAGE
Lloh12:
	ldr	x1, [x1, _dev_attr_delay_off@GOTPAGEOFF]
	bl	_device_create_file
	cbz	w0, LBB0_7
; %bb.5:
	ldr	w0, [x19, #16]
Lloh13:
	adrp	x1, _dev_attr_delay_on@GOTPAGE
Lloh14:
	ldr	x1, [x1, _dev_attr_delay_on@GOTPAGEOFF]
	bl	_device_remove_file
LBB0_6:
	str	xzr, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_7:
	ldr	x3, [x19, #24]
	cbz	x3, LBB0_9
; %bb.8:
	add	x1, x20, #12
	add	x2, x20, #8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_9:
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_LED_OFF,8,3                    ; @LED_OFF
	.comm	_led_timer_function,4,2         ; @led_timer_function
	.comm	_dev_attr_delay_on,4,2          ; @dev_attr_delay_on
	.comm	_dev_attr_delay_off,4,2         ; @dev_attr_delay_off
	.no_dead_strip	_timer_trig_activate
.subsections_via_symbols
