	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ene_hw_detect
_ene_hw_detect:                         ## @ene_hw_detect
	.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	%rdi, %r15
	movq	_ENE_ECSTS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_ENE_ECSTS_RSRVD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_ene_clear_reg_mask
	movq	_ENE_ECVER_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, %r14d
	movq	_ENE_ECVER_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_ene_set_reg_mask
	movq	_ENE_ECHV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, %r12d
	movq	_ENE_HW_VER_OLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, %r13d
	movq	_ENE_PLLFRH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, %ebx
	shll	$4, %ebx
	movq	_ENE_PLLFRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	sarl	$4, %eax
	addl	%ebx, %eax
	movl	%eax, (%r15)
	movq	_sample_period@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_ENE_DEFAULT_SAMPLE_PERIOD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_ENE_DEFAULT_PLL_FREQ@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setne	%dl
	leal	(%rdx,%rdx), %eax
	addl	$2, %eax
	movl	%eax, 4(%r15)
LBB0_2:
	cmpl	$255, %r12d
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_warn
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	movl	%r13d, %ecx
	xorl	%r13d, %r13d
	movl	%r14d, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_pr_notice
	movl	(%r15), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	cmpl	$51, %r14d
	jne	LBB0_7
## %bb.5:
	leaq	L_.str.5(%rip), %rdi
LBB0_6:
	callq	_pr_warn
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_18:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	$57, %r14d
	xorl	$38, %ebx
	orl	%r14d, %ebx
	sete	%al
	cmpl	$192, %r12d
	sete	%cl
	cmpl	$36, -44(%rbp)                  ## 4-byte Folded Reload
	sete	%dl
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rbx
	testb	%cl, %dl
	cmovneq	%rsi, %rbx
	leaq	L_.str.6(%rip), %rdi
	movq	_ENE_HW_D@GOTPCREL(%rip), %rdx
	cmovneq	_ENE_HW_B@GOTPCREL(%rip), %rdx
	testb	%cl, %al
	cmoveq	%rbx, %rdi
	movq	_ENE_HW_C@GOTPCREL(%rip), %rbx
	cmovneq	%rbx, %rdx
	movq	(%rdx), %rax
	movq	%rax, 8(%r15)
	xorl	%eax, %eax
	callq	_pr_notice
	movq	8(%r15), %rax
	cmpq	(%rbx), %rax
	jl	LBB0_18
