	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmodio_probe_submodules
_cmodio_probe_submodules:               ## @cmodio_probe_submodules
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_num_modules@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.1:
	movq	8(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%r13d, %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_modules@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %r14
	cmpb	$0, (%r14)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	movq	%r14, %rcx
	callq	_dev_dbg
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_cmodio_setup_subdevice
	incl	%r12d
	movq	_num_modules@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_5
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.9:
	movl	(%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %r9d
	addq	$4, %rdi
	movq	$0, (%rsp)
	xorl	%esi, %esi
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	_mfd_add_devices
	jmp	LBB0_8
LBB0_7:
	movq	8(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_num_modules,4,2                ## @num_modules
	.comm	_modules,8,3                    ## @modules
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"empty"

L_.str.2:                               ## @.str.2
	.asciz	"MODULbus %d: name %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"no MODULbus modules specified, please set the ``modules'' kernel parameter according to your hardware configuration\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_cmodio_probe_submodules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmodio_probe_submodules
_cmodio_probe_submodules:               ; @cmodio_probe_submodules
	.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
	mov	x20, x0
Lloh0:
	adrp	x26, _num_modules@GOTPAGE
Lloh1:
	ldr	x26, [x26, _num_modules@GOTPAGEOFF]
	ldr	w28, [x26]
	cmp	w28, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, #0
	mov	w19, #0
	ldr	x21, [x20, #8]
Lloh2:
	adrp	x27, _modules@GOTPAGE
Lloh3:
	ldr	x27, [x27, _modules@GOTPAGEOFF]
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh6:
	adrp	x24, l_.str.2@PAGE
Lloh7:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x22, w28, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	x25, [x8, x22, lsl #3]
	ldrb	w8, [x25]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	x1, x23
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, #4
	mov	x1, x24
	mov	x2, x22
	mov	x3, x25
	bl	_dev_dbg
	mov	x0, x20
	mov	x1, x25
	mov	x2, x19
	mov	x3, x22
	bl	_cmodio_setup_subdevice
	add	w19, w19, #1
	ldr	w28, [x26]
	b	LBB0_2
LBB0_6:
	cbz	w19, LBB0_8
; %bb.7:
	ldr	w2, [x20]
	ldr	w5, [x21], #4
	mov	x0, x21
	mov	w1, #0
	mov	x3, x19
	mov	x4, #0
	mov	x6, #0
	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
	b	_mfd_add_devices
LBB0_8:
	ldr	x8, [x20, #8]
	add	x0, x8, #4
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	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	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_num_modules,4,2                ; @num_modules
	.comm	_modules,8,3                    ; @modules
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"empty"

l_.str.2:                               ; @.str.2
	.asciz	"MODULbus %d: name %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"no MODULbus modules specified, please set the ``modules'' kernel parameter according to your hardware configuration\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_cmodio_probe_submodules
.subsections_via_symbols
