	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_internal_cmd_timeout       ## -- Begin function ata_internal_cmd_timeout
	.p2align	4, 0x90
_ata_internal_cmd_timeout:              ## @ata_internal_cmd_timeout
	.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	8(%rdi), %r14
	movl	%esi, %edi
	callq	_ata_lookup_timeout_table
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%r14), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, %edx
	movslq	(%rcx,%rdx,4), %rax
	movq	_ata_eh_cmd_timeout_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$3, %rax
	addq	(%rcx,%rdx,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ATA_EH_CMD_DFL_TIMEOUT@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_EH_CMD_DFL_TIMEOUT,8,3     ## @ATA_EH_CMD_DFL_TIMEOUT
	.comm	_ata_eh_cmd_timeout_table,8,3   ## @ata_eh_cmd_timeout_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_internal_cmd_timeout       ; -- Begin function ata_internal_cmd_timeout
	.p2align	2
_ata_internal_cmd_timeout:              ; @ata_internal_cmd_timeout
	.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	x20, [x0, #8]
	mov	x0, x1
	bl	_ata_lookup_timeout_table
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldrsw	x8, [x8, w0, uxtw #2]
Lloh0:
	adrp	x9, _ata_eh_cmd_timeout_table@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ata_eh_cmd_timeout_table@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x9, [x9, w0, uxtw #3]
	add	x8, x9, x8, lsl #3
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ATA_EH_CMD_DFL_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATA_EH_CMD_DFL_TIMEOUT@GOTPAGEOFF]
LBB0_3:
	ldr	x0, [x8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_EH_CMD_DFL_TIMEOUT,8,3     ; @ATA_EH_CMD_DFL_TIMEOUT
	.comm	_ata_eh_cmd_timeout_table,8,3   ; @ata_eh_cmd_timeout_table
.subsections_via_symbols
