	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltq_mei_probe
_ltq_mei_probe:                         ## @ltq_mei_probe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_bsp_mei_version@GOTPCREL(%rip), %rax
	movl	8(%rax), %esi
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_BSP_MAX_DEVICES@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_IFX_MEI_InitDevice
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_IFX_MEI_InitDevNode
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_5:
	movq	_DSL_BSP_CB_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	js	LBB0_13
## %bb.6:
	leaq	1(%rcx), %rdx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_8
## %bb.7:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_IFX_MEI_EMSG
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_8:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	movq	_dsl_bsp_event_callback@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdi
	movq	$0, (%rdi,%rcx,8)
	movq	(%rsi), %rdi
	movq	$0, 8(%rdi,%rcx,8)
	movq	(%rsi), %rdi
	movq	$0, 16(%rdi,%rcx,8)
	movq	(%rsi), %rdi
	movq	$0, 24(%rdi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_9
LBB0_10:
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_dsl_bsp_event_callback@GOTPCREL(%rip), %rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rsi
	movq	$0, (%rsi,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_12
LBB0_13:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %r14
	movq	%r14, %rsi
	callq	_class_create
	movq	%rax, %r15
	movq	%rax, _ltq_mei_probe.dsl_class(%rip)
	movq	_MEI_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_MKDEV
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_device_create
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ltq_mei_probe.dsl_class,8,3 ## @ltq_mei_probe.dsl_class
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IFX MEI Version %ld.%02ld.%02ld\n"

	.comm	_bsp_mei_version,12,2           ## @bsp_mei_version
	.comm	_BSP_MAX_DEVICES,4,2            ## @BSP_MAX_DEVICES
L_.str.1:                               ## @.str.1
	.asciz	"Init device fail!\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_DSL_BSP_CB_LAST,4,2            ## @DSL_BSP_CB_LAST
	.comm	_dsl_bsp_event_callback,8,3     ## @dsl_bsp_event_callback
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.2:                               ## @.str.2
	.asciz	"ifx_mei"

	.comm	_MEI_MAJOR,4,2                  ## @MEI_MAJOR
	.no_dead_strip	_ltq_mei_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltq_mei_probe
_ltq_mei_probe:                         ; @ltq_mei_probe
	.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
Lloh0:
	adrp	x8, _bsp_mei_version@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bsp_mei_version@GOTPAGEOFF]
	ldp	w2, w1, [x8, #4]
	ldr	w3, [x8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh4:
	adrp	x20, _BSP_MAX_DEVICES@GOTPAGE
Lloh5:
	ldr	x20, [x20, _BSP_MAX_DEVICES@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_IFX_MEI_InitDevice
	cbnz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_IFX_MEI_InitDevNode
	add	w19, w19, #1
	ldr	w8, [x20]
	cmp	w19, w8
	b.lt	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _DSL_BSP_CB_LAST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DSL_BSP_CB_LAST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	tbnz	w9, #31, LBB0_7
; %bb.5:
	mov	x8, #0
	lsl	x9, x9, #3
	add	x9, x9, #8
Lloh9:
	adrp	x10, _dsl_bsp_event_callback@GOTPAGE
Lloh10:
	ldr	x10, [x10, _dsl_bsp_event_callback@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	str	xzr, [x11, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_6
LBB0_7:
Lloh11:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x19, l_.str.2@PAGE
Lloh15:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_class_create
	mov	x20, x0
Lloh16:
	adrp	x8, _ltq_mei_probe.dsl_class@PAGE
	str	x0, [x8, _ltq_mei_probe.dsl_class@PAGEOFF]
Lloh17:
	adrp	x8, _MEI_MAJOR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MEI_MAJOR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MKDEV
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, #0
	mov	x4, x19
	bl	_device_create
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IFX_MEI_EMSG
Lloh22:
	adrp	x8, _EIO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ltq_mei_probe.dsl_class,8,3 ; @ltq_mei_probe.dsl_class
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IFX MEI Version %ld.%02ld.%02ld\n"

	.comm	_bsp_mei_version,12,2           ; @bsp_mei_version
	.comm	_BSP_MAX_DEVICES,4,2            ; @BSP_MAX_DEVICES
l_.str.1:                               ; @.str.1
	.asciz	"Init device fail!\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_DSL_BSP_CB_LAST,4,2            ; @DSL_BSP_CB_LAST
	.comm	_dsl_bsp_event_callback,8,3     ; @dsl_bsp_event_callback
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.2:                               ; @.str.2
	.asciz	"ifx_mei"

	.comm	_MEI_MAJOR,4,2                  ; @MEI_MAJOR
	.no_dead_strip	_ltq_mei_probe
.subsections_via_symbols
