	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_config_drive_speed         ## -- Begin function ide_config_drive_speed
	.p2align	4, 0x90
_ide_config_drive_speed:                ## @ide_config_drive_speed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	24(%rdi), %rbx
	movq	8(%rbx), %r15
	movq	(%rdi), %r13
	movl	%esi, %eax
	andl	$248, %eax
	movq	_XFER_PIO_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_ata_id_has_iordy
	testq	%rax, %rax
	je	LBB0_11
LBB0_2:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	callq	_udelay
	movq	%r12, %rdi
	callq	*24(%r15)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_SELECT_MASK
	movl	$1, %edi
	callq	_udelay
	movq	_ATA_NIEN@GOTPCREL(%rip), %rax
	movq	_ATA_DEVCTL_OBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%r15)
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_SETFEATURES_XFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	%r14d, -64(%rbp)
	movq	_IDE_VALID_FEATURE@GOTPCREL(%rip), %rax
	movq	_IDE_VALID_NSECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	*16(%r15)
	movq	_ATA_CMD_SET_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*8(%r15)
	movq	_IDE_DFLAG_NIEN_QUIRK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	je	LBB0_4
## %bb.3:
	movq	_ATA_DEVCTL_OBS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%r15)
LBB0_4:
	movl	20(%r12), %esi
	movq	_ATA_BUSY@GOTPCREL(%rip), %rax
	movq	_ATA_DRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ATA_ERR@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_WAIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movq	%r12, %rdi
	callq	___ide_wait_stat
	movl	%eax, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_SELECT_MASK
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movl	-44(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_ide_dump_status
	jmp	LBB0_29
LBB0_6:
	movq	_XFER_SW_DMA_0@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jle	LBB0_7
## %bb.8:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_ata_id_is_cfa
	movl	$-449, %ecx                     ## imm = 0xFE3F
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_11
LBB0_7:
	movq	_ATA_ID_UDMA_MODES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	andl	$-65281, (%r13,%rax,4)          ## imm = 0xFFFF00FF
	movq	_ATA_ID_MWDMA_MODES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	$-1793, (%r13,%rax,4)           ## imm = 0xF8FF
	movq	_ATA_ID_SWDMA_MODES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	$-1793, (%r13,%rax,4)           ## imm = 0xF8FF
	movq	%r13, %rdi
	callq	_ata_id_is_cfa
	movl	$-3585, %ecx                    ## imm = 0xF1FF
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	_ATA_ID_CFA_MODES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andl	%ecx, (%r13,%rax,4)
LBB0_11:
	movq	_XFER_UDMA_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r14d, %eax
	jle	LBB0_12
## %bb.14:
	movq	%r13, %rdi
	callq	_ata_id_is_cfa
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	_XFER_MW_DMA_3@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jg	LBB0_17
## %bb.16:
	movq	_XFER_MW_DMA_2@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	subl	(%rax), %ecx
	shll	$9, %ecx
LBB0_24:
	movq	_ATA_ID_CFA_MODES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(,%rax,4), %rdx
	addq	%r13, %rdx
	movl	(%r13,%rax,4), %eax
	jmp	LBB0_25
LBB0_12:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movl	$1, %eax
	shll	%cl, %eax
	shll	$8, %eax
	btsl	%ecx, %eax
	movq	_ATA_ID_UDMA_MODES@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_17:
	movq	_XFER_MW_DMA_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r14d, %eax
	jle	LBB0_18
## %bb.19:
	movq	_XFER_SW_DMA_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%r14d, %eax
	jle	LBB0_20
## %bb.21:
	movq	%r13, %rdi
	callq	_ata_id_is_cfa
	testq	%rax, %rax
	je	LBB0_26
## %bb.22:
	movq	_XFER_PIO_5@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jg	LBB0_26
## %bb.23:
	movq	_XFER_PIO_4@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	subl	(%rax), %ecx
	shll	$6, %ecx
	jmp	LBB0_24
LBB0_18:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movl	$1, %eax
	shll	%cl, %eax
	shll	$8, %eax
	btsl	%ecx, %eax
	movq	_ATA_ID_MWDMA_MODES@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_20:
	movl	%r14d, %ecx
	subl	%eax, %ecx
	movl	$1, %eax
	shll	%cl, %eax
	shll	$8, %eax
	btsl	%ecx, %eax
	movq	_ATA_ID_SWDMA_MODES@GOTPCREL(%rip), %rcx
LBB0_13:
	movq	(%rcx), %rcx
	leaq	(,%rcx,4), %rdx
	addq	%r13, %rdx
	movl	(%r13,%rcx,4), %ecx
LBB0_25:
	orl	%eax, %ecx
	movl	%ecx, (%rdx)
LBB0_26:
	cmpl	$0, 12(%r12)
	jne	LBB0_28
## %bb.27:
	movl	%r14d, 12(%r12)
LBB0_28:
	movl	%r14d, 16(%r12)
	xorl	%ebx, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFER_PIO_0,4,2                 ## @XFER_PIO_0
	.comm	_ATA_NIEN,4,2                   ## @ATA_NIEN
	.comm	_ATA_DEVCTL_OBS,4,2             ## @ATA_DEVCTL_OBS
	.comm	_SETFEATURES_XFER,4,2           ## @SETFEATURES_XFER
	.comm	_IDE_VALID_FEATURE,4,2          ## @IDE_VALID_FEATURE
	.comm	_IDE_VALID_NSECT,4,2            ## @IDE_VALID_NSECT
	.comm	_ATA_CMD_SET_FEATURES,4,2       ## @ATA_CMD_SET_FEATURES
	.comm	_IDE_DFLAG_NIEN_QUIRK,4,2       ## @IDE_DFLAG_NIEN_QUIRK
	.comm	_ATA_BUSY,4,2                   ## @ATA_BUSY
	.comm	_ATA_DRQ,4,2                    ## @ATA_DRQ
	.comm	_ATA_ERR,4,2                    ## @ATA_ERR
	.comm	_WAIT_CMD,4,2                   ## @WAIT_CMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set_drive_speed_status"

	.comm	_XFER_SW_DMA_0,4,2              ## @XFER_SW_DMA_0
	.comm	_ATA_ID_UDMA_MODES,8,3          ## @ATA_ID_UDMA_MODES
	.comm	_ATA_ID_MWDMA_MODES,8,3         ## @ATA_ID_MWDMA_MODES
	.comm	_ATA_ID_SWDMA_MODES,8,3         ## @ATA_ID_SWDMA_MODES
	.comm	_ATA_ID_CFA_MODES,8,3           ## @ATA_ID_CFA_MODES
	.comm	_XFER_UDMA_0,4,2                ## @XFER_UDMA_0
	.comm	_XFER_MW_DMA_3,4,2              ## @XFER_MW_DMA_3
	.comm	_XFER_MW_DMA_2,4,2              ## @XFER_MW_DMA_2
	.comm	_XFER_MW_DMA_0,4,2              ## @XFER_MW_DMA_0
	.comm	_XFER_PIO_5,4,2                 ## @XFER_PIO_5
	.comm	_XFER_PIO_4,4,2                 ## @XFER_PIO_4
	.comm	_IDE_DFLAG_USING_DMA,4,2        ## @IDE_DFLAG_USING_DMA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_config_drive_speed         ; -- Begin function ide_config_drive_speed
	.p2align	2
_ide_config_drive_speed:                ; @ide_config_drive_speed
	.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	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	x23, [x22, #8]
	ldr	x21, [x0]
	and	w8, w1, #0xf8
Lloh0:
	adrp	x9, _XFER_PIO_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFER_PIO_0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_ata_id_has_iordy
	cbz	x0, LBB0_12
LBB0_2:
	mov	w0, #1
	bl	_udelay
	ldr	x8, [x23, #24]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	mov	w1, #1
	bl	_SELECT_MASK
	mov	w0, #1
	bl	_udelay
Lloh3:
	adrp	x8, _ATA_NIEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATA_NIEN@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x24, _ATA_DEVCTL_OBS@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ATA_DEVCTL_OBS@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w1, w10, w8
	mov	x0, x22
	blr	x9
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh8:
	adrp	x8, _SETFEATURES_XFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SETFEATURES_XFER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	stp	w20, w8, [sp, #8]
Lloh11:
	adrp	x8, _IDE_VALID_FEATURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDE_VALID_FEATURE@GOTPAGEOFF]
	ldr	x9, [x23, #16]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x10, _IDE_VALID_NSECT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _IDE_VALID_NSECT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w2, w10, w8
	add	x1, sp, #8
	mov	x0, x19
	blr	x9
	ldr	x8, [x23, #8]
Lloh17:
	adrp	x9, _ATA_CMD_SET_FEATURES@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ATA_CMD_SET_FEATURES@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	mov	x0, x22
	blr	x8
	ldr	w8, [x19, #8]
Lloh20:
	adrp	x9, _IDE_DFLAG_NIEN_QUIRK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IDE_DFLAG_NIEN_QUIRK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x23]
	ldr	w1, [x24]
	mov	x0, x22
	blr	x8
LBB0_4:
	ldr	w1, [x19, #20]
Lloh23:
	adrp	x8, _ATA_BUSY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ATA_BUSY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _ATA_DRQ@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ATA_DRQ@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	adrp	x10, _ATA_ERR@GOTPAGE
Lloh30:
	ldr	x10, [x10, _ATA_ERR@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh31:
	ldr	w9, [x10]
	orr	w2, w8, w9
Lloh32:
	adrp	x8, _WAIT_CMD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _WAIT_CMD@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	add	x4, sp, #4
	mov	x0, x19
	bl	___ide_wait_stat
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	bl	_SELECT_MASK
	cbz	w22, LBB0_6
; %bb.5:
	ldr	w2, [sp, #4]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ide_dump_status
	b	LBB0_30
LBB0_6:
Lloh37:
	adrp	x8, _XFER_SW_DMA_0@GOTPAGE
Lloh38:
	ldr	x8, [x8, _XFER_SW_DMA_0@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_ata_id_is_cfa
	cbz	x0, LBB0_12
; %bb.8:
	mov	w8, #-449
	b	LBB0_11
LBB0_9:
Lloh40:
	adrp	x8, _ATA_ID_UDMA_MODES@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ATA_ID_UDMA_MODES@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x21, x8]
	and	w9, w9, #0xffff00ff
	str	w9, [x21, x8]
Lloh43:
	adrp	x8, _ATA_ID_MWDMA_MODES@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ATA_ID_MWDMA_MODES@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x21, x8]
	and	w9, w9, #0xfffff8ff
	str	w9, [x21, x8]
Lloh46:
	adrp	x8, _ATA_ID_SWDMA_MODES@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ATA_ID_SWDMA_MODES@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x21, x8]
	and	w9, w9, #0xfffff8ff
	str	w9, [x21, x8]
	mov	x0, x21
	bl	_ata_id_is_cfa
	cbz	x0, LBB0_12
; %bb.10:
	mov	w8, #-3585
LBB0_11:
Lloh49:
	adrp	x9, _ATA_ID_CFA_MODES@GOTPAGE
Lloh50:
	ldr	x9, [x9, _ATA_ID_CFA_MODES@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	lsl	x9, x9, #2
	ldr	w10, [x21, x9]
	and	w8, w10, w8
	str	w8, [x21, x9]
LBB0_12:
Lloh52:
	adrp	x8, _XFER_UDMA_0@GOTPAGE
Lloh53:
	ldr	x8, [x8, _XFER_UDMA_0@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_17
; %bb.13:
	mov	x0, x21
	bl	_ata_id_is_cfa
	cbz	x0, LBB0_18
; %bb.14:
Lloh55:
	adrp	x8, _XFER_MW_DMA_3@GOTPAGE
Lloh56:
	ldr	x8, [x8, _XFER_MW_DMA_3@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w8, w20
	b.gt	LBB0_18
; %bb.15:
Lloh58:
	adrp	x8, _XFER_MW_DMA_2@GOTPAGE
Lloh59:
	ldr	x8, [x8, _XFER_MW_DMA_2@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	sub	w8, w20, w8
	lsl	w9, w8, #9
LBB0_16:
Lloh61:
	adrp	x8, _ATA_ID_CFA_MODES@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ATA_ID_CFA_MODES@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	add	x10, x21, x8, lsl #2
	ldr	w8, [x10]
	b	LBB0_26
LBB0_17:
	sub	w8, w20, w8
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w8, w8, w8, lsl #8
Lloh64:
	adrp	x9, _ATA_ID_UDMA_MODES@GOTPAGE
Lloh65:
	ldr	x9, [x9, _ATA_ID_UDMA_MODES@GOTPAGEOFF]
	b	LBB0_25
LBB0_18:
Lloh66:
	adrp	x8, _XFER_MW_DMA_0@GOTPAGE
Lloh67:
	ldr	x8, [x8, _XFER_MW_DMA_0@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_23
; %bb.19:
Lloh69:
	adrp	x8, _XFER_SW_DMA_0@GOTPAGE
Lloh70:
	ldr	x8, [x8, _XFER_SW_DMA_0@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	w8, w20
	b.le	LBB0_24
; %bb.20:
	mov	x0, x21
	bl	_ata_id_is_cfa
	cbz	x0, LBB0_27
; %bb.21:
Lloh72:
	adrp	x8, _XFER_PIO_5@GOTPAGE
Lloh73:
	ldr	x8, [x8, _XFER_PIO_5@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	cmp	w8, w20
	b.gt	LBB0_27
; %bb.22:
Lloh75:
	adrp	x8, _XFER_PIO_4@GOTPAGE
Lloh76:
	ldr	x8, [x8, _XFER_PIO_4@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	sub	w8, w20, w8
	lsl	w9, w8, #6
	b	LBB0_16
LBB0_23:
	sub	w8, w20, w8
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w8, w8, w8, lsl #8
Lloh78:
	adrp	x9, _ATA_ID_MWDMA_MODES@GOTPAGE
Lloh79:
	ldr	x9, [x9, _ATA_ID_MWDMA_MODES@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
	sub	w8, w20, w8
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w8, w8, w8, lsl #8
Lloh80:
	adrp	x9, _ATA_ID_SWDMA_MODES@GOTPAGE
Lloh81:
	ldr	x9, [x9, _ATA_ID_SWDMA_MODES@GOTPAGEOFF]
LBB0_25:
	ldr	x9, [x9]
	add	x10, x21, x9, lsl #2
	ldr	w9, [x10]
LBB0_26:
	orr	w8, w8, w9
	str	w8, [x10]
LBB0_27:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_29
; %bb.28:
	str	w20, [x19, #12]
LBB0_29:
	mov	w22, #0
	str	w20, [x19, #16]
LBB0_30:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_XFER_PIO_0,4,2                 ; @XFER_PIO_0
	.comm	_ATA_NIEN,4,2                   ; @ATA_NIEN
	.comm	_ATA_DEVCTL_OBS,4,2             ; @ATA_DEVCTL_OBS
	.comm	_SETFEATURES_XFER,4,2           ; @SETFEATURES_XFER
	.comm	_IDE_VALID_FEATURE,4,2          ; @IDE_VALID_FEATURE
	.comm	_IDE_VALID_NSECT,4,2            ; @IDE_VALID_NSECT
	.comm	_ATA_CMD_SET_FEATURES,4,2       ; @ATA_CMD_SET_FEATURES
	.comm	_IDE_DFLAG_NIEN_QUIRK,4,2       ; @IDE_DFLAG_NIEN_QUIRK
	.comm	_ATA_BUSY,4,2                   ; @ATA_BUSY
	.comm	_ATA_DRQ,4,2                    ; @ATA_DRQ
	.comm	_ATA_ERR,4,2                    ; @ATA_ERR
	.comm	_WAIT_CMD,4,2                   ; @WAIT_CMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set_drive_speed_status"

	.comm	_XFER_SW_DMA_0,4,2              ; @XFER_SW_DMA_0
	.comm	_ATA_ID_UDMA_MODES,8,3          ; @ATA_ID_UDMA_MODES
	.comm	_ATA_ID_MWDMA_MODES,8,3         ; @ATA_ID_MWDMA_MODES
	.comm	_ATA_ID_SWDMA_MODES,8,3         ; @ATA_ID_SWDMA_MODES
	.comm	_ATA_ID_CFA_MODES,8,3           ; @ATA_ID_CFA_MODES
	.comm	_XFER_UDMA_0,4,2                ; @XFER_UDMA_0
	.comm	_XFER_MW_DMA_3,4,2              ; @XFER_MW_DMA_3
	.comm	_XFER_MW_DMA_2,4,2              ; @XFER_MW_DMA_2
	.comm	_XFER_MW_DMA_0,4,2              ; @XFER_MW_DMA_0
	.comm	_XFER_PIO_5,4,2                 ; @XFER_PIO_5
	.comm	_XFER_PIO_4,4,2                 ; @XFER_PIO_4
	.comm	_IDE_DFLAG_USING_DMA,4,2        ; @IDE_DFLAG_USING_DMA
.subsections_via_symbols
