	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_tf_to_fis                  ## -- Begin function ata_tf_to_fis
	.p2align	4, 0x90
_ata_tf_to_fis:                         ## @ata_tf_to_fis
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	$39, (%rcx)
	andl	$15, %esi
	leal	128(%rsi), %eax
	testl	%edx, %edx
	cmovel	%esi, %eax
	movl	%eax, 4(%rcx)
	movl	(%rdi), %eax
	movl	%eax, 8(%rcx)
	movl	4(%rdi), %eax
	movl	%eax, 12(%rcx)
	movl	8(%rdi), %eax
	movl	%eax, 16(%rcx)
	movl	12(%rdi), %eax
	movl	%eax, 20(%rcx)
	movl	16(%rdi), %eax
	movl	%eax, 24(%rcx)
	movl	20(%rdi), %eax
	movl	%eax, 28(%rcx)
	movl	24(%rdi), %eax
	movl	%eax, 32(%rcx)
	movl	28(%rdi), %eax
	movl	%eax, 36(%rcx)
	movl	32(%rdi), %eax
	movl	%eax, 40(%rcx)
	movl	36(%rdi), %eax
	movl	%eax, 44(%rcx)
	movl	40(%rdi), %eax
	movl	%eax, 48(%rcx)
	movl	44(%rdi), %eax
	movl	%eax, 52(%rcx)
	movl	$0, 56(%rcx)
	movl	48(%rdi), %eax
	movl	%eax, 60(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_tf_to_fis                  ; -- Begin function ata_tf_to_fis
	.p2align	2
_ata_tf_to_fis:                         ; @ata_tf_to_fis
	.cfi_startproc
; %bb.0:
	mov	w8, #39
	mov	w9, #128
	bfxil	w9, w1, #0, #4
	and	w10, w1, #0xf
	cmp	w2, #0
	csel	w9, w10, w9, eq
	stp	w8, w9, [x3]
	ldr	w8, [x0]
	str	w8, [x3, #8]
	ldr	w8, [x0, #4]
	str	w8, [x3, #12]
	ldr	w8, [x0, #8]
	str	w8, [x3, #16]
	ldr	w8, [x0, #12]
	str	w8, [x3, #20]
	ldr	w8, [x0, #16]
	str	w8, [x3, #24]
	ldr	w8, [x0, #20]
	str	w8, [x3, #28]
	ldr	w8, [x0, #24]
	str	w8, [x3, #32]
	ldr	w8, [x0, #28]
	str	w8, [x3, #36]
	ldr	w8, [x0, #32]
	str	w8, [x3, #40]
	ldr	w8, [x0, #36]
	str	w8, [x3, #44]
	ldr	w8, [x0, #40]
	str	w8, [x3, #48]
	ldr	w8, [x0, #44]
	stp	w8, wzr, [x3, #52]
	ldr	w8, [x0, #48]
	str	w8, [x3, #60]
	stp	xzr, xzr, [x3, #64]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