## %bb.8:
	movq	_ENE_FW1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, %ebx
	movq	_ENE_FW2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ene_read_reg
	movl	%eax, %r14d
	leaq	L_.str.9(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_notice
	movq	_ENE_FW2_GP0A@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%cl
	movl	%ecx, 16(%r15)
	movq	_ENE_FW2_LEARNING@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	andl	%r14d, %eax
	setne	%cl
	movl	%ecx, 20(%r15)
	movq	_ENE_FW1_HAS_EXTRA_BUF@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %ebx
	setne	%dl
	movl	%edx, 24(%r15)
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_ENE_FW2_FAN_INPUT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	andl	(%rax), %r14d
	setne	%cl
	movl	%ecx, 28(%r15)
LBB0_10:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	cmpl	$0, 20(%r15)
	je	LBB0_13
## %bb.11:
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	cmpl	$0, 16(%r15)
	leaq	L_.str.19(%rip), %rax
	leaq	L_.str.18(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	cmpl	$0, 28(%r15)
	je	LBB0_13
## %bb.12:
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
LBB0_13:
	cmpl	$0, 28(%r15)
	je	LBB0_14
## %bb.15:
	cmpl	$0, 24(%r15)
	je	LBB0_16
LBB0_17:
	leaq	L_.str.22(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_pr_notice
	jmp	LBB0_18
LBB0_14:
	cmpl	$0, 16(%r15)
	leaq	L_.str.18(%rip), %rax
	leaq	L_.str.19(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_notice
	cmpl	$0, 24(%r15)
	jne	LBB0_17
LBB0_16:
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_ENE_ECSTS,4,2                  ## @ENE_ECSTS
	.comm	_ENE_ECSTS_RSRVD,4,2            ## @ENE_ECSTS_RSRVD
	.comm	_ENE_ECVER_MAJOR,4,2            ## @ENE_ECVER_MAJOR
	.comm	_ENE_ECVER_MINOR,4,2            ## @ENE_ECVER_MINOR
	.comm	_ENE_ECHV,4,2                   ## @ENE_ECHV
	.comm	_ENE_HW_VER_OLD,4,2             ## @ENE_HW_VER_OLD
	.comm	_ENE_PLLFRH,4,2                 ## @ENE_PLLFRH
	.comm	_ENE_PLLFRL,4,2                 ## @ENE_PLLFRL
	.comm	_sample_period,8,3              ## @sample_period
	.comm	_ENE_DEFAULT_SAMPLE_PERIOD,8,3  ## @ENE_DEFAULT_SAMPLE_PERIOD
	.comm	_ENE_DEFAULT_PLL_FREQ,4,2       ## @ENE_DEFAULT_PLL_FREQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device seems to be disabled\n"

L_.str.1:                               ## @.str.1
	.asciz	"send a mail to lirc-list@lists.sourceforge.net\n"

L_.str.2:                               ## @.str.2
	.asciz	"please attach output of acpidump and dmidecode\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.3:                               ## @.str.3
	.asciz	"chip is 0x%02x%02x - kbver = 0x%02x, rev = 0x%02x\n"

L_.str.4:                               ## @.str.4
	.asciz	"PLL freq = %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"chips 0x33xx aren't supported\n"

	.comm	_ENE_HW_C,8,3                   ## @ENE_HW_C
L_.str.6:                               ## @.str.6
	.asciz	"KB3926C detected\n"

	.comm	_ENE_HW_B,8,3                   ## @ENE_HW_B
L_.str.7:                               ## @.str.7
	.asciz	"KB3926B detected\n"

	.comm	_ENE_HW_D,8,3                   ## @ENE_HW_D
L_.str.8:                               ## @.str.8
	.asciz	"KB3926D or higher detected\n"

	.comm	_ENE_FW1,4,2                    ## @ENE_FW1
	.comm	_ENE_FW2,4,2                    ## @ENE_FW2
L_.str.9:                               ## @.str.9
	.asciz	"Firmware regs: %02x %02x\n"

	.comm	_ENE_FW2_GP0A,4,2               ## @ENE_FW2_GP0A
	.comm	_ENE_FW2_LEARNING,4,2           ## @ENE_FW2_LEARNING
	.comm	_ENE_FW1_HAS_EXTRA_BUF,4,2      ## @ENE_FW1_HAS_EXTRA_BUF
	.comm	_ENE_FW2_FAN_INPUT,4,2          ## @ENE_FW2_FAN_INPUT
L_.str.10:                              ## @.str.10
	.asciz	"Hardware features:\n"

L_.str.11:                              ## @.str.11
	.asciz	"* Supports transmitting & learning mode\n"

L_.str.12:                              ## @.str.12
	.asciz	"   This feature is rare and therefore,\n"

L_.str.13:                              ## @.str.13
	.asciz	"   you are welcome to test it,\n"

L_.str.14:                              ## @.str.14
	.asciz	"   and/or contact the author via:\n"

L_.str.15:                              ## @.str.15
	.asciz	"   lirc-list@lists.sourceforge.net\n"

L_.str.16:                              ## @.str.16
	.asciz	"   or maximlevitsky@gmail.com\n"

L_.str.17:                              ## @.str.17
	.asciz	"* Uses GPIO %s for IR raw input\n"

L_.str.18:                              ## @.str.18
	.asciz	"40"

L_.str.19:                              ## @.str.19
	.asciz	"0A"

L_.str.20:                              ## @.str.20
	.asciz	"* Uses unused fan feedback input as source of demodulated IR data\n"

L_.str.21:                              ## @.str.21
	.asciz	"* Uses GPIO %s for IR demodulated input\n"

L_.str.22:                              ## @.str.22
	.asciz	"* Uses new style input buffer\n"

	.no_dead_strip	_ene_hw_detect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ene_hw_detect
_ene_hw_detect:                         ; @ene_hw_detect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x22, _ENE_ECSTS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ENE_ECSTS@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _ENE_ECSTS_RSRVD@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ENE_ECSTS_RSRVD@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_ene_clear_reg_mask
Lloh4:
	adrp	x8, _ENE_ECVER_MAJOR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENE_ECVER_MAJOR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x20, x0
Lloh7:
	adrp	x8, _ENE_ECVER_MINOR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENE_ECVER_MINOR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x21, x0
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_ene_set_reg_mask
Lloh10:
	adrp	x8, _ENE_ECHV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENE_ECHV@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x22, x0
Lloh13:
	adrp	x8, _ENE_HW_VER_OLD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENE_HW_VER_OLD@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x23, x0
Lloh16:
	adrp	x8, _ENE_PLLFRH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENE_PLLFRH@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x24, x0
Lloh19:
	adrp	x8, _ENE_PLLFRL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENE_PLLFRL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	asr	w8, w0, #4
	add	w8, w8, w24, lsl #4
Lloh22:
	adrp	x9, _sample_period@GOTPAGE
Lloh23:
	ldr	x9, [x9, _sample_period@GOTPAGEOFF]
	str	w8, [x19]
Lloh24:
	ldr	x9, [x9]
Lloh25:
	adrp	x10, _ENE_DEFAULT_SAMPLE_PERIOD@GOTPAGE
Lloh26:
	ldr	x10, [x10, _ENE_DEFAULT_SAMPLE_PERIOD@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_2
; %bb.1:
Lloh28:
	adrp	x9, _ENE_DEFAULT_PLL_FREQ@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ENE_DEFAULT_PLL_FREQ@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	mov	w10, #4
	mov	w11, #2
	cmp	w8, w9
	csel	w8, w11, w10, eq
	str	w8, [x19, #4]
LBB0_2:
	cmp	w22, #255
	b.ne	LBB0_4
; %bb.3:
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh33:
	adrp	x0, l_.str.1@PAGE
Lloh34:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_warn
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:
	stp	x23, x22, [sp, #16]
	stp	x20, x21, [sp]
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_notice
	ldr	w8, [x19]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.4@PAGE
Lloh40:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_notice
	cmp	w20, #51
	b.ne	LBB0_7
; %bb.5:
Lloh41:
	adrp	x0, l_.str.5@PAGE
Lloh42:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_6:
	bl	_pr_warn
Lloh43:
	adrp	x8, _ENODEV@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_7:
	cmp	w20, #57
	mov	w8, #38
	ccmp	w21, w8, #0, eq
	cset	w8, eq
	cmp	w22, #192
	cset	w9, eq
	cmp	w23, #36
	cset	w10, eq
Lloh46:
	adrp	x11, l_.str.8@PAGE
Lloh47:
	add	x11, x11, l_.str.8@PAGEOFF
Lloh48:
	adrp	x12, l_.str.7@PAGE
Lloh49:
	add	x12, x12, l_.str.7@PAGEOFF
	tst	w10, w9
	csel	x10, x12, x11, ne
Lloh50:
	adrp	x11, l_.str.6@PAGE
Lloh51:
	add	x11, x11, l_.str.6@PAGEOFF
Lloh52:
	adrp	x12, _ENE_HW_B@GOTPAGE
Lloh53:
	ldr	x12, [x12, _ENE_HW_B@GOTPAGEOFF]
Lloh54:
	adrp	x13, _ENE_HW_D@GOTPAGE
Lloh55:
	ldr	x13, [x13, _ENE_HW_D@GOTPAGEOFF]
	csel	x12, x12, x13, ne
	tst	w8, w9
	csel	x0, x11, x10, ne
Lloh56:
	adrp	x20, _ENE_HW_C@GOTPAGE
Lloh57:
	ldr	x20, [x20, _ENE_HW_C@GOTPAGEOFF]
	csel	x8, x20, x12, ne
	ldr	x8, [x8]
	str	x8, [x19, #8]
	bl	_pr_notice
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.lt	LBB0_17
; %bb.8:
Lloh58:
	adrp	x8, _ENE_FW1@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ENE_FW1@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x21, x0
Lloh61:
	adrp	x8, _ENE_FW2@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ENE_FW2@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ene_read_reg
	mov	x20, x0
	stp	x21, x20, [sp]
Lloh64:
	adrp	x0, l_.str.9@PAGE
Lloh65:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_pr_notice
Lloh66:
	adrp	x8, _ENE_FW2_GP0A@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ENE_FW2_GP0A@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	tst	w8, w20
Lloh69:
	adrp	x8, _ENE_FW2_LEARNING@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ENE_FW2_LEARNING@GOTPAGEOFF]
	cset	w9, ne
Lloh71:
	ldr	w8, [x8]
	ands	w8, w8, w20
	cset	w10, ne
	stp	w9, w10, [x19, #16]
Lloh72:
	adrp	x9, _ENE_FW1_HAS_EXTRA_BUF@GOTPAGE
Lloh73:
	ldr	x9, [x9, _ENE_FW1_HAS_EXTRA_BUF@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	tst	w9, w21
	cset	w9, ne
	str	w9, [x19, #24]
	cbz	w8, LBB0_10
; %bb.9:
Lloh75:
	adrp	x8, _ENE_FW2_FAN_INPUT@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ENE_FW2_FAN_INPUT@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
	str	w8, [x19, #28]
LBB0_10:
Lloh78:
	adrp	x0, l_.str.10@PAGE
Lloh79:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_notice
	ldr	w8, [x19, #20]
Lloh80:
	adrp	x20, l_.str.19@PAGE
Lloh81:
	add	x20, x20, l_.str.19@PAGEOFF
Lloh82:
	adrp	x21, l_.str.18@PAGE
Lloh83:
	add	x21, x21, l_.str.18@PAGEOFF
	cbz	w8, LBB0_13
; %bb.11:
Lloh84:
	adrp	x0, l_.str.11@PAGE
Lloh85:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_pr_notice
Lloh86:
	adrp	x0, l_.str.12@PAGE
Lloh87:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pr_notice
Lloh88:
	adrp	x0, l_.str.13@PAGE
Lloh89:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_pr_notice
Lloh90:
	adrp	x0, l_.str.14@PAGE
Lloh91:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_pr_notice
Lloh92:
	adrp	x0, l_.str.15@PAGE
Lloh93:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_pr_notice
Lloh94:
	adrp	x0, l_.str.16@PAGE
Lloh95:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_pr_notice
	ldr	w8, [x19, #16]
	cmp	w8, #0
	csel	x8, x20, x21, eq
	str	x8, [sp]
Lloh96:
	adrp	x0, l_.str.17@PAGE
Lloh97:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_pr_notice
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_13
; %bb.12:
Lloh98:
	adrp	x0, l_.str.20@PAGE
Lloh99:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_pr_notice
LBB0_13:
	ldr	w8, [x19, #28]
	cbnz	w8, LBB0_15
; %bb.14:
	ldr	w8, [x19, #16]
	cmp	w8, #0
	csel	x8, x21, x20, eq
	str	x8, [sp]
Lloh100:
	adrp	x0, l_.str.21@PAGE
Lloh101:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_pr_notice
LBB0_15:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_17
; %bb.16:
Lloh102:
	adrp	x0, l_.str.22@PAGE
Lloh103:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_pr_notice
LBB0_17:
	mov	w0, #0
LBB0_18:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.comm	_ENE_ECSTS,4,2                  ; @ENE_ECSTS
	.comm	_ENE_ECSTS_RSRVD,4,2            ; @ENE_ECSTS_RSRVD
	.comm	_ENE_ECVER_MAJOR,4,2            ; @ENE_ECVER_MAJOR
	.comm	_ENE_ECVER_MINOR,4,2            ; @ENE_ECVER_MINOR
	.comm	_ENE_ECHV,4,2                   ; @ENE_ECHV
	.comm	_ENE_HW_VER_OLD,4,2             ; @ENE_HW_VER_OLD
	.comm	_ENE_PLLFRH,4,2                 ; @ENE_PLLFRH
	.comm	_ENE_PLLFRL,4,2                 ; @ENE_PLLFRL
	.comm	_sample_period,8,3              ; @sample_period
	.comm	_ENE_DEFAULT_SAMPLE_PERIOD,8,3  ; @ENE_DEFAULT_SAMPLE_PERIOD
	.comm	_ENE_DEFAULT_PLL_FREQ,4,2       ; @ENE_DEFAULT_PLL_FREQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device seems to be disabled\n"

l_.str.1:                               ; @.str.1
	.asciz	"send a mail to lirc-list@lists.sourceforge.net\n"

l_.str.2:                               ; @.str.2
	.asciz	"please attach output of acpidump and dmidecode\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.3:                               ; @.str.3
	.asciz	"chip is 0x%02x%02x - kbver = 0x%02x, rev = 0x%02x\n"

l_.str.4:                               ; @.str.4
	.asciz	"PLL freq = %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"chips 0x33xx aren't supported\n"

	.comm	_ENE_HW_C,8,3                   ; @ENE_HW_C
l_.str.6:                               ; @.str.6
	.asciz	"KB3926C detected\n"

	.comm	_ENE_HW_B,8,3                   ; @ENE_HW_B
l_.str.7:                               ; @.str.7
	.asciz	"KB3926B detected\n"

	.comm	_ENE_HW_D,8,3                   ; @ENE_HW_D
l_.str.8:                               ; @.str.8
	.asciz	"KB3926D or higher detected\n"

	.comm	_ENE_FW1,4,2                    ; @ENE_FW1
	.comm	_ENE_FW2,4,2                    ; @ENE_FW2
l_.str.9:                               ; @.str.9
	.asciz	"Firmware regs: %02x %02x\n"

	.comm	_ENE_FW2_GP0A,4,2               ; @ENE_FW2_GP0A
	.comm	_ENE_FW2_LEARNING,4,2           ; @ENE_FW2_LEARNING
	.comm	_ENE_FW1_HAS_EXTRA_BUF,4,2      ; @ENE_FW1_HAS_EXTRA_BUF
	.comm	_ENE_FW2_FAN_INPUT,4,2          ; @ENE_FW2_FAN_INPUT
l_.str.10:                              ; @.str.10
	.asciz	"Hardware features:\n"

l_.str.11:                              ; @.str.11
	.asciz	"* Supports transmitting & learning mode\n"

l_.str.12:                              ; @.str.12
	.asciz	"   This feature is rare and therefore,\n"

l_.str.13:                              ; @.str.13
	.asciz	"   you are welcome to test it,\n"

l_.str.14:                              ; @.str.14
	.asciz	"   and/or contact the author via:\n"

l_.str.15:                              ; @.str.15
	.asciz	"   lirc-list@lists.sourceforge.net\n"

l_.str.16:                              ; @.str.16
	.asciz	"   or maximlevitsky@gmail.com\n"

l_.str.17:                              ; @.str.17
	.asciz	"* Uses GPIO %s for IR raw input\n"

l_.str.18:                              ; @.str.18
	.asciz	"40"

l_.str.19:                              ; @.str.19
	.asciz	"0A"

l_.str.20:                              ; @.str.20
	.asciz	"* Uses unused fan feedback input as source of demodulated IR data\n"

l_.str.21:                              ; @.str.21
	.asciz	"* Uses GPIO %s for IR demodulated input\n"

l_.str.22:                              ; @.str.22
	.asciz	"* Uses new style input buffer\n"

	.no_dead_strip	_ene_hw_detect
.subsections_via_symbols
