	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elan_get_fwinfo
_elan_get_fwinfo:                       ## @elan_get_fwinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$17, %edi
	jae	LBB0_1
## %bb.2:
	movl	$98249, %eax                    ## imm = 0x17FC9
	btl	%edi, %eax
	jb	LBB0_3
LBB0_1:
	movl	$0, (%rsi)
	movl	$0, (%rdx)
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	movslq	%edi, %rax
	leaq	l_switch.table.elan_get_fwinfo(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rsi)
	movq	_ETP_FW_PAGE_SIZE@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	_ETP_FW_SIGNATURE_SIZE@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	movl	%eax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_ETP_FW_PAGE_SIZE,4,2           ## @ETP_FW_PAGE_SIZE
	.comm	_ETP_FW_SIGNATURE_SIZE,4,2      ## @ETP_FW_SIGNATURE_SIZE
	.no_dead_strip	_elan_get_fwinfo
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.elan_get_fwinfo
l_switch.table.elan_get_fwinfo:
	.long	512                             ## 0x200
	.long	512                             ## 0x200
	.long	512                             ## 0x200
	.long	768                             ## 0x300
	.long	512                             ## 0x200
	.long	512                             ## 0x200
	.long	512                             ## 0x200
	.long	768                             ## 0x300
	.long	512                             ## 0x200
	.long	768                             ## 0x300
	.long	768                             ## 0x300
	.long	768                             ## 0x300
	.long	768                             ## 0x300
	.long	896                             ## 0x380
	.long	640                             ## 0x280
	.long	512                             ## 0x200
	.long	1024                            ## 0x400

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elan_get_fwinfo
_elan_get_fwinfo:                       ; @elan_get_fwinfo
	.cfi_startproc
; %bb.0:
	cmp	w0, #17
	b.hs	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w9, #32713
	movk	w9, #1, lsl #16
	lsr	w9, w9, w0
	tbnz	w9, #0, LBB0_3
LBB0_2:
	str	wzr, [x1]
	str	wzr, [x2]
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
	mov	w0, #0
Lloh3:
	adrp	x9, l_switch.table.elan_get_fwinfo@PAGE
Lloh4:
	add	x9, x9, l_switch.table.elan_get_fwinfo@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x1]
Lloh5:
	adrp	x9, _ETP_FW_PAGE_SIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ETP_FW_PAGE_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _ETP_FW_SIGNATURE_SIZE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ETP_FW_SIGNATURE_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	neg	w10, w10
	madd	w8, w9, w8, w10
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_ETP_FW_PAGE_SIZE,4,2           ; @ETP_FW_PAGE_SIZE
	.comm	_ETP_FW_SIGNATURE_SIZE,4,2      ; @ETP_FW_SIGNATURE_SIZE
	.no_dead_strip	_elan_get_fwinfo
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.elan_get_fwinfo
l_switch.table.elan_get_fwinfo:
	.long	512                             ; 0x200
	.long	512                             ; 0x200
	.long	512                             ; 0x200
	.long	768                             ; 0x300
	.long	512                             ; 0x200
	.long	512                             ; 0x200
	.long	512                             ; 0x200
	.long	768                             ; 0x300
	.long	512                             ; 0x200
	.long	768                             ; 0x300
	.long	768                             ; 0x300
	.long	768                             ; 0x300
	.long	768                             ; 0x300
	.long	896                             ; 0x380
	.long	640                             ; 0x280
	.long	512                             ; 0x200
	.long	1024                            ; 0x400

.subsections_via_symbols
