	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dummy_stm_init
_dummy_stm_init:                        ## @dummy_stm_init
	.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
	xorl	%r14d, %r14d
	movq	_nr_dummies@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movq	_DUMMY_STM_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_6
## %bb.2:
	movq	_master_min@GOTPCREL(%rip), %rdx
	movq	_master_max@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rdx)
	jg	LBB0_5
## %bb.3:
	movq	_STP_MASTER_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_5
## %bb.4:
	movq	_nr_channels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_STP_CHANNEL_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jle	LBB0_9
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_kasprintf
	movq	_dummy_stm@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_19
## %bb.11:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	_master_min@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%r15), %rsi
	movq	%rax, 32(%rcx,%r15)
	movq	_master_max@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rcx,%r15)
	movq	_nr_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rcx,%r15)
	movq	_dummy_stm_packet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx,%r15)
	movq	_dummy_stm_link@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx,%r15)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_stm_register_device
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_kasprintf
	movq	(%r13), %rcx
	movl	%eax, 40(%rcx,%r15)
	addq	$40, %r15
	testl	%eax, %eax
	jne	LBB0_12
## %bb.15:
	xorl	%r14d, %r14d
	jmp	LBB0_19
LBB0_16:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_17:
	movl	%eax, %r14d
	jmp	LBB0_21
LBB0_19:
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.20:
	decl	%ebx
	leaq	(%rbx,%rbx,4), %rdi
	shlq	$3, %rdi
	addq	(%r13), %rdi
	callq	_stm_unregister_device
LBB0_21:
	movq	(%r13), %rax
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movl	(%rax,%rcx,8), %edi
	callq	_kfree
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_nr_dummies,4,2                 ## @nr_dummies
	.comm	_DUMMY_STM_MAX,4,2              ## @DUMMY_STM_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_master_min,8,3                 ## @master_min
	.comm	_master_max,8,3                 ## @master_max
	.comm	_STP_MASTER_MAX,8,3             ## @STP_MASTER_MAX
	.comm	_nr_channels,8,3                ## @nr_channels
	.comm	_STP_CHANNEL_MAX,8,3            ## @STP_CHANNEL_MAX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dummy_stm.%d"

	.comm	_dummy_stm,8,3                  ## @dummy_stm
	.comm	_dummy_stm_packet,4,2           ## @dummy_stm_packet
	.comm	_dummy_stm_link,4,2             ## @dummy_stm_link
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_dummy_stm_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dummy_stm_init
_dummy_stm_init:                        ; @dummy_stm_init
	.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	x23, _nr_dummies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _nr_dummies@GOTPAGEOFF]
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_4
; %bb.1:
Lloh2:
	adrp	x9, _DUMMY_STM_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DUMMY_STM_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_4
; %bb.2:
Lloh5:
	adrp	x24, _master_min@GOTPAGE
Lloh6:
	ldr	x24, [x24, _master_min@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh7:
	adrp	x25, _master_max@GOTPAGE
Lloh8:
	ldr	x25, [x25, _master_max@GOTPAGEOFF]
	ldr	x10, [x25]
Lloh9:
	adrp	x11, _STP_MASTER_MAX@GOTPAGE
Lloh10:
	ldr	x11, [x11, _STP_MASTER_MAX@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x10, x11, #0, le
	b.gt	LBB0_4
; %bb.3:
Lloh12:
	adrp	x26, _nr_channels@GOTPAGE
Lloh13:
	ldr	x26, [x26, _nr_channels@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh14:
	adrp	x10, _STP_CHANNEL_MAX@GOTPAGE
Lloh15:
	ldr	x10, [x10, _STP_CHANNEL_MAX@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_6
LBB0_4:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	mov	x0, x20
	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
LBB0_6:
	cbz	w8, LBB0_13
; %bb.7:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
Lloh23:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_kasprintf
Lloh28:
	adrp	x22, _dummy_stm@GOTPAGE
Lloh29:
	ldr	x22, [x22, _dummy_stm@GOTPAGEOFF]
	ldr	x8, [x22]
	str	w0, [x8]
	cbz	w0, LBB0_14
; %bb.8:
	mov	x19, #0
	mov	w28, #40
Lloh30:
	adrp	x21, _dummy_stm_link@GOTPAGE
Lloh31:
	ldr	x21, [x21, _dummy_stm_link@GOTPAGEOFF]
Lloh32:
	adrp	x27, _THIS_MODULE@GOTPAGE
Lloh33:
	ldr	x27, [x27, _THIS_MODULE@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	add	x8, x8, x28
	stur	x9, [x8, #-8]
	ldr	x9, [x25]
	stur	x9, [x8, #-16]
	ldr	x9, [x26]
	stur	x9, [x8, #-24]
Lloh34:
	adrp	x9, _dummy_stm_packet@GOTPAGE
Lloh35:
	ldr	x9, [x9, _dummy_stm_packet@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stur	w9, [x8, #-32]
	ldr	w9, [x21]
	stur	w9, [x8, #-36]
	sub	x1, x8, #40
	ldr	w2, [x27]
	mov	x0, #0
	bl	_stm_register_device
	cbnz	w0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x23]
	cmp	x19, x8
	b.ge	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh37:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_kasprintf
	ldr	x8, [x22]
	str	w0, [x8, x28]
	add	x28, x28, #40
	cbnz	w0, LBB0_9
; %bb.12:
	mov	w20, #0
	b	LBB0_16
LBB0_13:
	mov	w20, #0
	b	LBB0_5
LBB0_14:
	mov	w19, #0
	neg	w20, w20
	b	LBB0_16
LBB0_15:
	mov	x20, x0
	b	LBB0_18
LBB0_16:
	subs	w19, w19, #1
	b.lt	LBB0_5
; %bb.17:
	ldr	x8, [x22]
	mov	w9, #40
	umaddl	x0, w19, w9, x8
	bl	_stm_unregister_device
LBB0_18:
	ldr	x8, [x22]
	mov	w9, #40
	smull	x9, w19, w9
	ldr	w0, [x8, x9]
	bl	_kfree
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_nr_dummies,4,2                 ; @nr_dummies
	.comm	_DUMMY_STM_MAX,4,2              ; @DUMMY_STM_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_master_min,8,3                 ; @master_min
	.comm	_master_max,8,3                 ; @master_max
	.comm	_STP_MASTER_MAX,8,3             ; @STP_MASTER_MAX
	.comm	_nr_channels,8,3                ; @nr_channels
	.comm	_STP_CHANNEL_MAX,8,3            ; @STP_CHANNEL_MAX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dummy_stm.%d"

	.comm	_dummy_stm,8,3                  ; @dummy_stm
	.comm	_dummy_stm_packet,4,2           ; @dummy_stm_packet
	.comm	_dummy_stm_link,4,2             ; @dummy_stm_link
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_dummy_stm_init
.subsections_via_symbols
