	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DAC960_V2_TranslatePhysicalDevice
_DAC960_V2_TranslatePhysicalDevice:     ## @DAC960_V2_TranslatePhysicalDevice
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	48(%rdi), %r14
	leaq	8(%rdi), %r15
	leaq	-88(%rbp), %rdi
	movq	%r15, %rsi
	movl	$40, %edx
	callq	_memcpy
	movq	_DAC960_V2_IOCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 36(%rbx)
	movl	$4, 24(%rbx)
	movb	%r13b, 32(%rbx)
	movb	%r12b, 33(%rbx)
	movq	_DAC960_V2_TranslatePhysicalToLogicalDevice@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	8(%r14), %eax
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	movl	8(%rbx), %eax
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_DAC960_ExecuteCommand
	movq	(%r14), %rax
	movzwl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movw	%ax, (%rcx)
	movq	%r15, %rdi
	leaq	-88(%rbp), %rsi
	movl	$40, %edx
	callq	_memcpy
	movq	(%rbx), %rcx
	movq	_DAC960_V2_NormalCompletion@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DAC960_V2_IOCTL,4,2            ## @DAC960_V2_IOCTL
	.comm	_DAC960_V2_TranslatePhysicalToLogicalDevice,4,2 ## @DAC960_V2_TranslatePhysicalToLogicalDevice
	.comm	_DAC960_V2_NormalCompletion,8,3 ## @DAC960_V2_NormalCompletion
	.no_dead_strip	_DAC960_V2_TranslatePhysicalDevice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DAC960_V2_TranslatePhysicalDevice
_DAC960_V2_TranslatePhysicalDevice:     ; @DAC960_V2_TranslatePhysicalDevice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x24, [x0, #48]
	add	x23, x0, #8
	add	x0, sp, #8
	mov	x1, x23
	mov	w2, #40
	bl	_memcpy
Lloh0:
	adrp	x8, _DAC960_V2_IOCTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAC960_V2_IOCTL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22, #44]
	movi.2s	v0, #1
	stur	d0, [x22, #36]
	mov	w8, #4
	strb	w20, [x22, #32]
	strb	w21, [x22, #33]
Lloh3:
	adrp	x9, _DAC960_V2_TranslatePhysicalToLogicalDevice@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DAC960_V2_TranslatePhysicalToLogicalDevice@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [x22, #24]
	ldr	w8, [x24, #8]
	ldr	x9, [x22, #16]
	str	w8, [x9, #4]
	ldr	w8, [x22, #8]
	str	w8, [x9]
	mov	x0, x22
	bl	_DAC960_ExecuteCommand
	ldr	x8, [x24]
	ldrh	w8, [x8]
	strh	w8, [x19]
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #40
	bl	_memcpy
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _DAC960_V2_NormalCompletion@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DAC960_V2_NormalCompletion@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DAC960_V2_IOCTL,4,2            ; @DAC960_V2_IOCTL
	.comm	_DAC960_V2_TranslatePhysicalToLogicalDevice,4,2 ; @DAC960_V2_TranslatePhysicalToLogicalDevice
	.comm	_DAC960_V2_NormalCompletion,8,3 ; @DAC960_V2_NormalCompletion
	.no_dead_strip	_DAC960_V2_TranslatePhysicalDevice
.subsections_via_symbols
