	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsc_port_intr
_vsc_port_intr:                         ## @vsc_port_intr
	.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	%rsi, %r12
	movl	%edi, %ebx
	movq	_VSC_SATA_INT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	%ebx, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movl	%ebx, %edi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vsc_error_intr                 ## TAILCALL
LBB0_1:
	movl	8(%r12), %esi
	movq	%r12, %rdi
	callq	_ata_qc_from_tag
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	_ATA_TFLAG_POLLING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ata_sff_host_intr
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_4:
	movl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	(%r12), %rax
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VSC_SATA_INT_ERROR,4,2         ## @VSC_SATA_INT_ERROR
	.comm	_ATA_TFLAG_POLLING,4,2          ## @ATA_TFLAG_POLLING
	.no_dead_strip	_vsc_port_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsc_port_intr
_vsc_port_intr:                         ; @vsc_port_intr
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _VSC_SATA_INT_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VSC_SATA_INT_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_vsc_error_intr
LBB0_2:
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	_ata_qc_from_tag
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _ATA_TFLAG_POLLING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATA_TFLAG_POLLING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_ata_sff_host_intr
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_7:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VSC_SATA_INT_ERROR,4,2         ; @VSC_SATA_INT_ERROR
	.comm	_ATA_TFLAG_POLLING,4,2          ; @ATA_TFLAG_POLLING
	.no_dead_strip	_vsc_port_intr
.subsections_via_symbols
