	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsdfec_stop
_xsdfec_stop:                           ## @xsdfec_stop
	.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	(%rdi), %rax
	movq	_XSDFEC_STARTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_2:
	movq	_XSDFEC_AXIS_ENABLE_ADDR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_xsdfec_regread
	movq	_XSDFEC_AXIS_IN_ENABLE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_xsdfec_regwrite
	movq	_XSDFEC_STOPPED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XSDFEC_STARTED,8,3             ## @XSDFEC_STARTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device not started correctly"

	.comm	_XSDFEC_AXIS_ENABLE_ADDR,4,2    ## @XSDFEC_AXIS_ENABLE_ADDR
	.comm	_XSDFEC_AXIS_IN_ENABLE_MASK,4,2 ## @XSDFEC_AXIS_IN_ENABLE_MASK
	.comm	_XSDFEC_STOPPED,8,3             ## @XSDFEC_STOPPED
	.no_dead_strip	_xsdfec_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsdfec_stop
_xsdfec_stop:                           ; @xsdfec_stop
	.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]
Lloh0:
	adrp	x9, _XSDFEC_STARTED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XSDFEC_STARTED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_2:
Lloh5:
	adrp	x20, _XSDFEC_AXIS_ENABLE_ADDR@GOTPAGE
Lloh6:
	ldr	x20, [x20, _XSDFEC_AXIS_ENABLE_ADDR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_xsdfec_regread
Lloh7:
	adrp	x8, _XSDFEC_AXIS_IN_ENABLE_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XSDFEC_AXIS_IN_ENABLE_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_xsdfec_regwrite
Lloh10:
	adrp	x8, _XSDFEC_STOPPED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XSDFEC_STOPPED@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XSDFEC_STARTED,8,3             ; @XSDFEC_STARTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device not started correctly"

	.comm	_XSDFEC_AXIS_ENABLE_ADDR,4,2    ; @XSDFEC_AXIS_ENABLE_ADDR
	.comm	_XSDFEC_AXIS_IN_ENABLE_MASK,4,2 ; @XSDFEC_AXIS_IN_ENABLE_MASK
	.comm	_XSDFEC_STOPPED,8,3             ; @XSDFEC_STOPPED
	.no_dead_strip	_xsdfec_stop
.subsections_via_symbols
