	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resetW6692
_resetW6692:                            ## @resetW6692
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_W_D_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_W_D_CTL_SRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	*8(%rdi)
	movl	$10, %edi
	callq	_mdelay
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movl	$10, %edi
	callq	_mdelay
	movq	_W_IMASK@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	*8(%rbx)
	movq	_W_D_SAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	*8(%rbx)
	movq	_W_D_TAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$255, %edx
	callq	*8(%rbx)
	movq	_W_D_EXIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movq	_W_D_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_W_D_MODE_RACT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$24, %edx
	callq	*8(%rbx)
	movq	(%rbx), %rax
	movq	_W6692_USR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_W_PCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$128, %edx
	callq	*8(%rbx)
	movq	8(%rbx), %rax
	movq	_W_XDATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_W_D_CTL,4,2                    ## @W_D_CTL
	.comm	_W_D_CTL_SRST,4,2               ## @W_D_CTL_SRST
	.comm	_W_IMASK,4,2                    ## @W_IMASK
	.comm	_W_D_SAM,4,2                    ## @W_D_SAM
	.comm	_W_D_TAM,4,2                    ## @W_D_TAM
	.comm	_W_D_EXIM,4,2                   ## @W_D_EXIM
	.comm	_W_D_MODE,4,2                   ## @W_D_MODE
	.comm	_W_D_MODE_RACT,4,2              ## @W_D_MODE_RACT
	.comm	_W6692_USR,8,3                  ## @W6692_USR
	.comm	_W_PCTL,4,2                     ## @W_PCTL
	.comm	_W_XDATA,4,2                    ## @W_XDATA
	.no_dead_strip	_resetW6692
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resetW6692
_resetW6692:                            ; @resetW6692
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x20, _W_D_CTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _W_D_CTL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x9, _W_D_CTL_SRST@GOTPAGE
Lloh3:
	ldr	x9, [x9, _W_D_CTL_SRST@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x9]
	blr	x8
	mov	w0, #10
	bl	_mdelay
	ldr	x8, [x19, #8]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	mov	w0, #10
	bl	_mdelay
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x20, _W_IMASK@GOTPAGE
Lloh6:
	ldr	x20, [x20, _W_IMASK@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #255
	blr	x8
	ldr	x8, [x19, #8]
Lloh7:
	adrp	x9, _W_D_SAM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _W_D_SAM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #255
	blr	x8
	ldr	x8, [x19, #8]
Lloh10:
	adrp	x9, _W_D_TAM@GOTPAGE
Lloh11:
	ldr	x9, [x9, _W_D_TAM@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #255
	blr	x8
	ldr	x8, [x19, #8]
Lloh13:
	adrp	x9, _W_D_EXIM@GOTPAGE
Lloh14:
	ldr	x9, [x9, _W_D_EXIM@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, _W_D_MODE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _W_D_MODE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
Lloh19:
	adrp	x9, _W_D_MODE_RACT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _W_D_MODE_RACT@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #24
	blr	x8
	ldr	x8, [x19]
Lloh22:
	adrp	x9, _W6692_USR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _W6692_USR@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh25:
	adrp	x9, _W_PCTL@GOTPAGE
Lloh26:
	ldr	x9, [x9, _W_PCTL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #128
	blr	x8
	ldr	x3, [x19, #8]
Lloh28:
	adrp	x8, _W_XDATA@GOTPAGE
Lloh29:
	ldr	x8, [x8, _W_XDATA@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_W_D_CTL,4,2                    ; @W_D_CTL
	.comm	_W_D_CTL_SRST,4,2               ; @W_D_CTL_SRST
	.comm	_W_IMASK,4,2                    ; @W_IMASK
	.comm	_W_D_SAM,4,2                    ; @W_D_SAM
	.comm	_W_D_TAM,4,2                    ; @W_D_TAM
	.comm	_W_D_EXIM,4,2                   ; @W_D_EXIM
	.comm	_W_D_MODE,4,2                   ; @W_D_MODE
	.comm	_W_D_MODE_RACT,4,2              ; @W_D_MODE_RACT
	.comm	_W6692_USR,8,3                  ; @W6692_USR
	.comm	_W_PCTL,4,2                     ; @W_PCTL
	.comm	_W_XDATA,4,2                    ; @W_XDATA
	.no_dead_strip	_resetW6692
.subsections_via_symbols
