	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SekFinishIdleDet               ## -- Begin function SekFinishIdleDet
	.p2align	4, 0x90
_SekFinishIdleDet:                      ## @SekFinishIdleDet
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_idledet_count@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_idledet_ptrs@GOTPCREL(%rip), %r15
	movq	_EL_STATUS@GOTPCREL(%rip), %r12
	movq	_EL_IDLE@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%dl, %edx
	orl	$26368, %edx                    ## imm = 0x6700
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movw	%dx, (%rcx)
	testq	%rax, %rax
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	(%r15), %rdx
	decq	%rax
	movq	%rax, (%rbx)
	movq	-8(%rdx,%rcx,8), %rcx
	movzwl	(%rcx), %edx
	movl	%edx, %esi
	andl	$64768, %esi                    ## imm = 0xFD00
	cmpl	$32000, %esi                    ## imm = 0x7D00
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzwl	%si, %esi
	cmpl	$29952, %esi                    ## imm = 0x7500
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$28928, %esi                    ## imm = 0x7100
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%dl, %edx
	orl	$26112, %edx                    ## imm = 0x6600
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%dl, %edx
	orl	$24576, %edx                    ## imm = 0x6000
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %edi
	orl	(%r12), %edi
	movzwl	%dx, %edx
	movq	%r14, %rsi
	callq	_elprintf
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_5
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idledet_count,8,3              ## @idledet_count
	.comm	_idledet_ptrs,8,3               ## @idledet_ptrs
	.comm	_EL_STATUS,4,2                  ## @EL_STATUS
	.comm	_EL_IDLE,4,2                    ## @EL_IDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"idle: don't know how to restore %04x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SekFinishIdleDet               ; -- Begin function SekFinishIdleDet
	.p2align	2
_SekFinishIdleDet:                      ; @SekFinishIdleDet
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x20, _idledet_count@GOTPAGE
Lloh1:
	ldr	x20, [x20, _idledet_count@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_10
; %bb.1:
Lloh2:
	adrp	x21, _idledet_ptrs@GOTPAGE
Lloh3:
	ldr	x21, [x21, _idledet_ptrs@GOTPAGEOFF]
	mov	w22, #64768
	mov	w23, #32000
	mov	w24, #29952
	mov	w25, #28928
Lloh4:
	adrp	x26, _EL_STATUS@GOTPAGE
Lloh5:
	ldr	x26, [x26, _EL_STATUS@GOTPAGEOFF]
Lloh6:
	adrp	x27, _EL_IDLE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _EL_IDLE@GOTPAGEOFF]
Lloh8:
	adrp	x19, l_.str@PAGE
Lloh9:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #26368
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bfxil	w10, w2, #0, #8
	strh	w10, [x9]
	cbz	x8, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	sub	x8, x8, #1
	str	x8, [x20]
	ldr	x9, [x9, x8, lsl #3]
	ldrh	w2, [x9]
	and	w10, w2, w22
	cmp	w10, w23
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, w24
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, w25
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #26112
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #24576
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w0, w9, w8
	mov	x1, x19
	bl	_elprintf
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_idledet_count,8,3              ; @idledet_count
	.comm	_idledet_ptrs,8,3               ; @idledet_ptrs
	.comm	_EL_STATUS,4,2                  ; @EL_STATUS
	.comm	_EL_IDLE,4,2                    ; @EL_IDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"idle: don't know how to restore %04x"

.subsections_via_symbols
