	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smi_ir_start                   ## -- Begin function smi_ir_start
	.p2align	4, 0x90
_smi_ir_start:                          ## @smi_ir_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_IR_Idle_Cnt_Low@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SMI_SAMPLE_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$16, %eax
	movq	_SMI_SAMPLE_IDLEMIN@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	leal	(%rax,%rcx), %esi
	addl	$-65536, %esi                   ## imm = 0xFFFF0000
	callq	_smi_write
	movl	$20, %edi
	callq	_msleep
	movq	_IR_Init_Reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_rbIRen@GOTPCREL(%rip), %rax
	movq	_rbIRhighidle@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_smi_set
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_smi_ir_enableInterrupt         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IR_Idle_Cnt_Low,4,2            ## @IR_Idle_Cnt_Low
	.comm	_SMI_SAMPLE_PERIOD,4,2          ## @SMI_SAMPLE_PERIOD
	.comm	_SMI_SAMPLE_IDLEMIN,4,2         ## @SMI_SAMPLE_IDLEMIN
	.comm	_IR_Init_Reg,4,2                ## @IR_Init_Reg
	.comm	_rbIRen,4,2                     ## @rbIRen
	.comm	_rbIRhighidle,4,2               ## @rbIRhighidle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smi_ir_start                   ; -- Begin function smi_ir_start
	.p2align	2
_smi_ir_start:                          ; @smi_ir_start
	.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, _IR_Idle_Cnt_Low@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IR_Idle_Cnt_Low@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SMI_SAMPLE_PERIOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMI_SAMPLE_PERIOD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SMI_SAMPLE_IDLEMIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SMI_SAMPLE_IDLEMIN@GOTPAGEOFF]
	ldrh	w9, [x9]
	bfi	w9, w8, #16, #16
	sub	w1, w9, #16, lsl #12            ; =65536
	bl	_smi_write
	mov	w0, #20
	bl	_msleep
Lloh8:
	adrp	x8, _IR_Init_Reg@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IR_Init_Reg@GOTPAGEOFF]
Lloh10:
	adrp	x9, _rbIRen@GOTPAGE
Lloh11:
	ldr	x9, [x9, _rbIRen@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _rbIRhighidle@GOTPAGE
Lloh15:
	ldr	x9, [x9, _rbIRhighidle@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_smi_set
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_smi_ir_enableInterrupt
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IR_Idle_Cnt_Low,4,2            ; @IR_Idle_Cnt_Low
	.comm	_SMI_SAMPLE_PERIOD,4,2          ; @SMI_SAMPLE_PERIOD
	.comm	_SMI_SAMPLE_IDLEMIN,4,2         ; @SMI_SAMPLE_IDLEMIN
	.comm	_IR_Init_Reg,4,2                ; @IR_Init_Reg
	.comm	_rbIRen,4,2                     ; @rbIRen
	.comm	_rbIRhighidle,4,2               ; @rbIRhighidle
.subsections_via_symbols
