	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ata_eh_set_pending
_ata_eh_set_pending:                    ## @ata_eh_set_pending
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	movq	_ATA_PFLAG_EH_PENDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	orl	%eax, %ecx
	movl	%ecx, (%rdi)
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ata_eh_nr_in_flight
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, 4(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ATA_EH_FASTDRAIN_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ata_deadline
	movl	%eax, 8(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_add_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_PFLAG_EH_PENDING,4,2       ## @ATA_PFLAG_EH_PENDING
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_ATA_EH_FASTDRAIN_INTERVAL,4,2  ## @ATA_EH_FASTDRAIN_INTERVAL
	.no_dead_strip	_ata_eh_set_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ata_eh_set_pending
_ata_eh_set_pending:                    ; @ata_eh_set_pending
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ATA_PFLAG_EH_PENDING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_PFLAG_EH_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	orr	w8, w9, w8
	str	w8, [x0]
	cbz	w1, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_ata_eh_nr_in_flight
	cbz	w0, LBB0_1
; %bb.4:
	str	w0, [x19, #4]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ATA_EH_FASTDRAIN_INTERVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATA_EH_FASTDRAIN_INTERVAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_ata_deadline
	str	w0, [x19, #8]!
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_add_timer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_PFLAG_EH_PENDING,4,2       ; @ATA_PFLAG_EH_PENDING
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_ATA_EH_FASTDRAIN_INTERVAL,4,2  ; @ATA_EH_FASTDRAIN_INTERVAL
	.no_dead_strip	_ata_eh_set_pending
.subsections_via_symbols
