	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcd_soft_reset                 ## -- Begin function pcd_soft_reset
	.p2align	4, 0x90
_pcd_soft_reset:                        ## @pcd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_EL_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elprintf
	movq	_Pico_mcd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	$0, 8(%rax)
	xorl	%eax, %eax
	callq	_cdc_reset
	xorl	%eax, %eax
	callq	_cdd_reset
	movq	(%rbx), %rax
	movl	$224, %edi
	addq	(%rax), %rdi
	xorl	%esi, %esi
	movl	$9, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	$15, 260(%rax)
	movq	_PCD_EVENT_CDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$166666, %esi                   ## imm = 0x28B0A
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pcd_event_schedule_s68k        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EL_CD,4,2                      ## @EL_CD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cd: soft reset"

	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_PCD_EVENT_CDC,4,2              ## @PCD_EVENT_CDC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcd_soft_reset                 ; -- Begin function pcd_soft_reset
	.p2align	2
_pcd_soft_reset:                        ; @pcd_soft_reset
	.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, _EL_CD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL_CD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elprintf
Lloh5:
	adrp	x19, _Pico_mcd@GOTPAGE
Lloh6:
	ldr	x19, [x19, _Pico_mcd@GOTPAGEOFF]
	ldr	x8, [x19]
	str	xzr, [x8, #8]
	bl	_cdc_reset
	bl	_cdd_reset
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #224
	mov	w1, #0
	mov	w2, #9
	bl	_memset
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	w9, #15
	str	w9, [x8, #260]
Lloh7:
	adrp	x8, _PCD_EVENT_CDC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCD_EVENT_CDC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #35594
	movk	w1, #2, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pcd_event_schedule_s68k
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EL_CD,4,2                      ; @EL_CD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cd: soft reset"

	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_PCD_EVENT_CDC,4,2              ; @PCD_EVENT_CDC
.subsections_via_symbols
