	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_scsi_timed_out             ## -- Begin function ata_scsi_timed_out
	.p2align	4, 0x90
_ata_scsi_timed_out:                    ## @ata_scsi_timed_out
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	callq	_ata_shost_to_port
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINTK
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_BLK_EH_NOT_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_BLK_EH_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r15), %edi
	callq	_spin_lock_irqsave
	movl	4(%r15), %esi
	movq	%r15, %rdi
	callq	_ata_qc_from_tag
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpq	%r14, 8(%rax)
	setne	%dil
	callq	_WARN_ON
	movq	_ATA_QCFLAG_EH_SCHEDULED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r12)
	movq	_AC_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_BLK_EH_NOT_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	(%r15), %edi
	callq	_spin_unlock_irqrestore
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_DPRINTK
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ENTER\n"

	.comm	_BLK_EH_NOT_HANDLED,4,2         ## @BLK_EH_NOT_HANDLED
	.comm	_BLK_EH_HANDLED,4,2             ## @BLK_EH_HANDLED
	.comm	_ATA_QCFLAG_EH_SCHEDULED,4,2    ## @ATA_QCFLAG_EH_SCHEDULED
	.comm	_AC_ERR_TIMEOUT,4,2             ## @AC_ERR_TIMEOUT
L_.str.1:                               ## @.str.1
	.asciz	"EXIT, ret=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_scsi_timed_out             ; -- Begin function ata_scsi_timed_out
	.p2align	2
_ata_scsi_timed_out:                    ; @ata_scsi_timed_out
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x0, [x8]
	bl	_ata_shost_to_port
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _BLK_EH_NOT_HANDLED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BLK_EH_NOT_HANDLED@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _BLK_EH_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BLK_EH_HANDLED@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	w0, [x19]
	bl	_spin_lock_irqsave
	ldr	w1, [x19, #4]
	mov	x0, x19
	bl	_ata_qc_from_tag
	cbz	x0, LBB0_4
; %bb.3:
	mov	x22, x0
	ldr	x8, [x0, #8]
	cmp	x8, x21
	cset	w0, ne
	bl	_WARN_ON
Lloh8:
	adrp	x8, _ATA_QCFLAG_EH_SCHEDULED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATA_QCFLAG_EH_SCHEDULED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldp	w10, w9, [x22]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _AC_ERR_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AC_ERR_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w9, w10, w9
	stp	w9, w8, [x22]
Lloh14:
	adrp	x8, _BLK_EH_NOT_HANDLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BLK_EH_NOT_HANDLED@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
LBB0_4:
	ldr	w0, [x19]
	bl	_spin_unlock_irqrestore
LBB0_5:
	str	x20, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINTK
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ENTER\n"

	.comm	_BLK_EH_NOT_HANDLED,4,2         ; @BLK_EH_NOT_HANDLED
	.comm	_BLK_EH_HANDLED,4,2             ; @BLK_EH_HANDLED
	.comm	_ATA_QCFLAG_EH_SCHEDULED,4,2    ; @ATA_QCFLAG_EH_SCHEDULED
	.comm	_AC_ERR_TIMEOUT,4,2             ; @AC_ERR_TIMEOUT
l_.str.1:                               ; @.str.1
	.asciz	"EXIT, ret=%d\n"

.subsections_via_symbols
