	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DAC960_V1_SetDeviceState
_DAC960_V1_SetDeviceState:              ## @DAC960_V1_SetDeviceState
	.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	%r9, %r14
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_DAC960_V1_StartDevice@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rsi)
	movb	%r13b, 8(%rsi)
	movb	%r12b, 9(%rsi)
	movl	%r8d, 24(%rsi)
	movq	$0, 16(%rsi)
	movq	%rsi, %rdi
	callq	_DAC960_ExecuteCommand
	movl	(%rbx), %r9d
	leal	-128(%r9), %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movzbl	%r13b, %ecx
	movzbl	%r12b, %r8d
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_8:
	movzbl	%r13b, %ecx
	movzbl	%r12b, %r8d
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DAC960_UserCritical            ## TAILCALL
LBB0_2:
	movzbl	%r13b, %ecx
	movzbl	%r12b, %r8d
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_5:
	movzbl	%r13b, %ecx
	movzbl	%r12b, %r8d
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_6:
	movzbl	%r13b, %ecx
	movzbl	%r12b, %r8d
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	movzbl	%r13b, %ecx
	movzbl	%r12b, %r8d
	leaq	L_.str.4(%rip), %rdi
LBB0_3:
	movq	%r15, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DAC960_UserCritical            ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_DAC960_V1_StartDevice,4,2      ## @DAC960_V1_StartDevice
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s of Physical Device %d:%d Succeeded\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s of Physical Device %d:%d Failed - Unable to Start Device\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s of Physical Device %d:%d Failed - No Device at Address\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s of Physical Device %d:%d Failed - Invalid Channel or Target or Modifier\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s of Physical Device %d:%d Failed - Channel Busy\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s of Physical Device %d:%d Failed - Unexpected Status %04X\n"

	.no_dead_strip	_DAC960_V1_SetDeviceState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DAC960_V1_SetDeviceState
_DAC960_V1_SetDeviceState:              ; @DAC960_V1_SetDeviceState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x5
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _DAC960_V1_StartDevice@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAC960_V1_StartDevice@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	strb	w2, [x1, #8]
	strb	w3, [x1, #9]
	stp	w4, w8, [x1, #24]
	str	xzr, [x1, #16]
	mov	x0, x1
	bl	_DAC960_ExecuteCommand
	ldr	w8, [x23]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_3:
Lloh7:
	adrp	x0, l_.str.5@PAGE
Lloh8:
	add	x0, x0, l_.str.5@PAGEOFF
	str	x8, [sp]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_DAC960_UserCritical
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_8:
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_DAC960_UserCritical
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_DAC960_V1_StartDevice,4,2      ; @DAC960_V1_StartDevice
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s of Physical Device %d:%d Succeeded\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s of Physical Device %d:%d Failed - Unable to Start Device\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s of Physical Device %d:%d Failed - No Device at Address\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s of Physical Device %d:%d Failed - Invalid Channel or Target or Modifier\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s of Physical Device %d:%d Failed - Channel Busy\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s of Physical Device %d:%d Failed - Unexpected Status %04X\n"

	.no_dead_strip	_DAC960_V1_SetDeviceState
.subsections_via_symbols
