	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function soft_reset
_soft_reset:                            ## @soft_reset
	.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	_MFGPT_MAX_TIMERS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -48(%rbp)
	movq	_MFGPT_CMP1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_MFGPT_EVENT_RESET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_cs5535_mfgpt_toggle_event
	movq	_MFGPT_CMP2@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_cs5535_mfgpt_toggle_event
	movq	_MFGPT_CMP1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_MFGPT_EVENT_NMI@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_cs5535_mfgpt_toggle_event
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_cs5535_mfgpt_toggle_event
	movl	(%r15), %esi
	movq	_MFGPT_EVENT_IRQ@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_cs5535_mfgpt_toggle_event
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_cs5535_mfgpt_toggle_event
	movq	_MFGPT_MAX_TIMERS@GOTPCREL(%rip), %rax
	incl	%ebx
	cmpl	(%rax), %ebx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MFGPT_MAX_TIMERS,4,2           ## @MFGPT_MAX_TIMERS
	.comm	_MFGPT_CMP1,4,2                 ## @MFGPT_CMP1
	.comm	_MFGPT_EVENT_RESET,4,2          ## @MFGPT_EVENT_RESET
	.comm	_MFGPT_CMP2,4,2                 ## @MFGPT_CMP2
	.comm	_MFGPT_EVENT_NMI,4,2            ## @MFGPT_EVENT_NMI
	.comm	_MFGPT_EVENT_IRQ,4,2            ## @MFGPT_EVENT_IRQ
	.no_dead_strip	_soft_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function soft_reset
_soft_reset:                            ; @soft_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x19, _MFGPT_MAX_TIMERS@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MFGPT_MAX_TIMERS@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh2:
	adrp	x21, _MFGPT_CMP1@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MFGPT_CMP1@GOTPAGEOFF]
Lloh4:
	adrp	x22, _MFGPT_EVENT_RESET@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MFGPT_EVENT_RESET@GOTPAGEOFF]
Lloh6:
	adrp	x23, _MFGPT_CMP2@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MFGPT_CMP2@GOTPAGEOFF]
Lloh8:
	adrp	x24, _MFGPT_EVENT_NMI@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MFGPT_EVENT_NMI@GOTPAGEOFF]
Lloh10:
	adrp	x25, _MFGPT_EVENT_IRQ@GOTPAGE
Lloh11:
	ldr	x25, [x25, _MFGPT_EVENT_IRQ@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w20, [sp, #8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x0, sp, #8
	mov	w3, #0
	bl	_cs5535_mfgpt_toggle_event
	ldr	w1, [x23]
	ldr	w2, [x22]
	add	x0, sp, #8
	mov	w3, #0
	bl	_cs5535_mfgpt_toggle_event
	ldr	w1, [x21]
	ldr	w2, [x24]
	add	x0, sp, #8
	mov	w3, #0
	bl	_cs5535_mfgpt_toggle_event
	ldr	w1, [x23]
	ldr	w2, [x24]
	add	x0, sp, #8
	mov	w3, #0
	bl	_cs5535_mfgpt_toggle_event
	ldr	w1, [x21]
	ldr	w2, [x25]
	add	x0, sp, #8
	mov	w3, #0
	bl	_cs5535_mfgpt_toggle_event
	ldr	w1, [x23]
	ldr	w2, [x25]
	add	x0, sp, #8
	mov	w3, #0
	bl	_cs5535_mfgpt_toggle_event
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MFGPT_MAX_TIMERS,4,2           ; @MFGPT_MAX_TIMERS
	.comm	_MFGPT_CMP1,4,2                 ; @MFGPT_CMP1
	.comm	_MFGPT_EVENT_RESET,4,2          ; @MFGPT_EVENT_RESET
	.comm	_MFGPT_CMP2,4,2                 ; @MFGPT_CMP2
	.comm	_MFGPT_EVENT_NMI,4,2            ; @MFGPT_EVENT_NMI
	.comm	_MFGPT_EVENT_IRQ,4,2            ; @MFGPT_EVENT_IRQ
	.no_dead_strip	_soft_reset
.subsections_via_symbols
