	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_start_led_override        ## -- Begin function hfi1_start_led_override
	.p2align	4, 0x90
_hfi1_start_led_override:               ## @hfi1_start_led_override
	.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	24(%rdi), %rax
	movq	_HFI1_INITTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%edx, %edi
	callq	_msecs_to_jiffies
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	%r14d, %edi
	callq	_msecs_to_jiffies
	movq	16(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movl	$1, (%rbx)
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_timer_pending
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_run_led_override@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	callq	_add_timer
	addq	$4, %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_atomic_set
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_smp_wmb                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HFI1_INITTED,4,2               ## @HFI1_INITTED
	.comm	_run_led_override,4,2           ## @run_led_override
	.comm	_jiffies,8,3                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_start_led_override        ; -- Begin function hfi1_start_led_override
	.p2align	2
_hfi1_start_led_override:               ; @hfi1_start_led_override
	.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	x8, [x0, #24]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _HFI1_INITTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HFI1_INITTED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_msecs_to_jiffies
	ldr	x8, [x19, #16]
	str	x0, [x8]
	mov	x0, x20
	bl	_msecs_to_jiffies
	ldr	x8, [x19, #16]
	str	x0, [x8, #8]
	mov	w8, #1
	str	w8, [x19]
	add	x20, x19, #8
	mov	x0, x20
	bl	_timer_pending
	cbz	w0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _run_led_override@GOTPAGE
Lloh4:
	ldr	x8, [x8, _run_led_override@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_timer_setup
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	mov	x0, x20
	bl	_add_timer
	add	x0, x19, #4
	mov	w1, #1
	bl	_atomic_set
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smp_wmb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HFI1_INITTED,4,2               ; @HFI1_INITTED
	.comm	_run_led_override,4,2           ; @run_led_override
	.comm	_jiffies,8,3                    ; @jiffies
.subsections_via_symbols
